[PATCH] staging: wilc1000: Fix compilation error when CONFIG_PM disabled

2016-02-04 Thread Glen Lee
; drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2833:13: error: 'struct wiphy' has no member named 'wowlan' wdev->wiphy->wowlan = &wowlan_support; Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211") Reported-by

[PATCH RESEND 70/70] staging: wilc1000: remove warnings line over 80 characters

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.

[PATCH RESEND 69/70] staging: wilc1000: remove unnecessary log message using GENERIC_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unnecessary log message using GENERIC_DBG tag. Needed log messages has changed netdev_dbg from PRINT_D. And removes variables that were used to log message. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c

[PATCH RESEND 68/70] staging: wilc1000: remove unused debug tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused debug tag INT_DBG, LOCK_DBG, BUS_DBG, MEM_DBG and FIRM_DBG Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 15 --- drivers/staging/wilc1000/wilc_debugfs.c | 5 +++-- 2 files changed

[PATCH RESEND 67/70] staging: wilc1000: remove unused log message using the RX_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the RX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 5 - dri

[PATCH RESEND 61/70] staging: wilc1000: renames u32Tsf of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u32Tsf variable to tsf_lo. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) d

[PATCH RESEND 65/70] staging: wilc1000: renames u64Tsf of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u64Tsf variable to tsf_hi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 3 files changed, 5 insertions

[PATCH RESEND 64/70] staging: wilc1000: renames strRssi of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames strRssi variable to str_rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/stag

[PATCH RESEND 59/70] staging: wilc1000: renames bNewNetwork of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames bNewNetwork variable to new_network. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 4 in

[PATCH RESEND 66/70] staging: wilc1000: remove unnecessary wilc_rx_complete function

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unnecessary wilc_rx_complete function because this function only print unused log message. remove unused has_packet variable nomore. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 5 - drivers/staging

