[PATCH] ath10k: fix MSI-X registering for qca99x0

2015-09-17 Thread Janusz Dziedzic
In case of qca99x0 and MSI-X supported/enabled we failed during interrupts registering with message: ath10k_pci :04:00.0: failed to request MSI-X ce irq 50: -22 Issue/fix was reproduced/tested using Dell Latitude E6430 laptop. Signed-off-by: Janusz Dziedzic ---

[PATCH V2 7/8] staging: wilc1000: remove useless comment

2015-09-17 Thread Chaehyun Lim
This patch removes useless comment that is included "BugID_" Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/host_interface.c | 36 --- drivers/staging/wilc1000/host_interface.h | 4 ---

[PATCH V2 8/8] staging: wilc1000: remove declaration of wilc_get_chipid

2015-09-17 Thread Chaehyun Lim
This patch removes the declaration of wilc_get_chipid function. It is included wilc_wlan_if.h that has declaration of wilc_get_chipid. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/host_interface.c | 3 +-- 1 file changed, 1

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-17 Thread Sudip Mukherjee
On Thu, Sep 17, 2015 at 09:09:35AM +0530, Ronit Halder wrote: > On Wed, 2015-09-16 at 20:15 -0700, Greg KH wrote: > > On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > > > > I don't remember, that was many hundreds of patches ago, sorry. Try it > > yourself to see if I messed up. Perhaps

[PATCH V2 1/8] staging: wilc1000: remove INLINE macro

2015-09-17 Thread Chaehyun Lim
This patch removes INLINE macro that is used anymore. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/coreconfigurator.c | 1 - drivers/staging/wilc1000/wilc_wlan.c| 1 - 2 files changed, 2 deletions(-) diff --git

[PATCH V2 2/8] staging: wilc1000: replace __inline with inline

2015-09-17 Thread Chaehyun Lim
This patch replaces __inline with inline. plain inline is more preferred than __inline. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/wilc_wlan.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH V2 4/8] staging: wilc1000: linux_wlan_spi.c: fix kzalloc error check

2015-09-17 Thread Chaehyun Lim
This patch fixes error check of kzalloc. If kzalloc is failed, return type is used as -ENOMEM. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/linux_wlan_spi.c | 22 -- 1 file changed, 8 insertions(+), 14

[PATCH V2 5/8] staging: wilc1000: remove unused defines

2015-09-17 Thread Chaehyun Lim
This patch removes unused defines. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/wilc_platform.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_platform.h

[PATCH V2 6/8] staging: wilc1000: remove WILC_TIME typedef

2015-09-17 Thread Chaehyun Lim
This patch removes WILC_TIME typedef that is not used anymore. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/wilc_platform.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_platform.h

[PATCH V2 3/8] staging: wilc1000: replace int8_t with int

2015-09-17 Thread Chaehyun Lim
This patch replaces int8_t with int. just use return type as int. Signed-off-by: Chaehyun Lim --- V2 : rebase latest staging-testing drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 4/4] staging: wilc1000: wilc_wlan_if.h align defines

2015-09-17 Thread Tony Cho
From: Leo Kim This patch fix alignment of some defines in wilc_wlan_if.h. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 580 1 file changed, 290

[PATCH v2 2/4] staging: wilc1000: remove warnings on the multiple blank lines uses

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for using multiple blank lines. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 12 1 file changed, 12

[PATCH v2 3/4] staging: wilc1000: remove warnings line over 80 characters

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 650 ++-- 1

[PATCH v2 0/4] v2 of the series including the null check routin

2015-09-17 Thread Tony Cho
The previous series of 4 patches include a commit message ambiguous and not enough to explain why the patch is made and needed. So, this version 2 includes the modification on the commit message of the patch for a null check fix. Leo Kim (4): staging: wilc1000: fix null check routine staging:

[PATCH v2 1/4] staging: wilc1000: fix null check routine

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the potential faults which may happen when unexpectedly getting access to invalid pointer. The pointer of pstrWFIDrv is unlikely to be invalid. However, it is safer to return error when the invalid memory is unfortunately accessed.

Re: [PATCH V2 3/8] staging: wilc1000: replace int8_t with int

2015-09-17 Thread Chaehyun Lim
On Thu, Sep 17, 2015 at 7:34 PM, Sudip Mukherjee wrote: > On Thu, Sep 17, 2015 at 04:48:44PM +0900, Chaehyun Lim wrote: >> This patch replaces int8_t with int. just use return type as int. >> >> Signed-off-by: Chaehyun Lim >> --- > but isn't

[PATCH v2] ath9k: Add support for OCB mode

2015-09-17 Thread Jan Kaisrlik
The patch adds support for "outside the context of a BSS"(OCB) mode to ath9k driver and extends debugfs files by OCB ralated information. This patch was tested on AR9380-AL1A cards. Signed-off-by: Jan Kaisrlik Cc: Michal Sojka --- changes: * OCB mode

