Re: [PATCH v2 1/5] mwifiex: remove redundant condition in main process

2016-11-07 Thread Kalle Valo
Xinming Hu writes: > We have include below change in latest submit > https://patchwork.kernel.org/patch/9407283/ > Please drop this patch. When making changes please resend the whole patchset. I do not want to individually pick patches from different places, that will eventually go wrong anyway

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
On 7 November 2016 at 18:06, Valo, Kalle wrote: > Bruno Antunes writes: > >> On 4 November 2016 at 21:17, Valo, Kalle wrote: >>> Bruno Antunes writes: >>> Old thread but I think the issue is still present. I'm running a setup with VLANs with WDS and ath10k cards. To mak

Re: ATH10K VLAN firmware issue

2016-11-07 Thread Valo, Kalle
Bruno Antunes writes: > On 4 November 2016 at 21:17, Valo, Kalle wrote: >> Bruno Antunes writes: >> >>> Old thread but I think the issue is still present. >>> >>> I'm running a setup with VLANs with WDS and ath10k cards. >>> >>> To make it work both cards must be loaded in rawmode, AP >>> and S

[PATCH 3/8] ibss: Use common freqchan helper for joining an ibss

2016-11-07 Thread Benjamin Berg
Simplify code by using the helper which has been introduced earlier. Signed-off-by: Benjamin Berg --- ibss.c | 72 ++ 1 file changed, 10 insertions(+), 62 deletions(-) diff --git a/ibss.c b/ibss.c index 2b0b495..84f1e95 100644 ---

[PATCH 1/8] util: Add generic frequency/channel command line handler

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg The ability to parse channel definitions is required in a lot of places inside iw. However, right now each of these duplicates a lot of code to handle it. So add a new helper which can be used everywhere. Signed-off-by: Benjamin Berg --- iw.h | 10 +++ util.c | 239

[PATCH 5/8] Add cac command to allow clearing channels

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg Allow the user to start a CAC for clearing DFS channels. Signed-off-by: Simon Wunderlich Signed-off-by: Benjamin Berg --- phy.c | 145 ++ 1 file changed, 145 insertions(+) diff --git a/phy.c b/phy.c index 266

[PATCH 8/8] Print frequency of radar events.

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg Signed-off-by: Simon Wunderlich Signed-off-by: Benjamin Berg --- event.c | 48 +--- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/event.c b/event.c index 446debb..8014d73 100644 --- a/event.c +++ b/event.c @@ -58

[PATCH 4/8] mesh: Use common freqchan helper for joining a mesh

2016-11-07 Thread Benjamin Berg
Simplify code by using the helper which has been introduced earlier. Signed-off-by: Benjamin Berg --- mesh.c | 67 +++--- 1 file changed, 11 insertions(+), 56 deletions(-) diff --git a/mesh.c b/mesh.c index a0047fe..97f236b 100644 ---

[PATCH 0/8] iw: Add common chandef parser and new DFS related commands

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg Hi, This patchset adds commands for doing a CAC and sending CSA. Another change is that parsing of command line frequency and channel definitions is split out so that it can be shared between the different users. Benjamin Benjamin Berg (7): util: Add generic frequency/ch

[PATCH 2/8] phy: Use common freqchan helper for setting the operating channel

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg Simplify code by using the helper which has been introduced earlier. Signed-off-by: Benjamin Berg --- phy.c | 143 -- 1 file changed, 25 insertions(+), 118 deletions(-) diff --git a/phy.c b/phy.c index c57a71f

[PATCH 7/8] Add flag for DFS handling in IBSS

2016-11-07 Thread Benjamin Berg
From: Simon Wunderlich When Userspace is capable of handling DFS, it can inform the kernel about that by sending the NL80211_ATTR_HANDLE_DFS attribute when joining an IBSS. DFS channels will then be unlocked. Note that this flag is only added for debugging purposes and therefore hidden from the

[PATCH 6/8] Add commands to send CSA

2016-11-07 Thread Benjamin Berg
From: Benjamin Berg Add a new set of commands to send a CSA. Both the number of beacons and the flag to block TX can be given optionally. Signed-off-by: Simon Wunderlich Signed-off-by: Benjamin Berg --- interface.c | 72 + iw.h

Re: [PATCH 1/2] cfg80211: Add support to set tx power for a station associated

2016-11-07 Thread Ben Greear
On 11/07/2016 06:10 AM, Ashok Raj Nagarajan wrote: On 2016-08-01 18:57, Ben Greear wrote: On 08/01/2016 02:29 AM, Johannes Berg wrote: Sure.. First use case will be to help with the problem of legacy client devices that roam across multiple APs. It is a classic enterprise Wi-Fi AP problem,

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
On 7 November 2016 at 14:06, Ben Greear wrote: > On 11/07/2016 03:54 AM, Bruno Antunes wrote: >> >> On 4 November 2016 at 22:23, Ben Greear wrote: >>> >>> The bug appears that vlan-tx-stripping is unconditionally enabled in >>> at least my firmware. I have re-compiled w/out that flag set, and it

Re: [PATCH 1/2] cfg80211: Add support to set tx power for a station associated

2016-11-07 Thread Ashok Raj Nagarajan
On 2016-08-01 18:57, Ben Greear wrote: On 08/01/2016 02:29 AM, Johannes Berg wrote: Sure.. First use case will be to help with the problem of legacy client devices that roam across multiple APs. It is a classic enterprise Wi-Fi AP problem, often managed by a "network controller" unit that is

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Ben Greear
On 11/07/2016 03:54 AM, Bruno Antunes wrote: On 4 November 2016 at 22:23, Ben Greear wrote: The bug appears that vlan-tx-stripping is unconditionally enabled in at least my firmware. I have re-compiled w/out that flag set, and it appears to work for me. Please download this firmware, rename i

Re: ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
On 4 November 2016 at 21:17, Valo, Kalle wrote: > Bruno Antunes writes: > >> Old thread but I think the issue is still present. >> >> I'm running a setup with VLANs with WDS and ath10k cards. >> >> To make it work both cards must be loaded in rawmode, AP >> and Sta, and with no security. >> >> I'

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-07 Thread Bruno Antunes
On 4 November 2016 at 22:23, Ben Greear wrote: > The bug appears that vlan-tx-stripping is unconditionally enabled in > at least my firmware. I have re-compiled w/out that flag set, and it > appears > to work for me. > > Please download this firmware, rename it firmware-2.bin, make sure you > rem