[PATCH RESEND 62/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase changes follow are: - pu8IEs to ies - u16IEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 +++--- drivers/staging/wilc1000/coreconfigurator.h | 4 +-- drivers/staging/wilc1000/host_i

[PATCH RESEND 63/70] staging: wilc1000: renames pJoinParams of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames pJoinParams variable to join_params. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/driver

[PATCH RESEND 60/70] staging: wilc1000: renames u8Found of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8Found variable to found. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 58/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase changes follow are: - u32TimeRcvdInScanCached to time_scan_cached - u32TimeRcvdInScan to time_scan Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1

[PATCH RESEND 54/70] staging: wilc1000: renames au8bssid of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames au8bssid variable to bssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 10 +++ drivers/staging/wilc1000

[PATCH RESEND 56/70] staging: wilc1000: renames u8DtimPeriod of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8DtimPeriod variable to dtim_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc10

[PATCH RESEND 57/70] staging: wilc1000: renames u8channel of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8channel variable to ch. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 3 files changed, 9

[PATCH RESEND 55/70] staging: wilc1000: renames u16BeaconPeriod of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u16BeaconPeriod variable to beacon_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/w

[PATCH RESEND 51/70] staging: wilc1000: renames u16CapInfo of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u16CapInfo variable to cap_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000

[PATCH RESEND 43/70] staging: wilc1000: remove unused log message using the HOSTINF_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the HOSTINF_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 198 +- drivers/staging/wilc1000/linux_wlan_common.h | 2 - drivers/staging/wilc1

[PATCH RESEND 52/70] staging: wilc1000: renames au8ssid of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames au8ssid variable to ssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 3 ++- drivers/staging/wilc1000/wilc_

[PATCH RESEND 53/70] staging: wilc1000: renames u8SsidLen of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8SsidLen variable to ssid_len. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/w

[PATCH RESEND 47/70] staging: wilc1000: remove typedef from tstrConnectRespInfo

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes typedef from the struct tstrConnectRespInfo and renames it to connect_resp_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 6 +++--- drivers/staging/wilc1000/coreconfigurator.h | 6 +++--- drivers/staging/wilc1000/host_interface.c

[PATCH RESEND 44/70] staging: wilc1000: remove unused log message using the TX_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the TX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c| 4 drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- driv

[PATCH RESEND 49/70] staging: wilc1000: remove typedef from pstrNetworkInfo

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes typedef from the struct pstrNetworkInfo and renames it to network_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 --- drivers/staging/wilc1000/coreconfigurator.h | 7 --- drivers/staging/wilc1000/host_inte

[PATCH RESEND 46/70] staging: wilc1000: removes function 'wilc_dealloc_assoc_resp_info()'

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes function wilc_dealloc_assoc_resp_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 --

[PATCH RESEND 45/70] staging: wilc1000: removes function 'wilc_dealloc_network_info()'

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes function 'wilc_dealloc_network_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 --

[PATCH RESEND 48/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase and remove prefix names, changes follow are: - u16capability to capability - u16ConnectStatus to status - u16AssocID to assoc_id - pu8RespIEs to ies - u16RespIEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfi

[PATCH RESEND 50/70] staging: wilc1000: renames s8rssi of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames s8rssi variable to rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/wil

[PATCH RESEND 42/70] staging: wilc1000: remove unused log message using the CORECONFIG_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log messages using the CORECONFIG_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 1 - drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c

[PATCH RESEND 40/70] staging: wilc1000: wilc_wlan.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.

[PATCH RESEND 41/70] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/staging/wilc1000/li

[PATCH RESEND 39/70] staging: wilc1000: wilc_msgqueue.c: removes debug print log

2016-02-04 Thread Glen Lee
From: Leo Kim This patches removes unnecessary debug print logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_msgqueue.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc

[PATCH RESEND 38/70] staging: wilc1000: wilc_wfi_cfgoperations.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 86 --- 1 file changed, 31 insertions(+), 55 deletions(-) diff --git a/drivers/staging/wilc1

[PATCH RESEND 37/70] staging: wilc1000: Optimize code of wilc_get_chipid function

2016-02-04 Thread Glen Lee
From: Chris Park This patch optimize code of wilc_get_chipid function. u8 type changed to boolean type and removed unnecessary if statement. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c| 19 +++

[PATCH RESEND 34/70] staging: wilc1000: remove useless function

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove useless function remove_TCP_related in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/stag

[PATCH RESEND 35/70] staging: wilc1000: remove unnecessary braces

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove warnings reported by checkpatch.pl for unnecessary braces Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan

[PATCH RESEND 36/70] staging: wilc1000: remove warnings missing a blank line after declarations

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove warnings reported by checkpatch.pl for missing a blank line after declarations Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH RESEND 33/70] staging: wilc1000: remove useless log message

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove useless log message in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 128 ++- 1 file changed, 22 insertions(+), 106 deletions(-) diff --git a/drivers/staging/wilc

[PATCH RESEND 32/70] staging: wilc1000: fix warnings for line over 80 characters

2016-02-04 Thread Glen Lee
From: Chris Park This patch fixes warnings reported by checkpatch.pl for line over 80 characters Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 33 - drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 2 files changed, 22

[PATCH RESEND 28/70] staging: wilc1000: wilc_parse_assoc_resp_info(): renames function variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pu8Buffer to buffer - u32BufferLen to buffer_len - ppstrConnectRespInfo to ret_connect_resp_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 16 drivers/staging/wilc1000/

[PATCH RESEND 30/70] staging: wilc1000: wilc_dealloc_assoc_resp_info(): renames function variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pstrConnectRespInfo to connect_resp_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 14 +++--- drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 files changed, 8 insertions(+)

[PATCH RESEND 31/70] staging: wilc1000: wilc_dealloc_network_info(): renames function variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pstrNetworkInfo to network_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 14 +++--- drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 files changed, 8 insertions(+), 8 delet

[PATCH RESEND 27/70] staging: wilc1000: rename variable s32Error

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames variable s32Error to result to avoid CamelCase naming convention. Also, remove the unused variable s32Error and replace with direct return. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 19 +-- 1 file changed, 9 insert

[PATCH RESEND 29/70] staging: wilc1000: wilc_parse_assoc_resp_info(): renames local variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pstrConnectRespInfo to connect_resp_info - u16AssocRespLen to assoc_resp_len - pu8IEs to ies - u16IEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 34 ++-

[PATCH RESEND 26/70] staging: wilc1000: wilc_parse_network_info(): renames local inner variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pu8TimElm to tim_elm - pu8IEs to ies - u16IEsLen to ies_len - u32Tsf_Lo to tsf_lo - u32Tsf_Hi to tsf_hi And, remove the prefix variable defined name, below are: - u8index to index - pu8msa to msa Signed-off-by: Le

[PATCH RESEND 18/70] staging: wilc1000: remove warnings line over 80 characters

2016-02-04 Thread Glen Lee
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: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 22/70] staging: wilc1000: renames u8IfIdx of wilc_vif structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8IfIdx variable of wilc_vif structure to idx to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging

[PATCH RESEND 25/70] staging: wilc1000: wilc_parse_network_info(): renames local variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pstrNetworkInfo to network_info - u8MsgType to msg_type - u8MsgID to msg_id - u16MsgLen to msg_len - u16WidID to wid_id - u16WidLen to wid_len - pu8WidVal to wid_val Signed-off-by: Leo Kim --- drivers/staging/wil

