RE: kernel log flooded with GET_CMD_NODE: cmd node not available

2015-09-16 Thread Amitkumar Karwar
> From: Marty Faltesek [mailto:mfalte...@google.com] > Sent: Friday, September 04, 2015 3:21 AM > To: Belisko Marek > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org > Subject: Re: kernel log flooded with GET_CMD_NODE: cmd node not > available > > On Mon, Aug 31, 2015 at 7:54 AM, Belisko

[PATCH 3/8] staging: wilc1000: remove define TCP_ENHANCEMENTS and it's related code

2015-09-16 Thread Tony Cho
From: Glen Lee TCP_ENHANCEMENTS is always in use. Remove define TCP_ENHANCEMENTS, ifdef line, ifndef line and codes inside ifndef. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c

[PATCH 4/8] staging: wilc1000: remove function linux_wlan_rxq_task

2015-09-16 Thread Tony Cho
From: Glen Lee linux_wlan_rxq_task is not used in the driver. Just remove it. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 26 -- 1 file changed, 26 deletions(-)

[PATCH 8/8] staging: wilc1000: remove unused variable rxq_thread

2015-09-16 Thread Tony Cho
From: Glen Lee The rxq_thread never runs since it's kthread_run code was delete in a previous patch. Remove kthread_run and it's related codes. Signed-off-by: Glen Lee Signed-off-by: Tony Cho ---

[PATCH 6/8] staging: wilc1000: remove unused semaphore and it's related codes

2015-09-16 Thread Tony Cho
From: Glen Lee Variable rxq_event, rxq_wait_event and rxq_wait have the same pointer. nwi->os_context.rxq_wait_event = (void *)_linux_wlan->rxq_event; g_wlan.rxq_wait = inp->os_context.rxq_wait_event; They are never aquired(down) since down function was only called in

[PATCH v2 3/6] staging: wilc1000: remove the macro WILC_ERRORREPORT

2015-09-16 Thread Tony Cho
From: Leo Kim This patch removes the macro WILC_ERRORREPORT which is not used anymore by replacing it with the plain statements. The compiler complains the build warnings in some functions for WILC_CATCH and ERRORHANDLER as unused definitions. So, this patch also removes

[PATCH v2 5/6] staging: wilc1000: replace wilc error types with the generic error types

2015-09-16 Thread Tony Cho
From: Leo Kim This patch replaces the error types defined by wilc driver with the generic error types provided by the Linux kernel. - WILC_SUCCESS 0 - WILC_FAIL -EFAULT - WILC_BUSY -EBUSY -

[PATCH v2 4/6] staging: wilc1000: remove definitions unused

2015-09-16 Thread Tony Cho
From: Leo Kim Remove the definitions which are not used anywhere. - WILC_ALREADY_EXSIT - WILC_EMPTY - WILC_FULL - WILC_CANCELED - WILC_INVALID_FILE - WILC_UNSUPPORTED_VERSION - WILC_FILE_EOF Remove the definition which is not used anymore. - WILC_CATCH Signed-off-by: Leo Kim

[PATCH v2 2/6] staging: wilc1000: remove the macro WILC_ERRORCHECK

2015-09-16 Thread Tony Cho
From: Leo Kim This patch removes the macro WILC_ERRORCHECK which is not used anymore by replacing it with the plain statements. This patch also removes the WILC_CATCH macros from some of functions not to make the build warnings. Signed-off-by: Leo Kim

[PATCH v2 6/6] staging: wilc1000: remove wilc_errorsupport.h

2015-09-16 Thread Tony Cho
From: Leo Kim This patch removes the wilc_errorsupport.h which is not used anymore and also deletes #include "wilc_errorsupport.h" from the source code. In addition, adds linux_wlan_common.h file in the wilc_msgqueue.c file in order to use PRINT macros defined in the

[PATCH 1/8] staging: wilc1000: remove define WILC_AP_EXTERNAL_MLME and ifdef line

2015-09-16 Thread Tony Cho
From: Glen Lee This driver use WILC_AP_EXTERNAL_MLME define always. Delete define WILC_AP_EXTERNAL_MLME and ifdef line. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 30

[PATCH 5/8] staging: wilc1000: remove variable rxq_thread_started

2015-09-16 Thread Tony Cho
From: Glen Lee rxq_thread_started is initiallized but never used in the driver. Remove the variable and init code line. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 1 -

[PATCH 7/8] staging: wicl1000: remove function pointer wlan_handle_rx_que

2015-09-16 Thread Tony Cho
From: Glen Lee The function pointer wlan_handle_rx_que is not called anywhere. Delete wlan_handle_rx_que and it's assignment code. But the function wilc_wlan_handle_rxq in assignment code is used. So leave it. Signed-off-by: Glen Lee Signed-off-by: Tony

