Lines Matching refs:data2

1243 	struct mac80211_hwsim_data *data = hw->priv, *data2;  in mac80211_hwsim_tx_frame_no_nl()  local
1305 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1312 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1315 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1316 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1319 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1322 if (data->netgroup != data2->netgroup) in mac80211_hwsim_tx_frame_no_nl()
1325 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1326 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1328 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1358 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1361 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1367 data2->rx_pkts++; in mac80211_hwsim_tx_frame_no_nl()
1368 data2->rx_bytes += nskb->len; in mac80211_hwsim_tx_frame_no_nl()
1369 ieee80211_rx_irqsafe(data2->hw, nskb); in mac80211_hwsim_tx_frame_no_nl()
3103 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
3124 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
3125 if (!data2) in hwsim_tx_info_frame_received_nl()
3128 if (hwsim_net_get_netgroup(genl_info_net(info)) != data2->netgroup) in hwsim_tx_info_frame_received_nl()
3131 if (info->snd_portid != data2->wmediumd) in hwsim_tx_info_frame_received_nl()
3135 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
3142 skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
3174 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
3179 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
3189 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
3217 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
3218 if (!data2) in hwsim_cloned_frame_received_nl()
3221 if (hwsim_net_get_netgroup(genl_info_net(info)) != data2->netgroup) in hwsim_cloned_frame_received_nl()
3224 if (info->snd_portid != data2->wmediumd) in hwsim_cloned_frame_received_nl()
3229 if (data2->idle || !data2->started) in hwsim_cloned_frame_received_nl()
3239 mutex_lock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3242 if (rx_status.freq != data2->channel->center_freq && in hwsim_cloned_frame_received_nl()
3243 (!data2->tmp_chan || in hwsim_cloned_frame_received_nl()
3244 rx_status.freq != data2->tmp_chan->center_freq)) { in hwsim_cloned_frame_received_nl()
3245 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3248 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3250 rx_status.freq = data2->channel->center_freq; in hwsim_cloned_frame_received_nl()
3253 rx_status.band = data2->channel->band; in hwsim_cloned_frame_received_nl()
3258 data2->rx_pkts++; in hwsim_cloned_frame_received_nl()
3259 data2->rx_bytes += skb->len; in hwsim_cloned_frame_received_nl()
3260 ieee80211_rx_irqsafe(data2->hw, skb); in hwsim_cloned_frame_received_nl()