Re: [PATCH] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-05 Thread James Cameron
On Mon, Feb 05, 2018 at 12:38:11PM -0600, Larry Finger wrote: > There has been a coding error in rtl8821ae since it was first introduced, > namely that an 8-bit register was read using a 16-bit read in > _rtl8821ae_dbi_read(). This error was fixed with commit 40b368af4b75 > ("rtlwifi: Fix alignment

Regression in ath10k

2018-02-05 Thread Mike Lothian
Hi Since the merge window opened I've been unable to see any wireless networks or join my usual access point I bisected this to: 9ed4f91628737c820af6a1815b65bc06bd31518f is the first bad commit commit 9ed4f91628737c820af6a1815b65bc06bd31518f Author: Ryan Hsu Date: Tue Jan 16 11:43:49 2018 +02

Re: B43 driver no longer works in Linux 4.15 (bisected)

2018-02-05 Thread Michael Büsch
On Mon, 5 Feb 2018 13:14:28 -0500 Adric Blake wrote: > In the time between Linux 4.15-rc8 and -rc9, my wireless driver, b43, would > no longer load automatically. When I modprobe the b43 (and ssb) modules, > the device still didn't appear in NetworkManager. Comparing the kernel logs > between wor

[PATCH 4.15 42/60] nl80211: Sanitize array index in parse_txq_params

2018-02-05 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams dan.j.willi...@intel.com commit 259d8c1e984318497c84eef547bbb6b1d9f4eb05 Wireless drivers rely on parse_txq_params to validate that txq_params->ac is less than NL80211_NUM_ACS by t

[PATCH] rtlwifi: rtl8821ae: Fix connection lost problem correctly

2018-02-05 Thread Larry Finger
There has been a coding error in rtl8821ae since it was first introduced, namely that an 8-bit register was read using a 16-bit read in _rtl8821ae_dbi_read(). This error was fixed with commit 40b368af4b75 ("rtlwifi: Fix alignment issues"); however, this change led to instability in the connection.

Re: B43 driver no longer works in Linux 4.15 (bisected)

2018-02-05 Thread James Hogan
Hi Adric, On Mon, Feb 05, 2018 at 01:23:31PM -0500, Adric Blake wrote: > In the time between Linux 4.15-rc8 and -rc9, my wireless driver, b43, > would no longer load automatically. When I modprobe the b43 (and ssb) > modules, the device still didn't appear in NetworkManager. Comparing > the kernel

[PATCH 4.14 46/64] nl80211: Sanitize array index in parse_txq_params

2018-02-05 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams dan.j.willi...@intel.com commit 259d8c1e984318497c84eef547bbb6b1d9f4eb05 Wireless drivers rely on parse_txq_params to validate that txq_params->ac is less than NL80211_NUM_ACS by t

B43 driver no longer works in Linux 4.15 (bisected)

2018-02-05 Thread Adric Blake
In the time between Linux 4.15-rc8 and -rc9, my wireless driver, b43, would no longer load automatically. When I modprobe the b43 (and ssb) modules, the device still didn't appear in NetworkManager. Comparing the kernel logs between working (4.14.16-lts) and nonworking (4.15) kernels reveals that t

[PATCH 4/6] qtnfmac: fix rmmod for missing firmware

2018-02-05 Thread Sergey Matyukevich
Check that firmware exists prior to starting firmware download. Signed-off-by: Sergey Matyukevich --- drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c b/drivers/net/w

[PATCH 6/6] qtnfmac: enable networked standby mode on device inactivity

2018-02-05 Thread Sergey Matyukevich
From: Sergei Maksimenko Enable support of networked standby mode (NSM) on qsr10g devices. Networked standby is a power saving mode when the device keeps all existing network connections and returns to full power mode on a network activity. When enabled, device enters standby mode after 15 min of

[PATCH 5/6] qtnfmac: implement asynchronous firmware loading

2018-02-05 Thread Sergey Matyukevich
From: Sergei Maksimenko In pci probe() function start firmware loading, protocol handshake and driver core initialization, and not wait for completion. Signed-off-by: Sergei Maksimenko --- drivers/net/wireless/quantenna/qtnfmac/bus.h | 3 +- .../net/wireless/quantenna/qtnfmac/pearl/pci

[PATCH 2/6] qtnfmac: enable reloading of qtnfmac kernel modules

2018-02-05 Thread Sergey Matyukevich
From: Sergei Maksimenko This patch enables rmmod/insmod for qtnfmac kernel modules: - do not 'pin' pci device in order to disable it on module unload - implement card reset procedure - restore PCI bar addresses for restarted wireless card Signed-off-by: Sergei Maksimenko Signed-off-by: Sergey M

[PATCH 3/6] qtnfmac: fix rmmod for firmware version mismatch

2018-02-05 Thread Sergey Matyukevich
Modify qtnf_pcie_probe error paths to fix rmmod of qtnfmac kernel modules in the case when there is a version mismatch between firmware and driver. Signed-off-by: Sergey Matyukevich --- .../net/wireless/quantenna/qtnfmac/pearl/pcie.c| 44 ++ 1 file changed, 20 insertions(

[PATCH 1/6] qtnfmac: fix releasing Tx/Rx data buffers

2018-02-05 Thread Sergey Matyukevich
Add missing PCI unmap for Tx buffers and release all buffers explicitly. Managed release using devm_add_action is not suitable for qtnfmac Tx/Rx data buffers. The reason is in ordering and dependencies: buffers should be released after transmission is stopped but before PCI device resources and DMA

[PATCH 0/6] qtnfmac: qsr10g pcie backend updates

2018-02-05 Thread Sergey Matyukevich
Hello Kalle and all, Here is a patch set with various fixes and enhacements for qsr10g PCIe backend driver. The major changes include the following two items: - make rmmod/insmod work properly for qtnfmac_pcie driver - provide configuration knobs to control NSM (networked standby mode) NSM (netwo

Re: Regression: bcm4312 lp-phy device not recognized in 4.15 kernel

2018-02-05 Thread Chris Vine
On Sun, 4 Feb 2018 22:00:32 + Chris Vine wrote: > On Sun, 4 Feb 2018 12:03:49 -0800 > Florian Fainelli wrote: > > On 02/04/2018 10:58 AM, Chris Vine wrote: > > > I probably should have copied this to the relevant kernel wireless > > > mailing lists. Anyway, here it is. > > > > > > As a fu