mac80211: ath10k: Allow to enable the thermal code of ath10k
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 653-0011-rtl8xxxu-Correct-TX_TOTAL_PAGE_NUM-for-8188eu.patch
1 From ed4c1c87b4c2653f1528c886591bbddbb68216a1 Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Mon, 8 Aug 2016 15:04:36 -0400
4 Subject: [PATCH] rtl8xxxu: Correct TX_TOTAL_PAGE_NUM for 8188eu
5
6 For some reason I had gotten this off-by-one when pulling them number
7 from the vendor driver.
8
9 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
10 ---
11 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
15 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
16 @@ -43,7 +43,7 @@
17 #define REALTEK_USB_CMD_IDX 0x00
18
19 #define TX_TOTAL_PAGE_NUM 0xf8
20 -#define TX_TOTAL_PAGE_NUM_8188E 0xa8
21 +#define TX_TOTAL_PAGE_NUM_8188E 0xa9
22 #define TX_TOTAL_PAGE_NUM_8192E 0xf3
23 #define TX_TOTAL_PAGE_NUM_8723B 0xf7
24 /* (HPQ + LPQ + NPQ + PUBQ) = TX_TOTAL_PAGE_NUM */