Lines Matching refs:data2

1122 	struct mac80211_hwsim_data *data = hw->priv, *data2;  in mac80211_hwsim_tx_frame_no_nl()  local
1176 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1183 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1186 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1187 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1190 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1193 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1194 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1196 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1226 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1229 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1235 data2->rx_pkts++; in mac80211_hwsim_tx_frame_no_nl()
1236 data2->rx_bytes += nskb->len; in mac80211_hwsim_tx_frame_no_nl()
1237 ieee80211_rx_irqsafe(data2->hw, nskb); in mac80211_hwsim_tx_frame_no_nl()
2711 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
2735 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
2736 if (!data2) in hwsim_tx_info_frame_received_nl()
2740 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
2742 skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
2775 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
2780 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
2790 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
2821 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
2822 if (!data2) in hwsim_cloned_frame_received_nl()
2827 if (data2->idle || !data2->started) in hwsim_cloned_frame_received_nl()
2835 rx_status.freq = data2->channel->center_freq; in hwsim_cloned_frame_received_nl()
2836 rx_status.band = data2->channel->band; in hwsim_cloned_frame_received_nl()
2841 data2->rx_pkts++; in hwsim_cloned_frame_received_nl()
2842 data2->rx_bytes += skb->len; in hwsim_cloned_frame_received_nl()
2843 ieee80211_rx_irqsafe(data2->hw, skb); in hwsim_cloned_frame_received_nl()