Lines Matching refs:tap

2661 	struct ieee80211_tx_ampdu *tap;  in ath_tx_addto_baw()  local
2668 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_addto_baw()
2674 tap->txa_start, tap->txa_wnd); in ath_tx_addto_baw()
2682 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2689 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_addto_baw()
2695 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2703 index = ATH_BA_INDEX(tap->txa_start, SEQNO(bf->bf_state.bfs_seqno)); in ath_tx_addto_baw()
2709 tap->txa_start, tap->txa_wnd, index, cindex, tid->baw_head, in ath_tx_addto_baw()
2752 struct ieee80211_tx_ampdu *tap; in ath_tx_switch_baw_buf() local
2757 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_switch_baw_buf()
2758 index = ATH_BA_INDEX(tap->txa_start, seqno); in ath_tx_switch_baw_buf()
2799 struct ieee80211_tx_ampdu *tap; in ath_tx_update_baw() local
2804 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_update_baw()
2805 index = ATH_BA_INDEX(tap->txa_start, seqno); in ath_tx_update_baw()
2811 __func__, tid->tid, tap->txa_start, tap->txa_wnd, seqno, index, in ath_tx_update_baw()
2837 INCR(tap->txa_start, IEEE80211_SEQ_RANGE); in ath_tx_update_baw()
2842 __func__, tid->tid, tap->txa_start, tap->txa_wnd, tid->baw_head); in ath_tx_update_baw()
3052 struct ieee80211_tx_ampdu *tap; in ath_tx_xmit_aggr() local
3056 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_xmit_aggr()
3067 (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_xmit_aggr()
3729 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_bar_tx() local
3740 tap = ath_tx_get_tx_tid(tid->an, tid->tid); in ath_tx_tid_bar_tx()
3786 tap->txa_start); in ath_tx_tid_bar_tx()
3792 if (ieee80211_send_bar(&tid->an->an_node, tap, tap->txa_start) == 0) { in ath_tx_tid_bar_tx()
3853 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_drain_print() local
3856 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_tid_drain_print()
3904 tid->baw_tail, tap == NULL ? -1 : tap->txa_start, in ath_tx_tid_drain_print()
3934 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_drain() local
3938 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_tid_drain()
3998 if (tap) { in ath_tx_tid_drain()
4007 tap->txa_start); in ath_tx_tid_drain()
4009 ni->ni_txseqs[tid->tid] = tap->txa_start; in ath_tx_tid_drain()
4523 struct ieee80211_tx_ampdu *tap; in ath_tx_aggr_retry_unaggr() local
4527 tap = ath_tx_get_tx_tid(an, tid); in ath_tx_aggr_retry_unaggr()
4681 struct ieee80211_tx_ampdu *tap; in ath_tx_comp_aggr_error() local
4697 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_comp_aggr_error()
4831 struct ieee80211_tx_ampdu *tap; local
4956 tap = ath_tx_get_tx_tid(an, tid);
4980 __func__, tap->txa_start, tx_ok, ts.ts_status, ts.ts_flags,
5084 txseq = tap->txa_start;
5112 "%s: txa_start now %d\n", __func__, tap->txa_start);
5375 struct ieee80211_tx_ampdu *tap; local
5380 tap = ath_tx_get_tx_tid(an, tid->tid);
5394 if (tap != NULL && (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
5432 struct ieee80211_tx_ampdu *tap; local
5445 tap = ath_tx_get_tx_tid(an, tid->tid);
5860 struct ieee80211_tx_ampdu *tap; local
5865 tap = &ni->ni_tx_ampdu[tid];
5866 return tap;
5875 struct ieee80211_tx_ampdu *tap; local
5880 tap = ath_tx_get_tx_tid(an, tid);
5881 if (tap == NULL)
5884 return !! (tap->txa_flags & IEEE80211_AGGR_RUNNING);
5893 struct ieee80211_tx_ampdu *tap; local
5898 tap = ath_tx_get_tx_tid(an, tid);
5899 if (tap == NULL)
5902 return !! (tap->txa_flags & IEEE80211_AGGR_XCHGPEND);
5918 ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
5922 int tid = tap->txa_tid;
5969 __func__, tap->txa_start, ni->ni_txseqs[tid]);
5971 return sc->sc_addba_request(ni, tap, dialogtoken, baparamset,
5996 ath_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
6000 int tid = tap->txa_tid;
6013 __func__, tap->txa_start, ni->ni_txseqs[tid]);
6021 r = sc->sc_addba_response(ni, tap, status, code, batimeout);
6030 tap->txa_start = ni->ni_txseqs[tid];
6043 ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
6046 int tid = tap->txa_tid;
6075 sc->sc_addba_stop(ni, tap);
6177 ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
6181 int tid = tap->txa_tid;
6184 int attempts = tap->txa_attempts;
6192 tap->txa_tid,
6196 tap->txa_start,
6197 tap->txa_seqpending);
6211 old_txa_start = tap->txa_start;
6212 sc->sc_bar_response(ni, tap, status);
6213 if (tap->txa_start != old_txa_start) {
6217 tap->txa_start,
6220 tap->txa_start = old_txa_start;
6251 struct ieee80211_tx_ampdu *tap) argument
6254 int tid = tap->txa_tid;
6270 sc->sc_addba_response_timeout(ni, tap);