Lines Matching refs:txi
1381 struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb); in mac80211_hwsim_tx() local
1396 } else if (txi->hw_queue == 4) { in mac80211_hwsim_tx()
1399 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1406 if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) { in mac80211_hwsim_tx()
1417 if (txi->control.vif) in mac80211_hwsim_tx()
1418 hwsim_check_magic(txi->control.vif); in mac80211_hwsim_tx()
1423 ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, in mac80211_hwsim_tx()
1424 txi->control.rates, in mac80211_hwsim_tx()
1425 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx()
1435 txrate = ieee80211_get_tx_rate(hw, txi); in mac80211_hwsim_tx()
1458 ieee80211_tx_info_clear_status(txi); in mac80211_hwsim_tx()
1461 txi->control.rates[0].count = 1; in mac80211_hwsim_tx()
1462 txi->control.rates[1].idx = -1; in mac80211_hwsim_tx()
1464 if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack) in mac80211_hwsim_tx()
1465 txi->flags |= IEEE80211_TX_STAT_ACK; in mac80211_hwsim_tx()
1545 struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb); in mac80211_hwsim_tx_frame() local
1546 ieee80211_get_tx_rates(txi->control.vif, NULL, skb, in mac80211_hwsim_tx_frame()
1547 txi->control.rates, in mac80211_hwsim_tx_frame()
1548 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx_frame()
3104 struct ieee80211_tx_info *txi; in hwsim_tx_info_frame_received_nl() local
3138 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
3139 skb_cookie = (u64)(uintptr_t)txi->rate_driver_data[0]; in hwsim_tx_info_frame_received_nl()
3159 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
3161 ieee80211_tx_info_clear_status(txi); in hwsim_tx_info_frame_received_nl()
3164 txi->status.rates[i].idx = tx_attempts[i].idx; in hwsim_tx_info_frame_received_nl()
3165 txi->status.rates[i].count = tx_attempts[i].count; in hwsim_tx_info_frame_received_nl()
3168 txi->status.ack_signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]); in hwsim_tx_info_frame_received_nl()
3177 txi->flags |= IEEE80211_TX_STAT_ACK; in hwsim_tx_info_frame_received_nl()