[PATCH] Staging: wilc1000: wilc_wfi_cfgoperations.c: replace memset(x,0,ETH_ALEN)

2015-09-11 Thread Shraddha Barke
eth_zero_addr() is a wrapper function for memset if 0 is going to be assigned to a mac address. The aforementioned function replaces memset. Changes were done using Coccinelle @eth_zero_addr@ expression e; @@ -memset(e,0x00,\(6\|ETH_ALEN\)); +eth_zero_addr(e); Build tested it. Signed-off-by: S

Re: [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel

2015-09-11 Thread Greg KH
On Fri, Sep 11, 2015 at 04:14:00AM +0900, Chaehyun Lim wrote: > This patch replaces WILC_WFI_CfgSetChannel with > wilc_set_channel to avoid CamelCase. > > Signed-off-by: Chaehyun Lim > --- > V2: to make function name simple > > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +- >

Re: [PATCH v2 1/2] staging: wilc1000: remove unused enum

2015-09-11 Thread Greg KH
On Fri, Sep 11, 2015 at 12:04:19PM +0900, Tony Cho wrote: > From: Glen Lee > > This patch removes a unused enum tenuFrameClass. > > Signed-off-by: Glen Lee > Signed-off-by: Tony Cho > --- > drivers/staging/wilc1000/coreconfigurator.c | 8 > 1 file changed, 8 deletions(-) I already a

Re: [linuxwifi] iwlwifi: FW error in SYNC CMD MAC_CONTEXT_CMD

2015-09-11 Thread Andreas Reis
Sorry for another day delay, I've only got so much time for this and yesterday it ended in a bit of confusion. > Okay, there's probably something else. I started by using a fresh wpa_supplicant configuration – and could connect. Which is just weird, as the old ones worked fine previously. An

RE: [PATCH] Add new mac80211 driver mwlwifi.

2015-09-11 Thread Chor Teck Law
> -Original Message- > From: Kalle Valo [mailto:kv...@codeaurora.org] > Sent: Sunday, September 06, 2015 6:25 AM > > Johannes Berg writes: > > > On Thu, 2015-06-04 at 04:57 +, David Lin wrote: > > > >> drivers/net/wireless/mwlwifi/Kconfig| 17 + > > > > Does this driver has

RE: [PATCH v5] Add new mac80211 driver mwlwifi.

2015-09-11 Thread Chor Teck Law
Hi Kalle, > -Original Message- > From: Kalle Valo [mailto:kv...@codeaurora.org] > Sent: Monday, September 07, 2015 4:20 AM > > > Chor Teck Law writes: > > >> On Tuesday 04 Aug 2015 à 20:02:23 (+0300), Kalle Valo wrote: > >> > >> > I haven't looked at the driver myself yet. Do you have a

[PATCH 1/7] staging: wilc1000: remove PANDA_BOARD

2015-09-11 Thread Tony Cho
This patch removes one of the platform dependencies, PANDA_BOARD from the driver codes. The device tree will provide the platform dependencies in the future commits. Signed-off-by: Tony Cho Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 drivers/staging/wilc1

[PATCH 5/7] staging: wilc1000: remove unnecessary extern function declaration

2015-09-11 Thread Tony Cho
From: Glen Lee Function NetworkInfoReceived, GnrlAsyncInfoReceived and host_int_ScanCompleteReceived are declared in the header file already. Just removes the declaration and comments. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 8

[PATCH 2/7] staging: wilc1000: remove useless define PHY_802_11n

2015-09-11 Thread Tony Cho
From: Glen Lee The define PHY_802_11n is useless because wilc1000 support 802.11n as always. Remove PHY_802_11n and it related code. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/

[PATCH 2/2] staging: wilc1000: remove RX_BH_TYPE

2015-09-11 Thread Tony Cho
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 file. Signed-off-by: Tony Cho --- driv

[PATCH 4/7] staging: wilc1000: remove unused defines

2015-09-11 Thread Tony Cho
From: Glen Lee This patch removes follwing unused defines. MAX_CFG_PKTLEN MSG_HEADER_LEN QUERY_MSG_TYPE WRITE_MSG_TYPE RESP_MSG_TYPE WRITE_RESP_SUCCESS INVALID MAC_ADDR_LEN Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 8 1 file cha

[PATCH 3/7] staging: wilc1000: remove unnecessary define FIVE_GHZ_BAND

2015-09-11 Thread Tony Cho
From: Glen Lee wilc1000 driver does not support five Ghz band. Remove FIVE_GHZ_BAND and it's related code. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconf

[PATCH 6/7] staging: wilc1000: delete unused global variables.

2015-09-11 Thread Tony Cho
From: Glen Lee gstrConfigPktInfo, SemHandleSendPkt and SemHandlePktResp are never used in the drivers. So just delete the variables and it's related code. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 11 --- 1 file changed, 11 delet

[PATCH 7/7] staging: wilc1000: remove unused variables

2015-09-11 Thread Tony Cho
From: Glen Lee Variable g_num_total_switches is never used so just remove it. gastrWIDs is also not used because g_num_total_switches is deleted. Remove gastrWIDs also. Signed-off-by: Glen Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 127 --