summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-15 19:53:35 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:11:35 -0400
commit7702e788e77c175f5ddc8f792468b8af036a8146 (patch)
tree9339b153866b127577bec17efb47f5ef3fcbb163 /drivers/net/wireless/ath/ath9k/init.c
parent531bd079053cfeaa7536a997950905603f2bae70 (diff)
downloadblackbird-op-linux-7702e788e77c175f5ddc8f792468b8af036a8146.tar.gz
blackbird-op-linux-7702e788e77c175f5ddc8f792468b8af036a8146.zip
ath9k: make per-WMM-AC queue sizes configurable via debugfs
Prepare for using different queue size defaults for each AC. 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/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index af95d180d7fd..181977a414e9 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -434,6 +434,7 @@ static int ath9k_init_queues(struct ath_softc *sc)
for (i = 0; i < WME_NUM_AC; i++) {
sc->tx.txq_map[i] = ath_txq_setup(sc, ATH9K_TX_QUEUE_DATA, i);
sc->tx.txq_map[i]->mac80211_qnum = i;
+ sc->tx.txq_max_pending[i] = ATH_MAX_QDEPTH;
}
return 0;
}
OpenPOWER on IntegriCloud