[RESEND PATCH] NFC: trf7970a: Add OF match table

2015-09-16 Thread Javier Martinez Canillas
The Documentation/devicetree/bindings/net/nfc/trf7970a.txt DT binding doc lists "ti,trf7970a" as a compatible string but the corresponding driver does not have an OF match table. Add the table to the driver so the SPI core can do an OF style match. Signed-off-by: Javier Martinez Canillas

[PATCH v2 0/6] removing wilc_errorsupport.h file

2015-09-16 Thread Tony Cho
This series of patch is resent in total 6 patches as version 2. This version fixes the warnings reported by checkpatch.pl not to make additional warnings. The concern for the memory leak issue is checked again in this version. The error types provided by wilc driver are being replaced by the ones

[PATCH v2 1/6] staging: wilc1000: remove a macro WILC_NULLCHECK

2015-09-16 Thread Tony Cho
From: Leo Kim This patch replaces WILC_NULLCHECK with the plain statements and then removes the macro WILC_NULLCHECK in wilc_errorsupport.h which is not used anymore. Signed-off-by: Leo Kim Signed-off-by: Tony Cho ---

[PATCH] ath10k: fix ldpc param for fixed rate

2015-09-16 Thread Rajkumar Manoharan
ldpc is not configured for fixed rates. This blocks auto rate vs fixed rate performance comparison. Since firmware is considering ldpc vdev param for fixed rate selection, it has to be configured to enable ldpc for fixed rates. Signed-off-by: Rajkumar Manoharan ---

[PATCH 04/10] staging: wilc1000: replace __inline with inline

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

[PATCH 06/10] staging: wilc1000: linux_wlan_spi.c: fix kzalloc error check

2015-09-16 Thread Chaehyun Lim
This patch fixs error check of kzalloc. If kzalloc is failed, return type is used as -ENOMEM. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/linux_wlan_spi.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git

[PATCH 02/10] staging: wilc1000: replace INLINE with static inline

2015-09-16 Thread Chaehyun Lim
INLINE macro is defined as static __inline so that it is replaced by static inline. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 30 ++--- drivers/staging/wilc1000/wilc_wlan.c| 16 +++ 2 files

[PATCH 01/10] staging: wilc1000: wilc_wlan.c: use BIT(x) macro

2015-09-16 Thread Chaehyun Lim
Remove bit shift macro that is custom defined, then replace BIT(x) macro. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 05/10] staging: wilc1000: replace int8_t with int

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

RE: [RFC v2] [resend] ath9k: allow up to 8 access point vifs on DFS channels

2015-09-16 Thread Jean-Pierre Tosoni
Hi Matthias, The patch is working for me, and I am using it, but I could not test Much further since real-life radar situations are hard to produce. Before DFS integration, combinations were less limited. I submitted the patch as a RFC only, because I suspected the DFS people had a hidden reason

[PATCH] staging: wilc1000: Added new lines

2015-09-16 Thread Aparna Karuthodi
Added new lines after declarations for removing coding style warnings detected by checkpatch.The warnings are given below: 1561: WARNING: Missing a blank line after declarations 1551: WARNING: Missing a blank line after declarations 1329: WARNING: Missing a blank line after declarations 1213:

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

2015-09-16 Thread Bob Copeland
On Tue, Sep 15, 2015 at 12:21:35AM -0700, Peter Oh wrote: > Can we configure mesh point with hostapd or can we use mesh point without > neither wpa_supplicant nor hostapd? > Currently I'm trying to bring up mesh point, but whenever I run hostpad > after creating mesh point (iw phy0 interface add

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

2015-09-16 Thread Bob Copeland
On Mon, Aug 31, 2015 at 01:43:28AM +0800, Chun-Yeow Yeoh wrote: > Hi, Bob > > > Yes: you don't want to enable raw mode TX / RX decap in the normal > > case because it's fairly inefficient compared to "native" wifi mode, > > according to my understanding. The latter doesn't support mesh framing >

Re: kernel log flooded with GET_CMD_NODE: cmd node not available

2015-09-16 Thread Belisko Marek
On Wed, Sep 16, 2015 at 8:40 AM, Amitkumar Karwar wrote: >> From: Marty Faltesek [mailto:mfalte...@google.com] >> Sent: Friday, September 04, 2015 3:21 AM >> To: Belisko Marek >> Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org >> Subject: Re: kernel log flooded with

[PATCH 07/10] staging: wilc1000: remove unused defines

2015-09-16 Thread Chaehyun Lim
This patch removes unused defines. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_platform.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_platform.h b/drivers/staging/wilc1000/wilc_platform.h index 1e56973..5c867ec

[PATCH 09/10] staging: wilc1000: remove useless comment

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

