aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-09-20 07:45:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-09-21 11:05:34 -0400
commit334b06029ed3f5e31d773527d54fb40e3ee571f9 (patch)
treee37310774c076522ff9086c3e3114379959fa265 /drivers/net/wireless/ath/ath9k/xmit.c
parent90fa539ca3f07323da5a90f5c8f4e5cd952875e7 (diff)
ath9k: move ath_tx_aggr_check() to the rate control module
It is not used anywhere else and can be made static Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index e53433e3e4cc..85a7323a04ef 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -855,20 +855,6 @@ void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid
855 } 855 }
856} 856}
857 857
858bool ath_tx_aggr_check(struct ath_softc *sc, struct ath_node *an, u8 tidno)
859{
860 struct ath_atx_tid *txtid;
861
862 if (!(sc->sc_flags & SC_OP_TXAGGR))
863 return false;
864
865 txtid = ATH_AN_2_TID(an, tidno);
866
867 if (!(txtid->state & (AGGR_ADDBA_COMPLETE | AGGR_ADDBA_PROGRESS)))
868 return true;
869 return false;
870}
871
872/********************/ 858/********************/
873/* Queue Management */ 859/* Queue Management */
874/********************/ 860/********************/