Lines Matching full:data2
1380 struct mac80211_hwsim_data *data = hw->priv, *data2; in mac80211_hwsim_tx_frame_no_nl() local
1445 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1452 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1455 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1456 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1459 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1462 if (data->netgroup != data2->netgroup) in mac80211_hwsim_tx_frame_no_nl()
1465 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1466 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1468 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1498 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1501 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1507 data2->rx_pkts++; in mac80211_hwsim_tx_frame_no_nl()
1508 data2->rx_bytes += nskb->len; in mac80211_hwsim_tx_frame_no_nl()
1509 ieee80211_rx_irqsafe(data2->hw, nskb); in mac80211_hwsim_tx_frame_no_nl()
3468 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
3489 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
3490 if (!data2) in hwsim_tx_info_frame_received_nl()
3495 data2->netgroup) in hwsim_tx_info_frame_received_nl()
3498 if (info->snd_portid != data2->wmediumd) in hwsim_tx_info_frame_received_nl()
3503 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
3510 skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
3542 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
3547 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
3557 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
3586 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
3587 if (!data2) in hwsim_cloned_frame_received_nl()
3592 data2->netgroup) in hwsim_cloned_frame_received_nl()
3595 if (info->snd_portid != data2->wmediumd) in hwsim_cloned_frame_received_nl()
3601 if (data2->idle || !data2->started) in hwsim_cloned_frame_received_nl()
3611 mutex_lock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3614 if (rx_status.freq != data2->channel->center_freq && in hwsim_cloned_frame_received_nl()
3615 (!data2->tmp_chan || in hwsim_cloned_frame_received_nl()
3616 rx_status.freq != data2->tmp_chan->center_freq)) { in hwsim_cloned_frame_received_nl()
3617 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3620 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3622 rx_status.freq = data2->channel->center_freq; in hwsim_cloned_frame_received_nl()
3625 rx_status.band = data2->channel->band; in hwsim_cloned_frame_received_nl()
3636 data2->rx_pkts++; in hwsim_cloned_frame_received_nl()
3637 data2->rx_bytes += skb->len; in hwsim_cloned_frame_received_nl()
3638 ieee80211_rx_irqsafe(data2->hw, skb); in hwsim_cloned_frame_received_nl()