Re: pull-request: mac80211-next 2018-02-22

2018-02-23 Thread David Miller
From: Johannes Berg Date: Fri, 23 Feb 2018 12:29:39 +0100 > On Thu, 2018-02-22 at 15:19 -0500, David Miller wrote: >> >> Pulled, thank you! > > Thanks. I just realized that I have a patch pending for -next that > depends another commit in net/mac80211 (or would

Re: [PATCH v8] ath10k: add LED and GPIO controlling support for various chipsets

2018-02-23 Thread kbuild test robot
Hi Sebastian, Thank you for the patch! Yet something to improve: [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on v4.16-rc2 next-20180223] [cannot apply to ath6kl/ath-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve

Re: brcmfmac signal/interference issues

2018-02-23 Thread Daniel Drake
Hi, On Wed, Feb 21, 2018 at 12:39 PM, Daniel Drake wrote: > Thanks for looking into this. Here is the brcmfmac43455-sdio.txt file > we are using: > https://gist.github.com/dsd/d7ee3caa6dfd77f0bcd16cf272b20298 > This is identical to the 4345r6nvram.txt file from windows. I

Re: [PATCH v2] cfg80211/nl80211: add DFS offload flag

2018-02-23 Thread Dmitry Lebed
23.02.2018 14:32, Johannes Berg wrote: On Thu, 2018-02-22 at 12:15 +0300, Sergey Matyukevich wrote: + * @NL80211_EXT_FEATURE_DFS_OFFLOAD: HW/driver will offload DFS actions. + * Device or driver will do all DFS-related actions by itself, + * informing user-space about CAC progress,

[PATCH 4.4 180/193] nl80211: Sanitize array index in parse_txq_params

2018-02-23 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams (cherry picked from commit 259d8c1e984318497c84eef547bbb6b1d9f4eb05) Wireless drivers rely on parse_txq_params to validate that txq_params->ac is less

Re: [PATCH 4/4] mac80211: support station 4-addr mode fast-rx

2018-02-23 Thread Johannes Berg
On Fri, 2018-02-23 at 10:06 +0100, Felix Fietkau wrote: > Signed-off-by: Felix Fietkau > --- > net/mac80211/cfg.c | 2 -- > net/mac80211/rx.c | 11 +++ > 2 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c > index

Re: [PATCH 3/4] mac80211: support fast-rx with incompatible PS capabilities when PS is disabled

2018-02-23 Thread Johannes Berg
I've applied 1 to mac80211, and 2/3 to mac80211-next, so please only resend 4, unless you can convince me it's OK as is :-) johannes

Re: pull-request: mac80211-next 2018-02-22

2018-02-23 Thread Johannes Berg
On Thu, 2018-02-22 at 15:19 -0500, David Miller wrote: > > Pulled, thank you! Thanks. I just realized that I have a patch pending for -next that depends another commit in net/mac80211 (or would otherwise conflict badly while applying, and again while merging later), could I ask you to pull net

Re: [PATCH v2] cfg80211/nl80211: add DFS offload flag

2018-02-23 Thread Johannes Berg
On Thu, 2018-02-22 at 12:15 +0300, Sergey Matyukevich wrote: > From: Dmitry Lebed > > Add wiphy EXT_FEATURE flag to indicate that HW or driver does > all DFS actions by itself. > User-space functionality already implemented in hostapd using > vendor-specific (QCA) OUI to

[PATCH] ath: fix false radar detection in JP region

2018-02-23 Thread srirrama
From: Sriram R This fixes false radar detection (of radar type 7) in Japan region by correcting the radar pulse type to Chirp as per specification. Signed-off-by: Sriram R --- drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +- 1 file

Re: [PATCH 2/3] mwifiex: support sysfs initiated device coredump

2018-02-23 Thread Arend van Spriel
+ Johannes (for devcoredump documentation question). On 2/22/2018 8:35 PM, Brian Norris wrote: Hi Arend, On Thu, Feb 22, 2018 at 01:17:56PM +0100, Arend van Spriel wrote: On 2/21/2018 11:59 PM, Brian Norris wrote: On Wed, Feb 21, 2018 at 11:50:19AM +0100, Arend van Spriel wrote: Since

Re: [PATCH 2/3] mwifiex: support sysfs initiated device coredump

2018-02-23 Thread Johannes Berg
Hey, Hadn't really followed this discussion much due to other fires elsewhere :-) On Fri, 2018-02-23 at 11:39 +0100, Arend van Spriel wrote: > > > Well, that depends on the eye of the beholder I guess. From user-space > > > perspective it is asynchronous regardless. A write access to the

Re: brcmfmac signal/interference issues

2018-02-23 Thread Arend van Spriel
On 2/23/2018 9:26 AM, Daniel Drake wrote: Hi, On Wed, Feb 21, 2018 at 12:39 PM, Daniel Drake wrote: Thanks for looking into this. Here is the brcmfmac43455-sdio.txt file we are using: https://gist.github.com/dsd/d7ee3caa6dfd77f0bcd16cf272b20298 This is identical to the

[PATCH 1/4] mac80211: drop frames with unexpected DS bits from fast-rx to slow path

2018-02-23 Thread Felix Fietkau
Fixes rx for 4-addr packets in AP mode Signed-off-by: Felix Fietkau --- net/mac80211/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 3dc162ddc3a6..1c947e005434 100644 --- a/net/mac80211/rx.c +++

[PATCH 2/4] mac80211: support AP 4-addr mode fast-rx

2018-02-23 Thread Felix Fietkau
Signed-off-by: Felix Fietkau --- net/mac80211/rx.c | 9 + 1 file changed, 9 insertions(+) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 1c947e005434..bef83c6bf50c 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -3783,6 +3783,15 @@ void

[PATCH 4/4] mac80211: support station 4-addr mode fast-rx

2018-02-23 Thread Felix Fietkau
Signed-off-by: Felix Fietkau --- net/mac80211/cfg.c | 2 -- net/mac80211/rx.c | 11 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 6f9d5beec73e..72b5a2ec4e94 100644 --- a/net/mac80211/cfg.c +++

[PATCH 3/4] mac80211: support fast-rx with incompatible PS capabilities when PS is disabled

2018-02-23 Thread Felix Fietkau
When powersave is disabled for the interface, we can do fast-rx anyway. Signed-off-by: Felix Fietkau --- net/mac80211/cfg.c | 1 + net/mac80211/rx.c | 17 +++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c

Re: [PATCH] rtlwifi: rtl8723be: Fix loss of signal

2018-02-23 Thread Kalle Valo
Larry Finger writes: > In commit c713fb071edc ("rtlwifi: rtl8821ae: Fix connection lost problem > correctly") a problem in rtl8821ae that caused loss of signal was fixed. > That same problem has now been reported for rtl8723be. Accordingly, > the ASPM L1 latency has

[stable 4.4 17/29] nl80211: Sanitize array index in parse_txq_params

2018-02-23 Thread Jack Wang
From: Dan Williams (cherry picked from commit 259d8c1e984318497c84eef547bbb6b1d9f4eb05) Wireless drivers rely on parse_txq_params to validate that txq_params->ac is less than NL80211_NUM_ACS by the time the low-level driver's ->conf_tx() handler is called. Use a new

Re: brcmfmac signal/interference issues

2018-02-23 Thread Daniel Drake
On Fri, Feb 23, 2018 at 12:54 PM, Arend van Spriel wrote: > Yup. Windows firmware talks NDIS. If you run 'strings 4345r6rtecdc.bin | > tail -1' you can see the firmware build target and it likely has 'ndis' in > it.

[v8 2/8] rsi: add bluetooth rx endpoint

2018-02-23 Thread Amitkumar Karwar
From: Siva Rebbagondla USB endpoint 1 is used for WLAN which is presently in use. USB endpoint 2 is introduced for BT Rx traffic. Enumeration of Rx BT endpoint and submitting Rx BT URB are added. >From /sys/kernel/debug/usb/devices, Ad=81(I) is for WLAN EP

[v8 4/8] rsi: add coex support

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi With BT support, driver has to handle two streams of data (i.e. wlan and BT). Actual coex implementation is in firmware. Coex module just schedule the packets to firmware by taking them from the corresponding paths. Structures for module

[v8 5/8] Bluetooth: btrsi: add new rsi bluetooth driver

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Redpine bluetooth driver is a thin driver which depends on 'rsi_91x' driver for transmitting and receiving packets to/from device. It creates hci interface when attach() is called from 'rsi_91x' module. Signed-off-by: Prameela Rani

[v8 7/8] rsi: add module parameter operating mode

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Operating mode determines the support for other protocols. This is made as module parameter for better usage. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Rebbagondla

[v8 0/8] rsi: add bluetooth and coex support

2018-02-23 Thread Amitkumar Karwar
From: Amitkumar Karwar This patch series adds new bluetooth driver and coex enhancments in existing wlan driver for RSI chipsets. As per our architecture, both wlan and bluetooth drivers talk over same SDIO interface to device. Separate endpoint will be used in

[v8 1/8] rsi: add rx control block to handle rx packets in USB

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Rx bluetooth endpoint shall be added in further patches. Rx control block is introduced here to handle Rx packets properly. Separate function is written to initialize the RX control blocks. Signed-off-by: Prameela Rani Garnepudi

[v8 8/8] rsi: sdio changes to support BT

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi Queue number is correctly updated for BT traffic. Also, kzalloc instead of kmalloc is used for Rx packet allocation. Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Amitkumar Karwar

[v8 6/8] rsi: handle BT traffic in driver

2018-02-23 Thread Amitkumar Karwar
From: Siva Rebbagondla BT frames are passed through coex and hal modules to BUS. After firmware is loaded, based on the operating mode CARD READY frame comes for each protocol. When BT card ready is received, BT attach is called. Protocol operations are

[v8 3/8] rsi: add header file rsi_91x

2018-02-23 Thread Amitkumar Karwar
From: Prameela Rani Garnepudi The common parameters used by wlan and bt modules are add to a new header file "rsi_91x.h" defined in 'include/net' Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Siva Rebbagondla

Re: [PATCH 4/4] mac80211: support station 4-addr mode fast-rx

2018-02-23 Thread Felix Fietkau
On 2018-02-23 12:24, Johannes Berg wrote: > On Fri, 2018-02-23 at 10:06 +0100, Felix Fietkau wrote: >> Signed-off-by: Felix Fietkau >> --- >> net/mac80211/cfg.c | 2 -- >> net/mac80211/rx.c | 11 +++ >> 2 files changed, 7 insertions(+), 6 deletions(-) >> >> diff --git

[PATCH v2] mac80211: support station 4-addr mode fast-rx

2018-02-23 Thread Felix Fietkau
Signed-off-by: Felix Fietkau --- net/mac80211/rx.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 6e2506a84586..6944705c5258 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -3747,10 +3747,6 @@

[PATCH] brcm80211: remove duplicated bit-wise or of IEEE80211_CHAN_NO_IR

2018-02-23 Thread Colin King
From: Colin Ian King Bit pattern IEEE80211_CHAN_NO_IR is being bit-wise or'd twice; remove the redundant 2nd IEEE80211_CHAN_NO_IR Signed-off-by: Colin Ian King --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c | 1 - 1 file

Re: [PATCH] rtlwifi: rtl8723be: Fix loss of signal

2018-02-23 Thread Larry Finger
On 02/23/2018 03:18 AM, Kalle Valo wrote: Larry Finger writes: In commit c713fb071edc ("rtlwifi: rtl8821ae: Fix connection lost problem correctly") a problem in rtl8821ae that caused loss of signal was fixed. That same problem has now been reported for rtl8723be.