Lines Matching refs:txi

1938 	struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb);  in mac80211_hwsim_tx()  local
1955 } else if (txi->hw_queue == 4) { in mac80211_hwsim_tx()
1960 struct ieee80211_vif *vif = txi->control.vif; in mac80211_hwsim_tx()
1966 bss_conf = rcu_dereference(txi->control.vif->link_conf[link]); in mac80211_hwsim_tx()
2014 if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) { in mac80211_hwsim_tx()
2025 if (txi->control.vif) in mac80211_hwsim_tx()
2026 hwsim_check_magic(txi->control.vif); in mac80211_hwsim_tx()
2031 ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, in mac80211_hwsim_tx()
2032 txi->control.rates, in mac80211_hwsim_tx()
2033 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx()
2035 for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) { in mac80211_hwsim_tx()
2036 u16 rflags = txi->control.rates[i].flags; in mac80211_hwsim_tx()
2040 if (txi->control.rates[i].idx == -1) in mac80211_hwsim_tx()
2064 txrate = ieee80211_get_tx_rate(hw, txi); in mac80211_hwsim_tx()
2089 ieee80211_tx_info_clear_status(txi); in mac80211_hwsim_tx()
2092 txi->control.rates[0].count = 1; in mac80211_hwsim_tx()
2093 txi->control.rates[1].idx = -1; in mac80211_hwsim_tx()
2095 if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack) in mac80211_hwsim_tx()
2096 txi->flags |= IEEE80211_TX_STAT_ACK; in mac80211_hwsim_tx()
2202 struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb); in mac80211_hwsim_tx_frame() local
2203 ieee80211_get_tx_rates(txi->control.vif, NULL, skb, in mac80211_hwsim_tx_frame()
2204 txi->control.rates, in mac80211_hwsim_tx_frame()
2205 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx_frame()
5731 struct ieee80211_tx_info *txi; in hwsim_tx_info_frame_received_nl() local
5770 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
5771 skb_cookie = (uintptr_t)txi->rate_driver_data[0]; in hwsim_tx_info_frame_received_nl()
5792 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
5794 ieee80211_tx_info_clear_status(txi); in hwsim_tx_info_frame_received_nl()
5797 txi->status.rates[i].idx = tx_attempts[i].idx; in hwsim_tx_info_frame_received_nl()
5798 txi->status.rates[i].count = tx_attempts[i].count; in hwsim_tx_info_frame_received_nl()
5801 txi->status.ack_signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]); in hwsim_tx_info_frame_received_nl()
5810 txi->flags |= IEEE80211_TX_STAT_ACK; in hwsim_tx_info_frame_received_nl()
5814 txi->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; in hwsim_tx_info_frame_received_nl()