Lines Matching refs:txi
1796 struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb); in mac80211_hwsim_tx() local
1813 } else if (txi->hw_queue == 4) { in mac80211_hwsim_tx()
1818 struct ieee80211_vif *vif = txi->control.vif; in mac80211_hwsim_tx()
1824 bss_conf = rcu_dereference(txi->control.vif->link_conf[link]); in mac80211_hwsim_tx()
1865 if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) { in mac80211_hwsim_tx()
1876 if (txi->control.vif) in mac80211_hwsim_tx()
1877 hwsim_check_magic(txi->control.vif); in mac80211_hwsim_tx()
1882 ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, in mac80211_hwsim_tx()
1883 txi->control.rates, in mac80211_hwsim_tx()
1884 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx()
1886 for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) { in mac80211_hwsim_tx()
1887 u16 rflags = txi->control.rates[i].flags; in mac80211_hwsim_tx()
1891 if (txi->control.rates[i].idx == -1) in mac80211_hwsim_tx()
1915 txrate = ieee80211_get_tx_rate(hw, txi); in mac80211_hwsim_tx()
1940 ieee80211_tx_info_clear_status(txi); in mac80211_hwsim_tx()
1943 txi->control.rates[0].count = 1; in mac80211_hwsim_tx()
1944 txi->control.rates[1].idx = -1; in mac80211_hwsim_tx()
1946 if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack) in mac80211_hwsim_tx()
1947 txi->flags |= IEEE80211_TX_STAT_ACK; in mac80211_hwsim_tx()
2040 struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb); in mac80211_hwsim_tx_frame() local
2041 ieee80211_get_tx_rates(txi->control.vif, NULL, skb, in mac80211_hwsim_tx_frame()
2042 txi->control.rates, in mac80211_hwsim_tx_frame()
2043 ARRAY_SIZE(txi->control.rates)); in mac80211_hwsim_tx_frame()
4795 struct ieee80211_tx_info *txi; in hwsim_tx_info_frame_received_nl() local
4834 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
4835 skb_cookie = (uintptr_t)txi->rate_driver_data[0]; in hwsim_tx_info_frame_received_nl()
4856 txi = IEEE80211_SKB_CB(skb); in hwsim_tx_info_frame_received_nl()
4858 ieee80211_tx_info_clear_status(txi); in hwsim_tx_info_frame_received_nl()
4861 txi->status.rates[i].idx = tx_attempts[i].idx; in hwsim_tx_info_frame_received_nl()
4862 txi->status.rates[i].count = tx_attempts[i].count; in hwsim_tx_info_frame_received_nl()
4865 txi->status.ack_signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]); in hwsim_tx_info_frame_received_nl()
4874 txi->flags |= IEEE80211_TX_STAT_ACK; in hwsim_tx_info_frame_received_nl()
4878 txi->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; in hwsim_tx_info_frame_received_nl()