Lines Matching refs:tx_info
142 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in get_frame_info() local
144 sizeof(tx_info->status.status_driver_data)); in get_frame_info()
145 return (struct ath_frame_info *) &tx_info->status.status_driver_data[0]; in get_frame_info()
158 struct ieee80211_tx_info *tx_info) in ath_merge_ratetbl() argument
170 if (tx_info->control.rates[0].idx < 0 || in ath_merge_ratetbl()
171 tx_info->control.rates[0].count == 0) in ath_merge_ratetbl()
175 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl()
182 if (tx_info->control.use_rts) in ath_merge_ratetbl()
184 else if (tx_info->control.use_cts_prot) in ath_merge_ratetbl()
196 struct ieee80211_tx_info *tx_info; in ath_set_rates() local
198 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_set_rates()
200 if (!ath_merge_ratetbl(sta, bf, tx_info)) in ath_set_rates()
488 struct ieee80211_tx_info *tx_info; in ath_tx_complete_aggr() local
504 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
572 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
620 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr()
632 if (tx_info->flags & IEEE80211_TX_STATUS_EOSP) { in ath_tx_complete_aggr()
633 tx_info->flags &= ~IEEE80211_TX_STATUS_EOSP; in ath_tx_complete_aggr()
774 struct ieee80211_tx_info *tx_info; in ath_lookup_legacy() local
779 tx_info = IEEE80211_SKB_CB(skb); in ath_lookup_legacy()
780 rates = tx_info->control.rates; in ath_lookup_legacy()
797 struct ieee80211_tx_info *tx_info; in ath_lookup_rate() local
805 tx_info = IEEE80211_SKB_CB(skb); in ath_lookup_rate()
842 if (tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE || legacy) in ath_lookup_rate()
938 struct ieee80211_tx_info *tx_info; in ath_tx_get_tid_subframe() local
966 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_get_tid_subframe()
967 tx_info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT | in ath_tx_get_tid_subframe()
976 tx_info->flags &= ~IEEE80211_TX_CTL_AMPDU; in ath_tx_get_tid_subframe()
978 if (!(tx_info->flags & IEEE80211_TX_CTL_AMPDU)) { in ath_tx_get_tid_subframe()
1033 struct ieee80211_tx_info *tx_info; in ath_tx_form_aggr() local
1053 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_form_aggr()
1054 if ((tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE) || in ath_tx_form_aggr()
1055 !(tx_info->flags & IEEE80211_TX_CTL_AMPDU)) in ath_tx_form_aggr()
1251 struct ieee80211_tx_info *tx_info; in ath_buf_set_rate() local
1261 tx_info = IEEE80211_SKB_CB(skb); in ath_buf_set_rate()
1313 if (rix < 8 && (tx_info->flags & IEEE80211_TX_CTL_STBC)) in ath_buf_set_rate()
1327 rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; in ath_buf_set_rate()
1328 if ((tx_info->band == NL80211_BAND_2GHZ) && in ath_buf_set_rate()
1404 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_fill_desc() local
1419 if ((tx_info->flags & IEEE80211_TX_CTL_CLEAR_PS_FILT) || in ath_tx_fill_desc()
1423 if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) in ath_tx_fill_desc()
1425 if (tx_info->flags & IEEE80211_TX_CTL_LDPC) in ath_tx_fill_desc()
1489 struct ieee80211_tx_info *tx_info; in ath_tx_form_burst() local
1504 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_form_burst()
1505 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath_tx_form_burst()
1518 struct ieee80211_tx_info *tx_info; in ath_tx_sched_aggr() local
1529 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_sched_aggr()
1530 aggr = !!(tx_info->flags & IEEE80211_TX_CTL_AMPDU); in ath_tx_sched_aggr()
1548 tx_info->flags |= IEEE80211_TX_CTL_CLEAR_PS_FILT; in ath_tx_sched_aggr()
2090 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_send_normal() local
2098 if (tid && (tx_info->flags & IEEE80211_TX_CTL_AMPDU)) { in ath_tx_send_normal()
2115 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in setup_frame_info() local
2116 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in setup_frame_info()
2130 if (tx_info->control.vif && in setup_frame_info()
2131 tx_info->control.vif->bss_conf.use_short_preamble) in setup_frame_info()
2134 rate = ieee80211_get_rts_cts_rate(hw, tx_info); in setup_frame_info()
2140 if (tx_info->control.vif) { in setup_frame_info()
2141 struct ieee80211_vif *vif = tx_info->control.vif; in setup_frame_info()
2449 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete() local
2461 if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) in ath_tx_complete()
2462 tx_info->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; in ath_tx_complete()
2464 tx_info->flags |= IEEE80211_TX_STAT_ACK; in ath_tx_complete()
2467 if (tx_info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) { in ath_tx_complete()
2493 tx_info->status.status_driver_data[0] = sta; in ath_tx_complete()
2503 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_buf() local
2511 tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED; in ath_tx_complete_buf()
2543 static void ath_clear_tx_status(struct ieee80211_tx_info *tx_info) in ath_clear_tx_status() argument
2545 void *ptr = &tx_info->status; in ath_clear_tx_status()
2547 memset(ptr + sizeof(tx_info->status.rates), 0, in ath_clear_tx_status()
2548 sizeof(tx_info->status) - in ath_clear_tx_status()
2549 sizeof(tx_info->status.rates) - in ath_clear_tx_status()
2550 sizeof(tx_info->status.status_driver_data)); in ath_clear_tx_status()
2559 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_rc_status() local
2564 ath_clear_tx_status(tx_info); in ath_tx_rc_status()
2567 tx_info->status.ack_signal = ts->ts_rssi; in ath_tx_rc_status()
2572 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath_tx_rc_status()
2573 tx_info->flags |= IEEE80211_TX_STAT_AMPDU; in ath_tx_rc_status()
2577 tx_info->status.ampdu_len = nframes; in ath_tx_rc_status()
2578 tx_info->status.ampdu_ack_len = nframes - nbad; in ath_tx_rc_status()
2580 tx_info->status.rates[tx_rateindex].count = ts->ts_longretry + 1; in ath_tx_rc_status()
2583 tx_info->status.rates[i].count = 0; in ath_tx_rc_status()
2584 tx_info->status.rates[i].idx = -1; in ath_tx_rc_status()
2588 (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) == 0) { in ath_tx_rc_status()
2605 tx_info->status.rates[tx_rateindex].count = in ath_tx_rc_status()