[PATCH 08/10] staging: wilc1000: remove WILC_TIME typedef

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

[PATCH 10/10] staging: wilc1000: remove declaration of wilc_get_chipid

2015-09-16 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 --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] wireless-regdb: Add ETSI as the DFS region for Hong Kong

2015-09-16 Thread Seth Forshee
Based on [1], Hong Kong follows ETSI requirements for DFS. [1] http://www.ofca.gov.hk/filemanager/ofca/en/content_401/hkta1039.pdf Signed-off-by: Seth Forshee --- db.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.txt b/db.txt index

[PATCH] staging: wilc1000: Removed unwanted curly braces

2015-09-16 Thread Aparna Karuthodi
Removed unwanted curly braces of a single statement if-else block to remove a coding style warning detected by checkpatch. The warning is given below: 58: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Aparna Karuthodi ---

[PATCH] staging: wilc1000: Added spaces

2015-09-16 Thread Aparna Karuthodi
Added spaces around '=' to remove coding style errors detected by checkpatch.The errors are given below: drivers/staging/wilc1000/host_interface.c:7951: ERROR: spaces required around that '=' (ctx:VxV) drivers/staging/wilc1000/host_interface.c:7952: ERROR: spaces required around that '=' (ctx:VxW)

Re: lenovo t400 atheros ar242x ath5k bug

2015-09-16 Thread Bob Copeland
(Please don't top-post. Reordered it somewhat.) On Wed, Sep 16, 2015 at 02:19:12PM -0600, Brady Lyles wrote: > wondering if there are any more questions/suggestions to resolve this issue? > Thank you! > > > >> My wild guess (not being too familiar with qubes) is that passthrough is > >> not >

Re: lenovo t400 atheros ar242x ath5k bug

2015-09-16 Thread Brady Lyles
Hi All, wondering if there are any more questions/suggestions to resolve this issue? Thank you! On Thu, Aug 6, 2015 at 11:27 AM, Brady Lyles wrote: > sudo lspci -vnn > > 00:00.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit > Network Connection [8086:10f5]

Re: [PATCH] staging: wilc1000: Removed unwanted curly braces

2015-09-16 Thread Dan Carpenter
On Wed, Sep 16, 2015 at 09:50:50PM +0530, Aparna Karuthodi wrote: > Removed unwanted curly braces of a single statement if-else block to > remove a coding style warning detected by checkpatch. The warning is > given below: > > 58: WARNING: braces {} are not necessary for any arm of this statement

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

2015-09-16 Thread Ronit Halder
Why not the second one? None of the line edited in first patch haven't changed after that. On Tue, Sep 15, 2015 at 7:24 PM, Greg KH wrote: > On Tue, Sep 15, 2015 at 03:04:58PM +0530, Ronit Halder wrote: >> This patch fixes the warning generated by sparse >> "Using

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

2015-09-16 Thread Ronit Halder
On Wed, 2015-09-16 at 20:15 -0700, Greg KH wrote: > On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > > Sorry for the ambiguity. > > I am talking about my second patch in the series. > > https://lkml.org/lkml/2015/9/15/293 > > > > > > None of the line edited in first patch haven't changed

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

2015-09-16 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Sep 17, 2015 at 07:13:39AM +0530, Ronit Halder wrote: > Why not the second one? Second what? > None of the line edited in first patch haven't changed after that. I don't understand what

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

2015-09-16 Thread roni
Sorry for the ambiguity. I am talking about my second patch in the series. https://lkml.org/lkml/2015/9/15/293 > > None of the line edited in first patch haven't changed after that. You applied the version 1 of the first patch in the series

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

2015-09-16 Thread Greg KH
On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > Sorry for the ambiguity. > I am talking about my second patch in the series. > https://lkml.org/lkml/2015/9/15/293 > > > > None of the line edited in first patch haven't changed after that. > > You applied the version 1 of the first patch

Re: [PATCH 03/10] staging: wilc1000: remove INLINE macro

2015-09-16 Thread Greg KH
On Wed, Sep 16, 2015 at 08:11:28PM +0900, Chaehyun Lim wrote: > This patch removes INLINE macro that is used anymore. > > Signed-off-by: Chaehyun Lim > --- > drivers/staging/wilc1000/coreconfigurator.c | 1 - > drivers/staging/wilc1000/wilc_wlan.c| 1 - > 2 files

Re: [PATCH] staging: wilc1000: Added spaces

2015-09-16 Thread Greg KH
On Thu, Sep 17, 2015 at 12:12:50AM +0530, Aparna Karuthodi wrote: > Added spaces around '=' to remove coding style errors detected by > checkpatch.The errors are given below: > drivers/staging/wilc1000/host_interface.c:7951: ERROR: spaces required > around that '=' (ctx:VxV) >