[PATCH RESEND 16/70] staging: wilc1000: fixes missing a blank line after declarations

2016-02-04 Thread Glen Lee
From: Leo Kim This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 20/70] staging: wilc1000: replaces PRINT_XXX with netdev_xxx

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_XXX with netdev_xxx. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 109 +- 1 file changed, 54 insertions(+), 55 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 23/70] staging: wilc1000: fixes variable dereferenced before check

2016-02-04 Thread Glen Lee
are net_device from ndo_set_rx_mode of net_device_ops and vif of netdev_priv. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_w

[PATCH RESEND 17/70] staging: wilc1000: rename pBssid of tx_complete_data structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames pBssid variable of tx_complete_data structure to bssid to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c| 2 +- drivers/staging/wilc1000

[PATCH RESEND 21/70] staging: wilc1000: removes void function return

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes the warning reported by checkpatch.pl for void function return statements are not generally useful. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging

[PATCH RESEND 24/70] staging: wilc1000: wilc_parse_network_info(): renames function variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pu8MsgBuffer to msg_buffer - ppstrNetworkInfo to ret_network_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 16 drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 fi

[PATCH RESEND 19/70] staging: wilc1000: removes unnecessary debug logs

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes unnecessary debug logs. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 154 ++ 1 file changed, 24 insertions(+), 130 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c

[PATCH RESEND 15/70] staging: wilc1000: rename hWILCWFIDrv of wilc_priv structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames hWILCWFIDrv pointer variable of wilc_priv structure to hif_drv to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 22

[PATCH RESEND 13/70] staging: wilc1000: move wilc_send_config_pkt to wilc_wlan.c

2016-02-04 Thread Glen Lee
implemented with netdev_xx print format later. struct wid need to be moved to wilc_wlan_if.h which defines configure informations. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 59 - drivers/staging/wilc1000/coreconfigurator.h | 9 - drivers

[PATCH RESEND 12/70] staging: wilc1000: get mac address after setting drv handler

2016-02-04 Thread Glen Lee
This patch moves wilc_get_mac_address and address memcpy function after calling wilc_set_wif_drv_handler to get selected mac address. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging

[PATCH RESEND 14/70] staging: wilc1000: pass vif to wilc_send_config_pkt

2016-02-04 Thread Glen Lee
ction parameter of following functions are modified to vif. wilc_send_config_pkt wilc_wlan_cfg_set wilc_wlan_cfg_get wilc_wlan_cfg_commit wilc_wlan_txq_add_cfg_pkt wilc_wlan_txq_add_to_head Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 94 +++ dr

[PATCH RESEND 11/70] staging: wilc1000: fix WEP security bug

2016-02-04 Thread Glen Lee
: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 27 +++ drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 +--- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 3 files changed, 14 insertions(+), 23 deletions(-) diff --git a/drivers/staging

[PATCH RESEND 10/70] staging: wilc1000: add ops tx power in cfg80211

2016-02-04 Thread Glen Lee
This patch implements set_tx_power and get_tx_power of cfg80211_ops. In addition, Id of HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS is changed with 37. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 88 ++- drivers/staging/wilc1000/host_interface.h

[PATCH RESEND 09/70] staging: wilc1000: fix bug on p2p connection

2016-02-04 Thread Glen Lee
In case of action frame, size -7 is correct, but in this case, size should be used as it is. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b

[PATCH RESEND 08/70] staging: wilc1000: disable power save when AP mode

2016-02-04 Thread Glen Lee
This patch disables power save mode in case of AP mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index

[PATCH RESEND 07/70] staging: wilc1000: increase link speed

2016-02-04 Thread Glen Lee
This patch increases throughput by enabling tcp ack filter base on checking statistics and also handling tcp session. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 31 +-- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 ++ drivers

[PATCH RESEND 04/70] staging: wilc1000: handle connecting error

2016-02-04 Thread Glen Lee
If connection fails, wilc1000_connecting needs to be set false also and return immediately because goto lable 'done' doesn't do anything. Remove lable 'done' as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++--- 1 f

[PATCH RESEND 05/70] staging: wilc1000: tcp_process: fix a build warning

2016-02-04 Thread Glen Lee
This patch fixes build warning "flags is used uninitialized" when TCP_ACK_FILTER is defined. Fixes: 562ed3f1f78a ("staging/wilc1000: pass struct wilc to most linux_wlan.c functions") Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed,

[PATCH RESEND 06/70] staging: wilc1000: remove define TCP_ACK_FILTER