Re: [PATCH V2 1/8] staging: wilc1000: remove INLINE macro

2015-09-17 Thread Sudip Mukherjee
On Thu, Sep 17, 2015 at 04:48:42PM +0900, Chaehyun Lim wrote: > This patch removes INLINE macro that is used anymore. used? if used then why are you removing it? :) regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to

Re: [PATCH V2 3/8] staging: wilc1000: replace int8_t with int

2015-09-17 Thread Sudip Mukherjee
On Thu, Sep 17, 2015 at 04:48:44PM +0900, Chaehyun Lim wrote: > This patch replaces int8_t with int. just use return type as int. > > Signed-off-by: Chaehyun Lim > --- but isn't int8_t is defined as char? regards sudip -- To unsubscribe from this list: send the line

Re: [PATCH] ath10k: move hw_scan worker queuing

2015-09-17 Thread Kalle Valo
Michal Kazior writes: > The remain_on_channel callback needs different > timeout. Calling ieee80211_queue_work() with a > shorter delay after calling it with a longer delay > will not change the timer. This caused the > offchannel timeout worker to not trigger in time >

Re: [PATCH 1/2] ath10k: split switch_vif_chanctx guts

2015-09-17 Thread Kalle Valo
Michal Kazior writes: > This is necessary to make vdev restarting logic > reusable later. > > Signed-off-by: Michal Kazior Thanks, both patches applied. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] ath10k: add ATH10K_FW_FEATURE_RAW_MODE_SUPPORT to ath10k_core_fw_feature_str[]

2015-09-17 Thread Kalle Valo
Kalle Valo writes: > This was missed in the original commit adding the flag and ath10k only > printed "bit10": > > ath10k_pci :02:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff) fw > 10.2.4.70.6-2 api 3 > htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto

Re: [PATCH v3 1/3] ath10k: enable monitor when OTHER_BSS requested

2015-09-17 Thread Kalle Valo
Bob Copeland writes: > By default, ath10k restricts received frames to those matching BSSID. > When other BSS frames are requested (e.g. in mesh mode), add an internal > monitor device so those frames are not filtered. > > Signed-off-by: Bob Copeland

[PATCH v2 1/2] staging: wilc1000: remove define RX_BH_TYPE

2015-09-17 Thread Tony Cho
From: Glen Lee This patch removes the preprocessor definition, RX_BH_TYPE and uses the request_threaded_irq instead of kernel thread to execute the interrupt handler. As a result, linux_wlan_enable_irq() and linux_wlan_disable_irq() are also removed from the linux_wlan.c

[PATCH v2 0/2] resend version 2 for RX_BH_TYPE patch

2015-09-17 Thread Tony Cho
This series of patch is the version 2 for the RX_BH_TYPE patch before sent. Glen Lee (2): staging: wilc1000: remove define RX_BH_TYPE staging: wilc1000: remove do-nothing ifdef statement drivers/staging/wilc1000/linux_wlan.c | 149 +-

[PATCH v2 2/2] staging: wilc1000: remove do-nothing ifdef statement

2015-09-17 Thread Tony Cho
From: Glen Lee This patch removes do-nothing ifdef, else statement and add ifdef WILC_SDIO for disable_sdio_interrupt(). Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 10 ++ 1

Re: [PATCH 1/4] staging: wilc1000: Modify null check routine

2015-09-17 Thread Tony Cho
On 2015년 09월 17일 18:06, Nicolas Ferre wrote: Le 17/09/2015 10:50, Tony Cho a écrit : From: Leo Kim This patch modify null check routine. - Null check error non return. (Handle_RcvdGnrlAsyncInfo) It doesn't parse... Is it fixing a bug? What were the consequences without

[PATCH 2/4] staging: wilc1000: remove warnings on the multiple blank lines uses

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for using multiple blank lines. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 12 1 file changed, 12

[PATCH 3/4] staging: wilc1000: remove warnings line over 80 characters

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 650 ++-- 1

[PATCH 1/4] staging: wilc1000: Modify null check routine

2015-09-17 Thread Tony Cho
From: Leo Kim This patch modify null check routine. - Null check error non return. (Handle_RcvdGnrlAsyncInfo) Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 4 +++- 1 file changed, 3

[PATCH 4/4] staging: wilc1000: wilc_wlan_if.h align defines

2015-09-17 Thread Tony Cho
From: Leo Kim This patch fix alignment of some defines in wilc_wlan_if.h. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_wlan_if.h | 580 1 file changed, 290

Re: [PATCH 1/4] staging: wilc1000: Modify null check routine

2015-09-17 Thread Nicolas Ferre
Le 17/09/2015 10:50, Tony Cho a écrit : > From: Leo Kim > > This patch modify null check routine. > - Null check error non return. (Handle_RcvdGnrlAsyncInfo) It doesn't parse... Is it fixing a bug? What were the consequences without the return? Bye, > Signed-off-by: Leo

