Lines Matching refs:tx_info
148 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in get_frame_info() local
150 sizeof(tx_info->status.status_driver_data)); in get_frame_info()
151 return (struct ath_frame_info *) &tx_info->status.status_driver_data[0]; in get_frame_info()
164 struct ieee80211_tx_info *tx_info) in ath_merge_ratetbl() argument
176 if (tx_info->control.rates[0].idx < 0 || in ath_merge_ratetbl()
177 tx_info->control.rates[0].count == 0) in ath_merge_ratetbl()
181 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl()
188 if (tx_info->control.use_rts) in ath_merge_ratetbl()
190 else if (tx_info->control.use_cts_prot) in ath_merge_ratetbl()
202 struct ieee80211_tx_info *tx_info; in ath_set_rates() local
204 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_set_rates()
206 if (!ath_merge_ratetbl(sta, bf, tx_info)) in ath_set_rates()
496 struct ieee80211_tx_info *tx_info; in ath_tx_complete_aggr() local
512 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
580 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
628 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr()
640 if (tx_info->flags & IEEE80211_TX_STATUS_EOSP) { in ath_tx_complete_aggr()
641 tx_info->flags &= ~IEEE80211_TX_STATUS_EOSP; in ath_tx_complete_aggr()
782 struct ieee80211_tx_info *tx_info; in ath_lookup_legacy() local
787 tx_info = IEEE80211_SKB_CB(skb); in ath_lookup_legacy()
788 rates = tx_info->control.rates; in ath_lookup_legacy()
805 struct ieee80211_tx_info *tx_info; in ath_lookup_rate() local
813 tx_info = IEEE80211_SKB_CB(skb); in ath_lookup_rate()
850 if (tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE || legacy) in ath_lookup_rate()
946 struct ieee80211_tx_info *tx_info; in ath_tx_get_tid_subframe() local
974 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_get_tid_subframe()
975 tx_info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT | in ath_tx_get_tid_subframe()
984 tx_info->flags &= ~IEEE80211_TX_CTL_AMPDU; in ath_tx_get_tid_subframe()
986 if (!(tx_info->flags & IEEE80211_TX_CTL_AMPDU)) { in ath_tx_get_tid_subframe()
1041 struct ieee80211_tx_info *tx_info; in ath_tx_form_aggr() local
1061 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_form_aggr()
1062 if ((tx_info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE) || in ath_tx_form_aggr()
1063 !(tx_info->flags & IEEE80211_TX_CTL_AMPDU)) in ath_tx_form_aggr()
1271 struct ieee80211_tx_info *tx_info; in ath_buf_set_rate() local
1281 tx_info = IEEE80211_SKB_CB(skb); in ath_buf_set_rate()
1333 if (rix < 8 && (tx_info->flags & IEEE80211_TX_CTL_STBC)) in ath_buf_set_rate()
1347 rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; in ath_buf_set_rate()
1348 if ((tx_info->band == NL80211_BAND_2GHZ) && in ath_buf_set_rate()
1424 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_fill_desc() local
1439 if ((tx_info->flags & IEEE80211_TX_CTL_CLEAR_PS_FILT) || in ath_tx_fill_desc()
1443 if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) in ath_tx_fill_desc()
1445 if (tx_info->flags & IEEE80211_TX_CTL_LDPC) in ath_tx_fill_desc()
1509 struct ieee80211_tx_info *tx_info; in ath_tx_form_burst() local
1524 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_form_burst()
1525 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath_tx_form_burst()
1538 struct ieee80211_tx_info *tx_info; in ath_tx_sched_aggr() local
1549 tx_info = IEEE80211_SKB_CB(bf->bf_mpdu); in ath_tx_sched_aggr()
1550 aggr = !!(tx_info->flags & IEEE80211_TX_CTL_AMPDU); in ath_tx_sched_aggr()
1568 tx_info->flags |= IEEE80211_TX_CTL_CLEAR_PS_FILT; in ath_tx_sched_aggr()
2110 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_send_normal() local
2118 if (tid && (tx_info->flags & IEEE80211_TX_CTL_AMPDU)) { in ath_tx_send_normal()
2135 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in setup_frame_info() local
2136 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in setup_frame_info()
2150 if (tx_info->control.vif && in setup_frame_info()
2151 tx_info->control.vif->bss_conf.use_short_preamble) in setup_frame_info()
2154 rate = ieee80211_get_rts_cts_rate(hw, tx_info); in setup_frame_info()
2160 if (tx_info->control.vif) { in setup_frame_info()
2161 struct ieee80211_vif *vif = tx_info->control.vif; in setup_frame_info()
2469 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete() local
2481 if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) in ath_tx_complete()
2482 tx_info->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; in ath_tx_complete()
2484 tx_info->flags |= IEEE80211_TX_STAT_ACK; in ath_tx_complete()
2487 if (tx_info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) { in ath_tx_complete()
2513 tx_info->status.status_driver_data[0] = sta; in ath_tx_complete()
2523 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_buf() local
2531 tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED; in ath_tx_complete_buf()
2563 static void ath_clear_tx_status(struct ieee80211_tx_info *tx_info) in ath_clear_tx_status() argument
2565 void *ptr = &tx_info->status; in ath_clear_tx_status()
2567 memset(ptr + sizeof(tx_info->status.rates), 0, in ath_clear_tx_status()
2568 sizeof(tx_info->status) - in ath_clear_tx_status()
2569 sizeof(tx_info->status.rates) - in ath_clear_tx_status()
2570 sizeof(tx_info->status.status_driver_data)); in ath_clear_tx_status()
2579 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_tx_rc_status() local
2584 ath_clear_tx_status(tx_info); in ath_tx_rc_status()
2587 tx_info->status.ack_signal = ts->ts_rssi; in ath_tx_rc_status()
2592 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath_tx_rc_status()
2593 tx_info->flags |= IEEE80211_TX_STAT_AMPDU; in ath_tx_rc_status()
2597 tx_info->status.ampdu_len = nframes; in ath_tx_rc_status()
2598 tx_info->status.ampdu_ack_len = nframes - nbad; in ath_tx_rc_status()
2600 tx_info->status.rates[tx_rateindex].count = ts->ts_longretry + 1; in ath_tx_rc_status()
2603 tx_info->status.rates[i].count = 0; in ath_tx_rc_status()
2604 tx_info->status.rates[i].idx = -1; in ath_tx_rc_status()
2608 (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) == 0) { in ath_tx_rc_status()
2625 tx_info->status.rates[tx_rateindex].count = in ath_tx_rc_status()