ath9k: fix hardware tx queue allocation order
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 325-ath9k-fix-BE-BK-queue-order.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sun, 30 Nov 2014 20:34:16 +0100
3 Subject: [PATCH] ath9k: fix BE/BK queue order
4
5 Hardware queues are ordered by priority. Use queue index 0 for BK, which
6 has lower priority than BE.
7
8 Cc: stable@vger.kernel.org
9 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
10 ---
11
12 --- a/drivers/net/wireless/ath/ath9k/hw.h
13 +++ b/drivers/net/wireless/ath/ath9k/hw.h
14 @@ -217,8 +217,8 @@
15 #define AH_WOW_BEACON_MISS BIT(3)
16
17 enum ath_hw_txq_subtype {
18 - ATH_TXQ_AC_BE = 0,
19 - ATH_TXQ_AC_BK = 1,
20 + ATH_TXQ_AC_BK = 0,
21 + ATH_TXQ_AC_BE = 1,
22 ATH_TXQ_AC_VI = 2,
23 ATH_TXQ_AC_VO = 3,
24 };