mac80211: brcmfmac: backport wowlan netdetect fixes
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 653-0024-rtl8xxxu-8188eu-use-same-ADDA-on-parameters-as-8723a.patch
1 From 399409ff2196eb6d3f758579b63a1091fff93870 Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Thu, 21 Jul 2016 15:23:16 -0400
4 Subject: [PATCH] rtl8xxxu: 8188eu use same ADDA on parameters as 8723au/8192cu
5
6 For ADDA setup the 8188eu looks to match the gen1 parts.
7
8 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
9 ---
10 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
14 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
15 @@ -526,6 +526,10 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
16 .rx_desc_size = sizeof(struct rtl8xxxu_rxdesc16),
17 .tx_desc_size = sizeof(struct rtl8xxxu_txdesc32),
18 .has_tx_report = 1,
19 + .adda_1t_init = 0x0b1b25a0,
20 + .adda_1t_path_on = 0x0bdb25a0,
21 + .adda_2t_path_on_a = 0x04db25a4,
22 + .adda_2t_path_on_b = 0x0b1b25a4,
23 /*
24 * Use 9K for 8188e normal chip
25 * Max RX buffer = 10K - max(TxReportSize(64*8), WOLPattern(16*24))