325-ath9k-fix-BE-BK-queue-order.patch 603 B

123456789101112131415161718192021222324
  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. Hardware queues are ordered by priority. Use queue index 0 for BK, which
  5. has lower priority than BE.
  6. Cc: stable@vger.kernel.org
  7. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
  8. ---
  9. --- a/drivers/net/wireless/ath/ath9k/hw.h
  10. +++ b/drivers/net/wireless/ath/ath9k/hw.h
  11. @@ -217,8 +217,8 @@
  12. #define AH_WOW_BEACON_MISS BIT(3)
  13. enum ath_hw_txq_subtype {
  14. - ATH_TXQ_AC_BE = 0,
  15. - ATH_TXQ_AC_BK = 1,
  16. + ATH_TXQ_AC_BK = 0,
  17. + ATH_TXQ_AC_BE = 1,
  18. ATH_TXQ_AC_VI = 2,
  19. ATH_TXQ_AC_VO = 3,
  20. };