[PATCH v2] wil6210: remove MCS radiotap field

2015-09-17 Thread Johannes Berg
From: Johannes Berg The MCS radiotap field was really intended for HT MCS (and the radiotap spec does indiciate that) and dissectors treat it as meaning the frame was a HT frame. Therefore, inclusion of it in a 60GHz device is misleading. Cf. the thread at

[PATCH] wil6210: remove MCS radiotap field

2015-09-17 Thread Johannes Berg
From: Johannes Berg The MCS radiotap field was really intended for HT MCS (and the radiotap spec does indiciate that) and dissectors treat it as meaning the frame was a HT frame. Therefore, inclusion of it in a 60GHz device is misleading. Cf. the thread at

[RFC 7/7] mac80211: implement nan_change_conf

2015-09-17 Thread andrei . otcheretianski
From: Andrei Otcheretianski Add a trivial implementation for nan_change_conf by simply passing everything directly to the driver. Signed-off-by: Andrei Otcheretianski --- net/mac80211/cfg.c| 18 ++

[RFC 6/7] mac80211: Implement add_nan_func and rm_nan_func

2015-09-17 Thread andrei . otcheretianski
From: Andrei Otcheretianski Add a trivial implementation for add/rm_nan_func functions. Currently mac80211 just passes the configuration to the driver. Signed-off-by: Andrei Otcheretianski --- include/net/mac80211.h| 17

[RFC 1/7] cfg80211: add start / stop NAN commands

2015-09-17 Thread andrei . otcheretianski
From: Emmanuel Grumbach This allows user space to start/stop NAN interface. A NAN interface is like P2P device in a few aspects: it doesn't have a netdev associated to it. Add the new interface type and prevent operations that can't be executed on NAN interface like

[RFC 2/7] mac80211: add boilerplate code for start / stop NAN

2015-09-17 Thread andrei . otcheretianski
From: Emmanuel Grumbach This codes doens't do much besides allowing to start and stop the vif. Signed-off-by: Emmanuel Grumbach Signed-off-by: Andrei Otcheretianski --- include/net/mac80211.h| 9

[RFC 3/7] cfg80211: add add_nan_func / rm_nan_func

2015-09-17 Thread andrei . otcheretianski
From: Emmanuel Grumbach A NAN function can be either publish, subscribe or follow up. Make all the necessary verifications and just pass the request to the driver. Signed-off-by: Emmanuel Grumbach Signed-off-by: Andrei Otcheretianski

[RFC 5/7] cfg80211: provide a function to report a match for NAN

2015-09-17 Thread andrei . otcheretianski
From: Emmanuel Grumbach Provide a function the driver can call to report a match. This will send the event to the user space. Signed-off-by: Emmanuel Grumbach Signed-off-by: Andrei Otcheretianski ---

Re: [PATCH 1/1] New driver: rtl8xxxu (mac80211)

2015-09-17 Thread Johannes Berg
On Sat, 2015-09-05 at 09:32 +0530, Sujith Manoharan wrote: > Jes Sorensen wrote: > > > Ah, this makes sense. There's an rc_update call or something like > > > that, > > > that might have the requisite information. Not really sure off > > > the top > > > of my head. > > ieee80211_sta doesn't

Re: [PATCH 3/3] ath10k: implement mesh support

2015-09-17 Thread Yeoh Chun-Yeow
Hi, Bob I have also tested with nwifi mode for non-secured mesh. It seems to be worked for me with the following two test scenarios: Node 1 [ath10k] <---> Node 2 [ath10k] <---> Node 3 [ath10k] Node 1 [ath10k] <---> Node 2 [ath9k] I am using the following: compat-wireless-2015-07-21 from OpenWRT

Use iw to disable all rates for a particular rateset?

2015-09-17 Thread Ben Greear
Is there any way to have iw configure to use *just* legacy rates, for instance: iw dev wlan0 bitrates legacy-2.4 1 2 5.5 11 [and disable all others, including HT and VHT] ? From what I can tell, there is not. I need a way to disable HT and VHT rates before a peer exists so that I can cause

Re: Use iw to disable all rates for a particular rateset?

2015-09-17 Thread Ben Greear
On 09/17/2015 02:37 PM, Ben Greear wrote: Is there any way to have iw configure to use *just* legacy rates, for instance: iw dev wlan0 bitrates legacy-2.4 1 2 5.5 11 [and disable all others, including HT and VHT] ? Err, nevermind..I think this is the second time I thought this was broken,

Re: [PATCH 3/3] ath10k: implement mesh support

2015-09-17 Thread Peter Oh
On 09/17/2015 10:48 AM, Yeoh Chun-Yeow wrote: Hi, Bob I have also tested with nwifi mode for non-secured mesh. It seems to be worked for me with the following two test scenarios: Node 1 [ath10k] <---> Node 2 [ath10k] <---> Node 3 [ath10k] Node 1 [ath10k] <---> Node 2 [ath9k] I am using the