2016-02-04 Thread Glen Lee
This patch removes define TCP_ACK_FILTER and use it's feature codes. Add argument wilc to wilc_wlan_txq_remove because compile error happens. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.c | 22 ++ 2

[PATCH RESEND 02/70] staging: wilc1000: remove unused functions

2016-02-04 Thread Glen Lee
This patch removes unused following functions. wilc_del_all_rx_ba_session wilc_flush_join_req wilc_wait_msg_queue_idle wilc_set_mac_address Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 92 --- drivers/staging/wilc1000/host_interface.h | 4

[PATCH RESEND 01/70] staging: wilc1000: wilc_set_wfi_drv_handler: add mac index

2016-02-04 Thread Glen Lee
Firmware supports sta/ap concurrency so mac index will be passed to wilc. Remove wilc_set_wfi_drv_handler in scan and connect functions, and call the function in ndo_open which is wilc_mac_open. WID_SET_DRV_HANDLER value has been changed as well. Signed-off-by: Glen Lee --- drivers/staging

[PATCH RESEND 03/70] staging: wilc1000: ignore power save

2016-02-04 Thread Glen Lee
If two interfaces are connected and it is required to enable power save then ignore the request. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000

[PATCH RESEND 00/70] staging: wilc1000: rebase and resend

2016-02-04 Thread Glen Lee
using GENERIC_DBG tag Glen Lee (14): staging: wilc1000: wilc_set_wfi_drv_handler: add mac index staging: wilc1000: remove unused functions staging: wilc1000: ignore power save staging: wilc1000: handle connecting error staging: wilc1000: tcp_process: fix a build warning staging

[PATCH 13/13] staging: wilc1000: fixes variable dereferenced before check

2016-01-26 Thread Glen Lee
are net_device from ndo_set_rx_mode of net_device_ops and vif of netdev_priv. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_w

[PATCH 10/13] staging: wilc1000: replaces PRINT_XXX with netdev_xxx

2016-01-26 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_XXX with netdev_xxx. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 100 +- 1 file changed, 49 insertions(+), 51 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 12/13] staging: wilc1000: renames u8IfIdx of wilc_vif structure

2016-01-26 Thread Glen Lee
From: Leo Kim This patch renames u8IfIdx variable of wilc_vif structure to idx to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging

[PATCH 08/13] staging: wilc1000: remove warnings line over 80 characters

2016-01-26 Thread Glen Lee
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: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 04/13] staging: wilc1000: rename hWILCWFIDrv of wilc_priv structure

2016-01-26 Thread Glen Lee
From: Leo Kim This patch renames hWILCWFIDrv pointer variable of wilc_priv structure to hif_drv to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 22

[PATCH 03/13] staging: wilc1000: fixes add spaces required around

2016-01-26 Thread Glen Lee
From: Leo Kim This patch fixes the checks reported by checkpatch.pl for spaces required around that '=' or '||' or '('. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[PATCH 09/13] staging: wilc1000: removes unnecessary debug logs

2016-01-26 Thread Glen Lee
From: Leo Kim This patch removes unnecessary debug logs. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 154 ++ 1 file changed, 24 insertions(+), 130 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c

[PATCH 06/13] staging: wilc1000: fixes missing a blank line after declarations

2016-01-26 Thread Glen Lee
From: Leo Kim This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wilc1000

[PATCH 11/13] staging: wilc1000: removes void function return

2016-01-26 Thread Glen Lee
From: Leo Kim This patch removes the warning reported by checkpatch.pl for void function return statements are not generally useful. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging

[PATCH 07/13] staging: wilc1000: rename pBssid of tx_complete_data structure

2016-01-26 Thread Glen Lee
From: Leo Kim This patch renames pBssid variable of tx_complete_data structure to bssid to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c| 2 +- drivers/staging/wilc1000

[PATCH 05/13] staging: wilc1000: rename Firmware_ver variable

2016-01-26 Thread Glen Lee
From: Leo Kim This patch renames Firmware_ver variable to firmware_ver to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 02/13] staging: wilc1000: fixes no space is necessary after a cast

2016-01-26 Thread Glen Lee
From: Leo Kim This patch fixes the check reported by checkpatch.pl for 'no space is necessary after a cast'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stagin

[PATCH 01/13] staging: wilc1000: wilc_frmw_to_linux(): fixes null check

2016-01-26 Thread Glen Lee
From: Leo Kim Null checking wilc_netdev and skb->dev are already done in the begining of the function and they are just print printing error log, so delete them. Null checking wilc is needed before is used so add null ckeck before it is used. Signed-off-by: Leo Kim Signed-off-by: Glen

