Lines Matching refs:data2
1758 struct mac80211_hwsim_data *data = hw->priv, *data2; in mac80211_hwsim_tx_frame_no_nl() local
1823 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1830 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1833 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1834 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1837 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1840 if (data->netgroup != data2->netgroup) in mac80211_hwsim_tx_frame_no_nl()
1843 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1844 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1846 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1876 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1879 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1881 mac80211_hwsim_rx(data2, &rx_status, nskb); in mac80211_hwsim_tx_frame_no_nl()
5779 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
5801 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
5802 if (!data2) in hwsim_tx_info_frame_received_nl()
5807 data2->netgroup) in hwsim_tx_info_frame_received_nl()
5810 if (info->snd_portid != data2->wmediumd) in hwsim_tx_info_frame_received_nl()
5815 spin_lock_irqsave(&data2->pending.lock, flags); in hwsim_tx_info_frame_received_nl()
5816 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
5823 __skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
5828 spin_unlock_irqrestore(&data2->pending.lock, flags); in hwsim_tx_info_frame_received_nl()
5856 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
5865 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
5875 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
5906 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
5907 if (!data2) in hwsim_cloned_frame_received_nl()
5910 if (data2->use_chanctx) { in hwsim_cloned_frame_received_nl()
5911 if (data2->tmp_chan) in hwsim_cloned_frame_received_nl()
5912 channel = data2->tmp_chan; in hwsim_cloned_frame_received_nl()
5914 channel = data2->channel; in hwsim_cloned_frame_received_nl()
5919 data2->netgroup) in hwsim_cloned_frame_received_nl()
5922 if (info->snd_portid != data2->wmediumd) in hwsim_cloned_frame_received_nl()
5928 if ((data2->idle && !data2->tmp_chan) || !data2->started) in hwsim_cloned_frame_received_nl()
5942 iter_data.channel = ieee80211_get_channel(data2->hw->wiphy, in hwsim_cloned_frame_received_nl()
5948 mutex_lock(&data2->mutex); in hwsim_cloned_frame_received_nl()
5951 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in hwsim_cloned_frame_received_nl()
5954 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
5958 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
5967 if (rx_status.rate_idx >= data2->hw->wiphy->bands[rx_status.band]->n_bitrates) in hwsim_cloned_frame_received_nl()
5977 mac80211_hwsim_rx(data2, &rx_status, skb); in hwsim_cloned_frame_received_nl()