Lines Matching refs:tap

2659 	struct ieee80211_tx_ampdu *tap;  in ath_tx_addto_baw()  local
2666 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_addto_baw()
2672 tap->txa_start, tap->txa_wnd); in ath_tx_addto_baw()
2680 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2687 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_addto_baw()
2693 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2701 index = ATH_BA_INDEX(tap->txa_start, SEQNO(bf->bf_state.bfs_seqno)); in ath_tx_addto_baw()
2707 tap->txa_start, tap->txa_wnd, index, cindex, tid->baw_head, in ath_tx_addto_baw()
2750 struct ieee80211_tx_ampdu *tap; in ath_tx_switch_baw_buf() local
2755 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_switch_baw_buf()
2756 index = ATH_BA_INDEX(tap->txa_start, seqno); in ath_tx_switch_baw_buf()
2797 struct ieee80211_tx_ampdu *tap; in ath_tx_update_baw() local
2802 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_update_baw()
2803 index = ATH_BA_INDEX(tap->txa_start, seqno); in ath_tx_update_baw()
2809 __func__, tid->tid, tap->txa_start, tap->txa_wnd, seqno, index, in ath_tx_update_baw()
2835 INCR(tap->txa_start, IEEE80211_SEQ_RANGE); in ath_tx_update_baw()
2840 __func__, tid->tid, tap->txa_start, tap->txa_wnd, tid->baw_head); in ath_tx_update_baw()
3050 struct ieee80211_tx_ampdu *tap; in ath_tx_xmit_aggr() local
3054 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_xmit_aggr()
3065 (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_xmit_aggr()
3727 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_bar_tx() local
3738 tap = ath_tx_get_tx_tid(tid->an, tid->tid); in ath_tx_tid_bar_tx()
3784 tap->txa_start); in ath_tx_tid_bar_tx()
3790 if (ieee80211_send_bar(&tid->an->an_node, tap, tap->txa_start) == 0) { in ath_tx_tid_bar_tx()
3851 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_drain_print() local
3854 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_tid_drain_print()
3902 tid->baw_tail, tap == NULL ? -1 : tap->txa_start, in ath_tx_tid_drain_print()
3932 struct ieee80211_tx_ampdu *tap; in ath_tx_tid_drain() local
3936 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_tid_drain()
3996 if (tap) { in ath_tx_tid_drain()
4005 tap->txa_start); in ath_tx_tid_drain()
4007 ni->ni_txseqs[tid->tid] = tap->txa_start; in ath_tx_tid_drain()
4521 struct ieee80211_tx_ampdu *tap; in ath_tx_aggr_retry_unaggr() local
4525 tap = ath_tx_get_tx_tid(an, tid); in ath_tx_aggr_retry_unaggr()
4679 struct ieee80211_tx_ampdu *tap; in ath_tx_comp_aggr_error() local
4695 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_comp_aggr_error()
4829 struct ieee80211_tx_ampdu *tap; local
4954 tap = ath_tx_get_tx_tid(an, tid);
4978 __func__, tap->txa_start, tx_ok, ts.ts_status, ts.ts_flags,
5082 txseq = tap->txa_start;
5110 "%s: txa_start now %d\n", __func__, tap->txa_start);
5373 struct ieee80211_tx_ampdu *tap; local
5378 tap = ath_tx_get_tx_tid(an, tid->tid);
5392 if (tap != NULL && (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
5430 struct ieee80211_tx_ampdu *tap; local
5443 tap = ath_tx_get_tx_tid(an, tid->tid);
5858 struct ieee80211_tx_ampdu *tap; local
5863 tap = &ni->ni_tx_ampdu[tid];
5864 return tap;
5873 struct ieee80211_tx_ampdu *tap; local
5878 tap = ath_tx_get_tx_tid(an, tid);
5879 if (tap == NULL)
5882 return !! (tap->txa_flags & IEEE80211_AGGR_RUNNING);
5891 struct ieee80211_tx_ampdu *tap; local
5896 tap = ath_tx_get_tx_tid(an, tid);
5897 if (tap == NULL)
5900 return !! (tap->txa_flags & IEEE80211_AGGR_XCHGPEND);
5916 ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
5920 int tid = tap->txa_tid;
5967 __func__, tap->txa_start, ni->ni_txseqs[tid]);
5969 return sc->sc_addba_request(ni, tap, dialogtoken, baparamset,
5994 ath_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
5998 int tid = tap->txa_tid;
6011 __func__, tap->txa_start, ni->ni_txseqs[tid]);
6019 r = sc->sc_addba_response(ni, tap, status, code, batimeout);
6028 tap->txa_start = ni->ni_txseqs[tid];
6041 ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
6044 int tid = tap->txa_tid;
6073 sc->sc_addba_stop(ni, tap);
6175 ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, argument
6179 int tid = tap->txa_tid;
6182 int attempts = tap->txa_attempts;
6190 tap->txa_tid,
6194 tap->txa_start,
6195 tap->txa_seqpending);
6209 old_txa_start = tap->txa_start;
6210 sc->sc_bar_response(ni, tap, status);
6211 if (tap->txa_start != old_txa_start) {
6215 tap->txa_start,
6218 tap->txa_start = old_txa_start;
6249 struct ieee80211_tx_ampdu *tap) argument
6252 int tid = tap->txa_tid;
6268 sc->sc_addba_response_timeout(ni, tap);