Lines Matching refs:data2

1452 	struct mac80211_hwsim_data *data = hw->priv, *data2;  in mac80211_hwsim_tx_frame_no_nl()  local
1517 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1524 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1527 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1528 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1531 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1534 if (data->netgroup != data2->netgroup) in mac80211_hwsim_tx_frame_no_nl()
1537 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1538 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1540 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1570 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1573 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1579 data2->rx_pkts++; in mac80211_hwsim_tx_frame_no_nl()
1580 data2->rx_bytes += nskb->len; in mac80211_hwsim_tx_frame_no_nl()
1581 ieee80211_rx_irqsafe(data2->hw, nskb); in mac80211_hwsim_tx_frame_no_nl()
3565 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
3586 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
3587 if (!data2) in hwsim_tx_info_frame_received_nl()
3592 data2->netgroup) in hwsim_tx_info_frame_received_nl()
3595 if (info->snd_portid != data2->wmediumd) in hwsim_tx_info_frame_received_nl()
3600 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
3607 skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
3639 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
3644 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
3654 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
3684 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
3685 if (!data2) in hwsim_cloned_frame_received_nl()
3688 if (data2->use_chanctx) { in hwsim_cloned_frame_received_nl()
3689 if (data2->tmp_chan) in hwsim_cloned_frame_received_nl()
3690 channel = data2->tmp_chan; in hwsim_cloned_frame_received_nl()
3691 else if (data2->chanctx) in hwsim_cloned_frame_received_nl()
3692 channel = data2->chanctx->def.chan; in hwsim_cloned_frame_received_nl()
3694 channel = data2->channel; in hwsim_cloned_frame_received_nl()
3701 data2->netgroup) in hwsim_cloned_frame_received_nl()
3704 if (info->snd_portid != data2->wmediumd) in hwsim_cloned_frame_received_nl()
3710 if ((data2->idle && !data2->tmp_chan) || !data2->started) in hwsim_cloned_frame_received_nl()
3720 mutex_lock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3724 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3727 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3743 data2->rx_pkts++; in hwsim_cloned_frame_received_nl()
3744 data2->rx_bytes += skb->len; in hwsim_cloned_frame_received_nl()
3745 ieee80211_rx_irqsafe(data2->hw, skb); in hwsim_cloned_frame_received_nl()