mac80211: use upstream patches for rtl8xxxu
Also improves rtl8188eu support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>v19.07.3_mercusys_ac12_duma
parent
71144844e1
commit
c795794eef
@ -1,25 +0,0 @@
|
||||
From d4c94e8fc13fdc241b3070476736eefe12726553 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 10:24:39 -0400
|
||||
Subject: [PATCH] rtl8xxxu: 8188e - bail if rtl8188eu_emu_to_active() fails
|
||||
|
||||
If emu_to_active() fails, don't try to enable anything else.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -166,7 +166,10 @@ static int rtl8188eu_power_on(struct rtl
|
||||
int ret;
|
||||
|
||||
ret = rtl8188e_emu_to_active(priv);
|
||||
+ if (ret)
|
||||
+ goto exit;
|
||||
|
||||
+exit:
|
||||
return ret;
|
||||
}
|
||||
|
@ -1,12 +1,13 @@
|
||||
From 48c31d0cdbadc082abfcf88c2bd161fab4000bb4 Mon Sep 17 00:00:00 2001
|
||||
From 04319ae2f60974fa218f16fdf7a8576d1db6d673 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Sat, 21 May 2016 13:43:51 -0400
|
||||
Date: Mon, 27 Jun 2016 12:32:04 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Allocate larger RX skbs when aggregation is enabled
|
||||
|
||||
This adds support for allocating larger skbs for devices which
|
||||
indicate they support it.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 2 ++
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 13 +++++++++----
|
@ -1,22 +0,0 @@
|
||||
From 2ce9d067424ab287a1193330ee1c3607995cfbf4 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Fri, 22 Jul 2016 11:40:13 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Use rtl8xxxu_gen1_channel_config() for 8188eu
|
||||
|
||||
Channel configuration looks to be using the old gen1 style API
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -1009,6 +1009,7 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
|
||||
.init_phy_bb = rtl8188eu_init_phy_bb,
|
||||
.init_phy_rf = rtl8188eu_init_phy_rf,
|
||||
.phy_iq_calibrate = rtl8188eu_phy_iq_calibrate,
|
||||
+ .config_channel = rtl8xxxu_gen1_config_channel,
|
||||
.parse_rx_desc = rtl8xxxu_parse_rxdesc16,
|
||||
.usb_quirks = rtl8188e_usb_quirks,
|
||||
.writeN_block_size = 128,
|
@ -1,23 +0,0 @@
|
||||
From acd23916afbf214c7e40fec769361d8e46a6886a Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Fri, 22 Jul 2016 13:40:55 -0400
|
||||
Subject: [PATCH] rtl8xxxu: 8188eu uses 32 byte TX descriptors
|
||||
|
||||
Note the format is different and looks to be some bizarre hybrid of
|
||||
the gen1 and gen2 formats.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -1037,6 +1037,7 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
|
||||
.report_connect = rtl8xxxu_gen2_report_connect,
|
||||
.writeN_block_size = 128,
|
||||
.rx_desc_size = sizeof(struct rtl8xxxu_rxdesc16),
|
||||
+ .tx_desc_size = sizeof(struct rtl8xxxu_txdesc32),
|
||||
.has_tx_report = 1,
|
||||
.gen2_thermal_meter = 1,
|
||||
.adda_1t_init = 0x0b1b25a0,
|
@ -1,35 +0,0 @@
|
||||
From d83a65b58e8626c9fab83e45bb7ec5aea9176504 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Fri, 22 Jul 2016 13:55:24 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add dummy rtl8188e_set_tx_power()
|
||||
|
||||
To avoid crashing on launch, add a dummy set_tx_power() function for
|
||||
8188e.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -283,6 +283,11 @@ static struct rtl8xxxu_rfregval rtl8188e
|
||||
{0xff, 0xffffffff}
|
||||
};
|
||||
|
||||
+static void
|
||||
+rtl8188e_set_tx_power(struct rtl8xxxu_priv *priv, int channel, bool ht40)
|
||||
+{
|
||||
+}
|
||||
+
|
||||
static int rtl8188eu_parse_efuse(struct rtl8xxxu_priv *priv)
|
||||
{
|
||||
struct rtl8188eu_efuse *efuse = &priv->efuse_wifi.efuse8188eu;
|
||||
@@ -1033,6 +1038,7 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
|
||||
.enable_rf = rtl8188e_enable_rf,
|
||||
.disable_rf = rtl8188e_disable_rf,
|
||||
.usb_quirks = rtl8188e_usb_quirks,
|
||||
+ .set_tx_power = rtl8188e_set_tx_power,
|
||||
.update_rate_mask = rtl8xxxu_gen2_update_rate_mask,
|
||||
.report_connect = rtl8xxxu_gen2_report_connect,
|
||||
.writeN_block_size = 128,
|
@ -1,30 +0,0 @@
|
||||
From 33b19d32ae77eee805170a5a28220899f76f6ca4 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Mon, 29 Aug 2016 14:27:19 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add additional rtl8188eu shutdown code to match
|
||||
vendor driver
|
||||
|
||||
This makes the driver match the poweroff sequence of the vendor driver
|
||||
further. However it still doesn't work correctly when reloading the
|
||||
driver.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -1347,6 +1347,12 @@ void rtl8188eu_power_off(struct rtl8xxxu
|
||||
* Referred to as REG_BB_PAD_CTRL in 8188eu vendor driver
|
||||
*/
|
||||
rtl8xxxu_write32(priv, REG_PAD_CTRL1, 0x00080808);
|
||||
+
|
||||
+ rtl8xxxu_write8(priv, REG_RSV_CTRL, 0x00);
|
||||
+
|
||||
+ val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO);
|
||||
+ val16 |= APS_FSMCO_ENABLE_POWERDOWN | APS_FSMCO_HW_POWERDOWN;
|
||||
+ rtl8xxxu_write16(priv, REG_APS_FSMCO, val16);
|
||||
}
|
||||
|
||||
static void rtl8188e_enable_rf(struct rtl8xxxu_priv *priv)
|
@ -1,35 +0,0 @@
|
||||
From 023b13832fdaeff6d7945036e769f1f16167348f Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 30 Aug 2016 13:59:01 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add register define used for 8188 IOL magic
|
||||
|
||||
This interface seems to be used to send firmware and register init
|
||||
files to the firmware.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
|
||||
@@ -378,6 +378,11 @@
|
||||
#define PBP_PAGE_SIZE_512 0x3
|
||||
#define PBP_PAGE_SIZE_1024 0x4
|
||||
|
||||
+/* 8188eu IOL magic */
|
||||
+#define REG_PKT_BUF_ACCESS_CTRL 0x0106
|
||||
+#define PKT_BUF_ACCESS_CTRL_TX 0x69
|
||||
+#define PKT_BUF_ACCESS_CTRL_RX 0xa5
|
||||
+
|
||||
#define REG_TRXDMA_CTRL 0x010c
|
||||
#define TRXDMA_CTRL_RXDMA_AGG_EN BIT(2)
|
||||
#define TRXDMA_CTRL_VOQ_SHIFT 4
|
||||
@@ -451,6 +456,7 @@
|
||||
|
||||
#define REG_FIFOPAGE 0x0204
|
||||
#define REG_TDECTRL 0x0208
|
||||
+
|
||||
#define REG_TXDMA_OFFSET_CHK 0x020c
|
||||
#define TXDMA_OFFSET_DROP_DATA_EN BIT(9)
|
||||
#define REG_TXDMA_STATUS 0x0210
|
@ -1,24 +0,0 @@
|
||||
From a1967ad244697b2929e462b0579932431387f489 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 13 Sep 2016 15:13:08 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Write correct value to REG_CR in
|
||||
rtl8188eu_active_to_lps()
|
||||
|
||||
Stupid bug writing the wrong value to register REG_CR.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
||||
@@ -1259,7 +1259,7 @@ static int rtl8188eu_active_to_lps(struc
|
||||
/* Reset MAC TRX */
|
||||
val16 = rtl8xxxu_read16(priv, REG_CR);
|
||||
val16 &= ~(CR_MAC_TX_ENABLE | CR_MAC_RX_ENABLE | CR_SECURITY_ENABLE);
|
||||
- rtl8xxxu_write16(priv, REG_CR, val8);
|
||||
+ rtl8xxxu_write16(priv, REG_CR, val16);
|
||||
|
||||
val8 = rtl8xxxu_read8(priv, REG_DUAL_TSF_RST);
|
||||
val8 |= DUAL_TSF_TX_OK;
|
@ -1,12 +1,13 @@
|
||||
From cd0355d9889f6843a0fac0a160cfb42b482cbcf7 Mon Sep 17 00:00:00 2001
|
||||
From b81669b9e0b4864f59421e7681512731fae01ab9 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Thu, 23 Jun 2016 12:47:17 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:23 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Mark 0x20f4:0x648b as tested
|
||||
|
||||
Successfully tested by Jocelyn Mayer
|
||||
|
||||
Reported-by: J. Mayer <l_indien@magic.fr>
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
@ -1,12 +1,13 @@
|
||||
From 7aff76bb819f3d7936c88fdf519619efab64e6c2 Mon Sep 17 00:00:00 2001
|
||||
From 76a8e07d49b65294ed006ff1e37fa152a1bfd230 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Thu, 23 Jun 2016 12:56:20 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:24 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Mark 0x2001:0x3308 as tested
|
||||
|
||||
D-Link DWA-121 is reported as working.
|
||||
|
||||
Reported-by: Stefano Bravi <stefanobravi69@libero.it>
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
@ -1,12 +1,13 @@
|
||||
From 36bbcb566a806b96e397cb882272373bbbed83c8 Mon Sep 17 00:00:00 2001
|
||||
From 44abaa08d002235e1bbc2b9e0fd46a64e4694596 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 15:02:20 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:27 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add TX page defines for 8723b
|
||||
|
||||
This switches the 8723b driver to use the new
|
||||
rtl8xxxu_init_queue_reserved_page() function.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 6 ++++++
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 4 ++++
|
@ -1,12 +1,13 @@
|
||||
From 031c086dcd5e17bb1e792ba215c997adcb570844 Mon Sep 17 00:00:00 2001
|
||||
From e02aa3eef786aab82f9929fea25f5f7e9f77ba69 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 15:39:09 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:31 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Simplify code setting TX buffer boundary
|
||||
|
||||
With all devices now offering fops->total_page_num, get rid of the
|
||||
if mess for setting the TX buffer boundary.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 8 +-------
|
||||
1 file changed, 1 insertion(+), 7 deletions(-)
|
@ -1,11 +1,12 @@
|
||||
From e3aee53b23762f47ad233591090640c6df3db3c0 Mon Sep 17 00:00:00 2001
|
||||
From dce7548fd9700c4c4ecda936dcf7326b9241a6d3 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 14:31:08 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:32 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add bit definitions for REG_FPGA0_TX_INFO
|
||||
|
||||
This adds TX antenna selection bit defines for OFDM mode.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
@ -1,12 +1,13 @@
|
||||
From b11b4053e28ebcd35fca0b81448ee91ef88a6fed Mon Sep 17 00:00:00 2001
|
||||
From 0b09628948bce970e14ef61a6788caa93285a132 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 16:52:13 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:33 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add interrupt bit definitions for gen2 parts
|
||||
|
||||
These are primarily needed for SDIO/PCI parts, but the vendor driver
|
||||
still sets them for some USB devices.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
.../net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 56 ++++++++++++++++++++++
|
||||
1 file changed, 56 insertions(+)
|
@ -1,11 +1,12 @@
|
||||
From 2edfdaa9d373a12582647ab06b9f09e43853c602 Mon Sep 17 00:00:00 2001
|
||||
From ee675cc30e07cc925489e9663539e69873b04100 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Fri, 22 Jul 2016 11:15:15 -0400
|
||||
Date: Fri, 19 Aug 2016 17:46:35 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Convert flags in rtl8xxxu_fileops to bitflags
|
||||
|
||||
This leaves space for a few more flags within the same space.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
@ -1,3 +1,20 @@
|
||||
From 7329dc13107b2315a7b8ba5a75048935304c55a0 Mon Sep 17 00:00:00 2001
|
||||
From: Hans de Goede <hdegoede@redhat.com>
|
||||
Date: Fri, 19 Aug 2016 17:46:42 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Make rtl8xxxu_ampdu_action less chatty
|
||||
|
||||
On my home network rtl8xxxu is spamming the log with
|
||||
IEEE80211_AMPDU_RX_START / IEEE80211_AMPDU_RX_STOP every few seconds
|
||||
turn these messages into debug messages.
|
||||
|
||||
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
[kvalo@codeaurora.org: fix commit title]
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
@@ -5696,7 +5696,7 @@ rtl8xxxu_ampdu_action(struct ieee80211_h
|
@ -1,12 +1,13 @@
|
||||
From dc8f9f320eada9b516a347f34e9e02dae93334ca Mon Sep 17 00:00:00 2001
|
||||
From 54cdf5c727cb3d3124e61433a13e9724a7a4a952 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Thu, 1 Sep 2016 15:08:57 -0400
|
||||
Date: Fri, 9 Sep 2016 14:01:24 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Reset device on module unload if still attached
|
||||
|
||||
If the USB dongle is still attached, reset it on module unload to
|
||||
avoid scans failing when reloading the driver.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
@ -1,12 +1,13 @@
|
||||
From 398103a0c2c48445e11855c693877126aed23c6e Mon Sep 17 00:00:00 2001
|
||||
From 0cd7f70399f71fdd87b34d28670248c36e4db455 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Ian King <colin.king@canonical.com>
|
||||
Date: Sat, 3 Sep 2016 17:43:54 +0100
|
||||
Date: Fri, 9 Sep 2016 14:01:25 -0400
|
||||
Subject: [PATCH] rtl8xxxu: fix spelling mistake "firmare" -> "firmware"
|
||||
|
||||
Trivial fix to spelling mistakes in dev_dbg message.
|
||||
|
||||
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
@ -1,12 +1,13 @@
|
||||
From c37241da2ccb981598ed4bf243f86228aca292b6 Mon Sep 17 00:00:00 2001
|
||||
From f1785fbf7c0bc17211c299a647ebc38968a42181 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 13 Sep 2016 14:51:43 -0400
|
||||
Date: Tue, 13 Sep 2016 15:03:15 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Implement 8192e specific power down sequence
|
||||
|
||||
This powers down the 8192e correctly, or at least to the point where
|
||||
the firmware will load again, when reloading the driver module.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
.../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 144 ++++++++++++++++++++-
|
||||
.../net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 1 +
|
@ -1,19 +1,20 @@
|
||||
From c563d5e11eb6d90d6375b0ab7bce0ff1fdc53d1b Mon Sep 17 00:00:00 2001
|
||||
From 3a589fae4a2cff317c3cabd4f76578ffd2761808 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 30 Aug 2016 13:49:04 -0400
|
||||
Date: Tue, 20 Sep 2016 21:19:26 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Fix off by one error calculating pubq
|
||||
|
||||
This was detected tracing the 8188eu driver, but doesn't seem to make
|
||||
any difference when using it.
|
||||
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
@@ -3882,7 +3882,7 @@ static void rtl8xxxu_init_queue_reserved
|
||||
@@ -3869,7 +3869,7 @@ static void rtl8xxxu_init_queue_reserved
|
||||
val32 = (nq << RQPN_NPQ_SHIFT) | (eq << RQPN_EPQ_SHIFT);
|
||||
rtl8xxxu_write32(priv, REG_RQPN_NPQ, val32);
|
||||
|
@ -0,0 +1,43 @@
|
||||
From b42fbed6b8a5942e9f76ec8c7f9c9fd798a2d3af Mon Sep 17 00:00:00 2001
|
||||
From: Larry Finger <Larry.Finger@lwfinger.net>
|
||||
Date: Tue, 20 Sep 2016 21:19:29 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Stop log spam from each successful interrupt
|
||||
|
||||
As soon as debugging is turned on, the logs are filled with messages
|
||||
reporting the interrupt status. As this quantity is usually zero, this
|
||||
output is not needed. In fact, there will be a report if the status is
|
||||
not zero, thus the debug line in question could probably be deleted.
|
||||
Rather than taking that action, I have changed it to only be printed
|
||||
when the newly added RTL8XXXU_DEBUG_INTERRUPT bit is set in the debug
|
||||
mask.
|
||||
|
||||
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
|
||||
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||||
---
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 1 +
|
||||
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 3 ++-
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
|
||||
@@ -29,6 +29,7 @@
|
||||
#define RTL8XXXU_DEBUG_H2C 0x800
|
||||
#define RTL8XXXU_DEBUG_ACTION 0x1000
|
||||
#define RTL8XXXU_DEBUG_EFUSE 0x2000
|
||||
+#define RTL8XXXU_DEBUG_INTERRUPT 0x4000
|
||||
|
||||
#define RTW_USB_CONTROL_MSG_TIMEOUT 500
|
||||
#define RTL8XXXU_MAX_REG_POLL 500
|
||||
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
|
||||
@@ -5375,7 +5375,8 @@ static void rtl8xxxu_int_complete(struct
|
||||
struct device *dev = &priv->udev->dev;
|
||||
int ret;
|
||||
|
||||
- dev_dbg(dev, "%s: status %i\n", __func__, urb->status);
|
||||
+ if (rtl8xxxu_debug & RTL8XXXU_DEBUG_INTERRUPT)
|
||||
+ dev_dbg(dev, "%s: status %i\n", __func__, urb->status);
|
||||
if (urb->status == 0) {
|
||||
usb_anchor_urb(urb, &priv->int_anchor);
|
||||
ret = usb_submit_urb(urb, GFP_ATOMIC);
|
@ -1,4 +1,4 @@
|
||||
From 738e72f09accebe95513ff7201e1b12427b4a80f Mon Sep 17 00:00:00 2001
|
||||
From 5b9c623e1e14663679d3fb6d98f222c73d072f17 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Mon, 27 Jun 2016 14:08:47 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Accept firmware signature 0x88e0
|
@ -1,4 +1,4 @@
|
||||
From 27f6f980c393532dd0145314e8403fd9c1b680b7 Mon Sep 17 00:00:00 2001
|
||||
From 67fe7e7a468a92abf5dd3793e1d0839aa230bb36 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Mon, 27 Jun 2016 15:34:00 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Detect 8188eu parts correctly
|
@ -1,4 +1,4 @@
|
||||
From f24a42f020ff56f587e8c66363af2d7e3ca90790 Mon Sep 17 00:00:00 2001
|
||||
From 082edba4f1650a473e6904c7bee16efc94b809ad Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 10:38:52 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add rtl8188e_disabled_to_emu()
|
@ -1,4 +1,4 @@
|
||||
From 2eaadaf2f65a2856f3e9d4522d582eb2ce6800ec Mon Sep 17 00:00:00 2001
|
||||
From e6b7225c77e0e67bd8695b24725c66f90f60bcf4 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 11:07:13 -0400
|
||||
Subject: [PATCH] rtl8xxxu: 8188e: Enable scheduler
|
@ -1,4 +1,4 @@
|
||||
From 281b44d1c35792946e2a2373c60e543cd5d71c03 Mon Sep 17 00:00:00 2001
|
||||
From e25ae461678c2f2a164e36d2cd363fea83c37be9 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 11:47:10 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add rtl8188e_usb_quirk() for enabling MAC TX/RX
|
@ -1,4 +1,4 @@
|
||||
From 19a9f0c2c5912dc0eb9c1d7a04808509ac3a99a5 Mon Sep 17 00:00:00 2001
|
||||
From 7527a39358702ca106682c36dffb1a6cb16fab53 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 11:53:31 -0400
|
||||
Subject: [PATCH] rtl8xxxu: 8188e add REG_TXDMA_OFFSET_CHK quirk
|
@ -1,4 +1,4 @@
|
||||
From 5bbaf33b2500b9f1ca1137663924a722e00aad57 Mon Sep 17 00:00:00 2001
|
||||
From 4ea8c0fae9ac694176a70fd7f87ef33dcda8f069 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 12:08:31 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add trxff_boundary for 8188e
|
@ -1,4 +1,4 @@
|
||||
From f8f72624491a011686c3ddc213c4eef6bac95665 Mon Sep 17 00:00:00 2001
|
||||
From b7bc65edc18af06c2ea1e4efb539fc4e2da89650 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 29 Jun 2016 15:03:54 -0400
|
||||
Subject: [PATCH] rtl8xxxu: 8188eu specify firmware block size and set
|
@ -1,4 +1,4 @@
|
||||
From 3490eb08d944df4605aefae95a8ff46982b29a79 Mon Sep 17 00:00:00 2001
|
||||
From 2f81b7920fd5812c44824e14070021d53a933ae4 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 19 Jul 2016 15:04:24 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add 8188e mac init table
|
@ -1,4 +1,4 @@
|
||||
From 08e1167540ad5de6fdc1814fcfbce545b4c10c41 Mon Sep 17 00:00:00 2001
|
||||
From da7fb3c8a1292fdc4e949e7a0342d0a6d808746e Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 19 Jul 2016 16:19:30 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Implement rtl8188eu_init_phy_bb()
|
@ -1,4 +1,4 @@
|
||||
From d538ef459e4d8edea4968a2c0012fbab5d8c70f5 Mon Sep 17 00:00:00 2001
|
||||
From 837adbdfb23b00920cc1bdce09096d1eb36061a6 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 19 Jul 2016 17:12:42 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Implement rtl8188eu_init_phy_rf()
|
@ -1,4 +1,4 @@
|
||||
From ada071c5bd6d58ca46d71956456d339b64a48551 Mon Sep 17 00:00:00 2001
|
||||
From 41243175fe2464b68abe300cf5e2eacf8911dbdc Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Tue, 19 Jul 2016 17:27:48 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Use auto LLT init for 8188e
|
@ -1,4 +1,4 @@
|
||||
From ae67e9c34a9ab0624f76401330940b5a4b39fd97 Mon Sep 17 00:00:00 2001
|
||||
From 68fe82f572c99dff53cff78e7fac33212988fa08 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 15:59:31 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Set transfer page size for 8188eu
|
@ -1,4 +1,4 @@
|
||||
From d20ce683065f086727704d4ea22073fac6db8f47 Mon Sep 17 00:00:00 2001
|
||||
From 763c44f30e435083c206c86bfdcb5f31d8683d77 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Wed, 20 Jul 2016 16:13:06 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Enable TX report timer on 8188eu
|
@ -1,4 +1,4 @@
|
||||
From 9e90e4617f5e6549825baa88ef4a310f34a5f0bc Mon Sep 17 00:00:00 2001
|
||||
From 3ee0271b64db3cc81a089ec726b600c40ee03f45 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Thu, 21 Jul 2016 17:25:56 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Add PHY IQ calibration code for 8188eu
|
@ -1,4 +1,4 @@
|
||||
From 9df5d333304264856465094f9529b414c4c279fb Mon Sep 17 00:00:00 2001
|
||||
From f7813794db87b042c3ebcf7d767b865f58972ff1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
|
||||
Date: Fri, 29 Jul 2016 18:22:37 +0200
|
||||
Subject: [PATCH] rtl8xxxu: properly detect RTL8188EU devices
|
@ -1,7 +1,7 @@
|
||||
From 2c6b2e7aadc24a58bac9321bcf15262519f903a8 Mon Sep 17 00:00:00 2001
|
||||
From 5b57ad0d9aed6570c7ef1dce306dabb28cc4e03b Mon Sep 17 00:00:00 2001
|
||||
From: Taehee Yoo <ap420073@gmail.com>
|
||||
Date: Sun, 21 Aug 2016 20:38:22 +0900
|
||||
Subject: [PATCH] rtl8xxxu : Fix rtl8188eu connection fail
|
||||
Subject: [PATCH] rtl8xxxu: Fix rtl8188eu connection fail
|
||||
|
||||
rtl8188eu vendor driver's LLT init routine is similar
|
||||
rtl8xxxu_init_llt_table() than rtl8xxxu_auto_llt_table().
|
@ -1,4 +1,4 @@
|
||||
From c62a97a358ce2ba090efe1b447fa61a7104520ef Mon Sep 17 00:00:00 2001
|
||||
From 24122ccad4d3f063554966890342ea6602bce92b Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Mon, 25 Jul 2016 12:32:02 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Enable 8188eu driver
|
@ -1,4 +1,4 @@
|
||||
From ed9fac53f69189d25affa6baf2e921235724d668 Mon Sep 17 00:00:00 2001
|
||||
From e36a438e6ae82a4426c06babb48bc3c4567aaec5 Mon Sep 17 00:00:00 2001
|
||||
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
||||
Date: Fri, 26 Aug 2016 15:16:32 -0400
|
||||
Subject: [PATCH] rtl8xxxu: Implement rtl8188eu_active_to_emu()
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue