Re: [PATCH] NFC: fix device-allocation error return

2017-08-28 Thread Johan Hovold
Samuel or David, On Sat, Jul 22, 2017 at 03:32:28PM +0200, Johan Hovold wrote: > On Sun, Jul 09, 2017 at 01:08:58PM +0200, Johan Hovold wrote: > > A recent change fixing NFC device allocation itself introduced an > > error-handling bug by returning an error pointer in case device-id > > allocation

Re: CVE-2017-9417 and brcmfmac

2017-08-28 Thread Arend van Spriel
On 27-08-17 17:14, Ben Hutchings wrote: The CVE-2017-9417 aka "Broadpwn" vulnerability is said to affect the firmware for various Broadcom BCM43xx wifi chips, some of which are supported by the in-tree brcmfmac driver and firmware in linux- firmware.git. The bcmdhd driver for Android was patched

[PATCH v4] brcmfmac: add CLM download support

2017-08-28 Thread Wright Feng
From: Chung-Hsien Hsu The firmware for brcmfmac devices includes information regarding regulatory constraints. For certain devices this information is kept separately in a binary form that needs to be downloaded to the device. This patch adds support to download this so-called CLM blob file. It u

pull-request: wireless-drivers-next 2017-08-28

2017-08-28 Thread Kalle Valo
Hi Dave, here's a pull request to net-next for 4.14. Because I pulled wireless-drivers (at least that's my suspicion) the diffstat was wrong again and I created it manually. I recall Linus somewhere saying that in certain cases this is normal and it's ok to create the diffstat manually, so I don't

Re: [PATCH v4] brcmfmac: add CLM download support

2017-08-28 Thread Arend van Spriel
On 8/28/2017 11:25 AM, Wright Feng wrote: From: Chung-Hsien Hsu The firmware for brcmfmac devices includes information regarding regulatory constraints. For certain devices this information is kept separately in a binary form that needs to be downloaded to the device. This patch adds support to

Re: [PATCH v4] brcmfmac: add CLM download support

2017-08-28 Thread Chung-Hsien Hsu
On Mon, Aug 28, 2017 at 12:27:38PM +0200, Arend van Spriel wrote: > On 8/28/2017 11:25 AM, Wright Feng wrote: > >From: Chung-Hsien Hsu > > > >The firmware for brcmfmac devices includes information regarding > >regulatory constraints. For certain devices this information is kept > >separately in a

Re: [PATCH v4] brcmfmac: add CLM download support

2017-08-28 Thread Steve deRosier
On Mon, Aug 28, 2017 at 2:25 AM, Wright Feng wrote: > From: Chung-Hsien Hsu > > The firmware for brcmfmac devices includes information regarding > regulatory constraints. For certain devices this information is kept > separately in a binary form that needs to be downloaded to the device. > This p

Re: [PATCH v4] brcmfmac: add CLM download support

2017-08-28 Thread Arend van Spriel
On 28-08-17 16:52, Steve deRosier wrote: On Mon, Aug 28, 2017 at 2:25 AM, Wright Feng wrote: From: Chung-Hsien Hsu The firmware for brcmfmac devices includes information regarding regulatory constraints. For certain devices this information is kept separately in a binary form that needs to

[PATCH 0/7] wil6210 patches

2017-08-28 Thread Maya Erez
The following patches include: - Bug fixes - Optional compilation of wil6210 debugfs Dedy Lansky (2): wil6210: move pre-FW configuration to separate function wil6210: clear PAL_UNIT_ICR part of device reset Gidon Studinski (1): wil6210: make debugfs compilation optional Lazar Alexei (1):

[PATCH 2/7] wil6210: make debugfs compilation optional

2017-08-28 Thread Maya Erez
From: Gidon Studinski Since debugfs is a kernel configuration option, enable the driver to compile without debugfs. Signed-off-by: Gidon Studinski Signed-off-by: Hamad Kadmany Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/Kconfig | 12 drivers/net/wireless/ath/

[PATCH 1/7] wil6210: ratelimit errors in TX/RX interrupts

2017-08-28 Thread Maya Erez
From: Lior David Sometimes there is a firmware crash but the hardware is not fully stopped and continue to send TX/RX interrupts. This can cause an overload of messages which can bring the host down. Add ratelimit to these error messages to fix this. Signed-off-by: Lior David Signed-off-by: May

[PATCH 7/7] wil6210: ensure P2P device is stopped before removing interface

2017-08-28 Thread Maya Erez
From: Lior David User space can remove the P2P management interface while it is active (for example, while listen/search is active) and this can cause a crash. Ensure the P2P device is fully stopped before removing. Signed-off-by: Lior David Signed-off-by: Maya Erez --- drivers/net/wireless/a

[PATCH 4/7] wil6210: move pre-FW configuration to separate function

2017-08-28 Thread Maya Erez
From: Dedy Lansky Re-arrange the code to have dedicated function for device configuration which takes place before FW starts running. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/main.c | 40 ++--- 1 file changed, 22 inse

[PATCH 5/7] wil6210: clear PAL_UNIT_ICR part of device reset

2017-08-28 Thread Maya Erez
From: Dedy Lansky When FW starts running it can get D0 to D3 interrupt that is a leftover from previous system suspend while FW was not running. As this interrupt is not relevant anymore, clear it part of device reset procedure. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/

[PATCH 3/7] wil6210: align to latest auto generated wmi.h

2017-08-28 Thread Maya Erez
From: Lazar Alexei Align to latest version of the auto generated wmi file describing the interface with FW. Signed-off-by: Lazar Alexei Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/wmi.h | 714 ++--- 1 file changed, 475 insertions(+), 239 deletions

[PATCH 6/7] wil6210: increase connect timeout

2017-08-28 Thread Maya Erez
From: Lior David Connect can take longer than current timeout in some scenarios, for example with long-range antenna array. Increase the timeout to support these scenarios. Signed-off-by: Lior David Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/cfg80211.c | 2 +- 1 file change

[PATCH v5] brcmfmac: add CLM download support

2017-08-28 Thread Wright Feng
From: Chung-Hsien Hsu The firmware for brcmfmac devices includes information regarding regulatory constraints. For certain devices this information is kept separately in a binary form that needs to be downloaded to the device. This patch adds support to download this so-called CLM blob file. It u