Lines Matching full:data2
1390 struct mac80211_hwsim_data *data = hw->priv, *data2; in mac80211_hwsim_tx_frame_no_nl() local
1455 list_for_each_entry(data2, &hwsim_radios, list) { in mac80211_hwsim_tx_frame_no_nl()
1462 if (data == data2) in mac80211_hwsim_tx_frame_no_nl()
1465 if (!data2->started || (data2->idle && !data2->tmp_chan) || in mac80211_hwsim_tx_frame_no_nl()
1466 !hwsim_ps_rx_ok(data2, skb)) in mac80211_hwsim_tx_frame_no_nl()
1469 if (!(data->group & data2->group)) in mac80211_hwsim_tx_frame_no_nl()
1472 if (data->netgroup != data2->netgroup) in mac80211_hwsim_tx_frame_no_nl()
1475 if (!hwsim_chans_compat(chan, data2->tmp_chan) && in mac80211_hwsim_tx_frame_no_nl()
1476 !hwsim_chans_compat(chan, data2->channel)) { in mac80211_hwsim_tx_frame_no_nl()
1478 data2->hw, IEEE80211_IFACE_ITER_NORMAL, in mac80211_hwsim_tx_frame_no_nl()
1508 if (mac80211_hwsim_addr_match(data2, hdr->addr1)) in mac80211_hwsim_tx_frame_no_nl()
1511 rx_status.mactime = now + data2->tsf_offset; in mac80211_hwsim_tx_frame_no_nl()
1517 data2->rx_pkts++; in mac80211_hwsim_tx_frame_no_nl()
1518 data2->rx_bytes += nskb->len; in mac80211_hwsim_tx_frame_no_nl()
1519 ieee80211_rx_irqsafe(data2->hw, nskb); in mac80211_hwsim_tx_frame_no_nl()
3513 struct mac80211_hwsim_data *data2; in hwsim_tx_info_frame_received_nl() local
3535 data2 = get_hwsim_data_ref_from_addr(src); in hwsim_tx_info_frame_received_nl()
3536 if (!data2) in hwsim_tx_info_frame_received_nl()
3541 data2->netgroup) in hwsim_tx_info_frame_received_nl()
3544 if (info->snd_portid != data2->wmediumd) in hwsim_tx_info_frame_received_nl()
3549 spin_lock_irqsave(&data2->pending.lock, flags); in hwsim_tx_info_frame_received_nl()
3550 skb_queue_walk_safe(&data2->pending, skb, tmp) { in hwsim_tx_info_frame_received_nl()
3557 __skb_unlink(skb, &data2->pending); in hwsim_tx_info_frame_received_nl()
3562 spin_unlock_irqrestore(&data2->pending.lock, flags); in hwsim_tx_info_frame_received_nl()
3590 mac80211_hwsim_monitor_ack(data2->channel, in hwsim_tx_info_frame_received_nl()
3599 ieee80211_tx_status_irqsafe(data2->hw, skb); in hwsim_tx_info_frame_received_nl()
3609 struct mac80211_hwsim_data *data2; in hwsim_cloned_frame_received_nl() local
3639 data2 = get_hwsim_data_ref_from_addr(dst); in hwsim_cloned_frame_received_nl()
3640 if (!data2) in hwsim_cloned_frame_received_nl()
3643 if (data2->use_chanctx) { in hwsim_cloned_frame_received_nl()
3644 if (data2->tmp_chan) in hwsim_cloned_frame_received_nl()
3645 channel = data2->tmp_chan; in hwsim_cloned_frame_received_nl()
3646 else if (data2->chanctx) in hwsim_cloned_frame_received_nl()
3647 channel = data2->chanctx->def.chan; in hwsim_cloned_frame_received_nl()
3649 channel = data2->channel; in hwsim_cloned_frame_received_nl()
3656 data2->netgroup) in hwsim_cloned_frame_received_nl()
3659 if (info->snd_portid != data2->wmediumd) in hwsim_cloned_frame_received_nl()
3665 if ((data2->idle && !data2->tmp_chan) || !data2->started) in hwsim_cloned_frame_received_nl()
3675 mutex_lock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3679 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3682 mutex_unlock(&data2->mutex); in hwsim_cloned_frame_received_nl()
3689 if (rx_status.rate_idx >= data2->hw->wiphy->bands[rx_status.band]->n_bitrates) in hwsim_cloned_frame_received_nl()
3700 data2->rx_pkts++; in hwsim_cloned_frame_received_nl()
3701 data2->rx_bytes += skb->len; in hwsim_cloned_frame_received_nl()
3702 ieee80211_rx_irqsafe(data2->hw, skb); in hwsim_cloned_frame_received_nl()