Re: [PATCH V2 00/26] use unified firmware and add ops in cfg

2016-01-25 Thread glen lee
On 2016년 01월 26일 02:21, Greg KH wrote: On Mon, Jan 25, 2016 at 03:15:31PM +0200, Kalle Valo wrote: Glen Lee writes: This patch series contains * support suspend and resume functionality * use a unified firmware for all mode of operations(station, ap, p2p) * support Station/AP concurrency

[PATCH V2 26/26] staging: wilc1000: get mac address after setting drv handler

2016-01-24 Thread Glen Lee
This patch moves wilc_get_mac_address and address memcpy function after calling wilc_set_wif_drv_handler to get selected mac address. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging

[PATCH V2 21/26] staging: wilc1000: increase link speed

2016-01-24 Thread Glen Lee
This patch increases throughput by enabling tcp ack filter base on checking statistics and also handling tcp session. Signed-off-by: Glen Lee --- Changes in V2: - fix checkpatch CHECK: Logical continuations should be on the previous line --- drivers/staging/wilc1000/host_interface.c | 31

[PATCH V2 25/26] staging: wilc1000: fix WEP security bug

2016-01-24 Thread Glen Lee
: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 27 +++ drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 +--- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 3 files changed, 14 insertions(+), 23 deletions(-) diff --git a/drivers/staging

[PATCH V2 23/26] staging: wilc1000: fix bug on p2p connection

2016-01-24 Thread Glen Lee
In case of action frame, size -7 is correct, but in this case, size should be used as it is. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b

[PATCH V2 24/26] staging: wilc1000: add ops tx power in cfg80211

2016-01-24 Thread Glen Lee
This patch implements set_tx_power and get_tx_power of cfg80211_ops. In addition, Id of HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS is changed with 37. Signed-off-by: Glen Lee --- Changes in V2: - changes s32 type of ret with int and do not initialize with bogus value - remove unneeded print statement

[PATCH V2 16/26] staging: wilc1000: remove unused functions

2016-01-24 Thread Glen Lee
This patch removes unused following functions. wilc_del_all_rx_ba_session wilc_flush_join_req wilc_wait_msg_queue_idle wilc_set_mac_address Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 92 --- drivers/staging/wilc1000/host_interface.h | 4

[PATCH V2 19/26] staging: wilc1000: tcp_process: fix a build warning

2016-01-24 Thread Glen Lee
This patch fixes build warning "flags is used uninitialized" when TCP_ACK_FILTER is defined. Fixes: 562ed3f1f78a ("staging/wilc1000: pass struct wilc to most linux_wlan.c functions") Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed,

[PATCH V2 17/26] staging: wilc1000: ignore power save

2016-01-24 Thread Glen Lee
If two interfaces are connected and it is required to enable power save then ignore the request. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000

[PATCH V2 15/26] staging: wilc1000: wilc_set_wfi_drv_handler: add mac index

2016-01-24 Thread Glen Lee
Firmware supports sta/ap concurrency so mac index will be passed to wilc. Remove wilc_set_wfi_drv_handler in scan and connect functions, and call the function in ndo_open which is wilc_mac_open. WID_SET_DRV_HANDLER value has been changed as well. Signed-off-by: Glen Lee --- Changes in V2: - fix

[PATCH V2 22/26] staging: wilc1000: disable power save when AP mode

2016-01-24 Thread Glen Lee
This patch disables power save mode in case of AP mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index

[PATCH V2 18/26] staging: wilc1000: handle connecting error

2016-01-24 Thread Glen Lee
If connection fails, wilc1000_connecting needs to be set false also and return immediately because goto lable 'done' doesn't do anything. Remove lable 'done' as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++--- 1 f

[PATCH V2 14/26] staging: wilc1000: call power save after changing mode

2016-01-24 Thread Glen Lee
host_int_set_power_mgmt should be called after changing operation mode to work properly. Move the function below host_int_set_operation_mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

[PATCH V2 13/26] staging: wilc1000: change_virtual_intf: change codes for unified firmware

2016-01-24 Thread Glen Lee
wilc_set_power_mgmt which control power save. There will be unused functions and they will be removed in later patch. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 220 ++ 1 file changed, 11 insertions(+), 209 deletions(-) diff --git a/drivers/staging

[PATCH V2 20/26] staging: wilc1000: remove define TCP_ACK_FILTER

2016-01-24 Thread Glen Lee
This patch removes define TCP_ACK_FILTER and use it's feature codes. Add argument wilc to wilc_wlan_txq_remove because compile error happens. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.c | 22 ++ 2

  1   2   3   4   5   6   7   8   >