[PATCH V2 31/64] staging: wilc1000: rename pu8ConnReqIEs of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pu8ConnReqIEs of struct user_conn_req to ies to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 24 drivers/staging/wilc1000/host_interface.h | 2 +- 2

[PATCH V2 33/64] staging: wilc1000: rename pfUserConnectResult of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pfUserConnectResult of struct user_conn_req to conn_result to avoid CamelCase naming convention. And, some comments modification that has been included name 'pfUserConnectResult'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/stagin

[PATCH V2 32/64] staging: wilc1000: rename ConnReqIEsLen of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames ConnReqIEsLen of struct user_conn_req to ies_len to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 26 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 34/64] staging: wilc1000: rename IsHTCapable of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames IsHTCapable of struct user_conn_req to ht_capable to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 2

[PATCH V2 35/64] staging: wilc1000: rename u32UserConnectPvoid of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32UserConnectPvoid of struct user_conn_req to arg to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 10 +- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files

[PATCH V2 40/64] staging: wilc1000: rename u32RxCount of struct rf_info

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32RxCount of struct rf_info to rx_cnt to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging

[PATCH V2 39/64] staging: wilc1000: rename u32TxCount of struct rf_info

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32TxCount of struct rf_info to tx_cnt to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging

[PATCH V2 38/64] staging: wilc1000: rename s8RSSI of struct rf_info

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames s8RSSI of struct rf_info to rssi to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging

[PATCH V2 37/64] staging: wilc1000: rename u8LinkSpeed of struct rf_info

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u8LinkSpeed of struct rf_info to link_speed to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers

[PATCH V2 36/64] staging: wilc1000: host_interface.h: move local define variables

2015-10-28 Thread Glen Lee
From: Leo Kim This patch move local define variables to local define position. - ACTION - PROBE_REQ - PROBE_RESP - ACTION_FRM_IDX - PROBE_REQ_IDX Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 14 +- 1 file changed, 5

[PATCH V2 42/64] staging: wilc1000: rename WPARxGtk of enum KEY_TYPE

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames WPARxGtk of enum KEY_TYPE to WPA_RX_GTK to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3

[PATCH V2 46/64] staging: wilc1000: rename u32ListenSessionID of struct remain_ch

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32ListenSessionID of struct remain_ch to id to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 10 +- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed

[PATCH V2 43/64] staging: wilc1000: rename WPAPtk of enum KEY_TYPE

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames WPAPtk of enum KEY_TYPE to WPA_PTK to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions

[PATCH V2 41/64] staging: wilc1000: rename u32TxFailureCount of struct rf_info

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32TxFailureCount of struct rf_info to tx_fail_cnt to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 49/64] staging: wilc1000: rename au8BSSID of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames au8BSSID of struct add_sta_param to bssid to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers

[PATCH V2 44/64] staging: wilc1000: rename u32RcvdChCount of struct user_scan_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32RcvdChCount of struct user_scan_req to rcvd_ch_cnt to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 14 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2

[PATCH V2 48/64] staging: wilc1000: rename u8P2PConnect of struct host_if_drv

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u8P2PConnect of struct host_if_drv to p2p_connect to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 16

[PATCH V2 45/64] staging: wilc1000: rename tenuAuth_type of struct user_conn_req

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames tenuAuth_type of struct user_conn_req to auth_type to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 9 + drivers/staging/wilc1000/host_interface.h | 2 +- 2 files

[PATCH V2 51/64] staging: wilc1000: rename u8NumRates of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u8NumRates of struct add_sta_param to rates_len to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 27 +-- drivers/staging/wilc1000/host_interface.h

[PATCH V2 47/64] staging: wilc1000: rename u64P2p_MgmtTimeout of struct host_if_drv

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u64P2p_MgmtTimeout of struct host_if_drv to p2p_timeout to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 54/64] staging: wilc1000: rename u16HTCapInfo of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u16HTCapInfo of struct add_sta_param to ht_capa_info to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 50/64] staging: wilc1000: rename u16AssocID of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u16AssocID of struct add_sta_param to aid to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- drivers

[PATCH V2 53/64] staging: wilc1000: rename bIsHTSupported of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames bIsHTSupported of struct add_sta_param to ht_supported to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 52/64] staging: wilc1000: rename pu8Rates of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pu8Rates of struct add_sta_param to rates to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 14 +++--- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 56/64] staging: wilc1000: rename au8SuppMCsSet of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames au8SuppMCsSet of struct add_sta_param to ht_supp_mcs_set to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 ++- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 59/64] staging: wilc1000: rename u8ASELCap of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u8ASELCap of struct add_sta_param to ht_ante_sel to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 61/64] staging: wilc1000: rename u16FlagsSet of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u16FlagsSet of struct add_sta_param to flags_set to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 60/64] staging: wilc1000: rename u16FlagsMask of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u16FlagsMask of struct add_sta_param to flags_mask to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2

[PATCH V2 58/64] staging: wilc1000: rename u32TxBeamformingCap of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u32TxBeamformingCap of struct add_sta_param to ht_tx_bf_cap to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h

[PATCH V2 64/64] staging: wilc1000: rename pstrHostIfSetOperationMode of fuction Handle_SetOperationMode

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfSetOperationMode of fuction Handle_SetOperationMode to hif_op_mode to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH V2 63/64] staging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler to hif_drv_handler to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 7 +++ 1 file changed, 3 insertions(+), 4

[PATCH V2 57/64] staging: wilc1000: rename u16HTExtParams of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u16HTExtParams of struct add_sta_param to ht_ext_params to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h

[PATCH V2 62/64] staging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIFSetChan of fuction Handle_SetChannel to hif_set_ch to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH V2 55/64] staging: wilc1000: rename u8AmpduParams of struct add_sta_param

2015-10-28 Thread Glen Lee
From: Leo Kim This patch renames u8AmpduParams of struct add_sta_param to ht_ampdu_params to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2

[PATCH RESEND 03/12] staging: wilc1000: wilc_wlan_txq_remove_from_head: add new argument dev

2015-10-28 Thread Glen Lee
Add new argument dev and use it instead of g_linux_wlan, and pass argument dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b

[PATCH RESEND 04/12] staging: wilc1000: wilc_wlan_txq_add_mgmt_pkt: add new argument dev

2015-10-28 Thread Glen Lee
This patch adds new argument struct net_device *dev and pass argument struct net_device to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_mon.c | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c

[PATCH RESEND 01/12] staging: wilc1000: wilc_wlan_txq_get_first: add argument struct wilc

2015-10-28 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c

[PATCH RESEND 06/12] staging: wilc1000: linux_wlan_start_firmware: change argument with dev

2015-10-28 Thread Glen Lee
This patch changes argument nic with dev and use netdev private data member wilc instead of g_linux_wlan, and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a

[PATCH RESEND 02/12] staging: wilc1000: linux_wlan_firmware_download: change argument

2015-10-28 Thread Glen Lee
This patch changes argument p_nic with wilc and use it instead of g_linux_wlan. Pass argument dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 07/12] staging: wilc1000: wilc_wlan_init: add argument struct net_device

2015-10-28 Thread Glen Lee
This patch adds an argument dev and pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c| 2 +- drivers/staging/wilc1000/wilc_wlan_if.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND 10/12] staging: wilc1000: wl_wlan_cleanup: add argument struct wilc

2015-10-28 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 28 +-- drivers/staging/wilc1000/linux_wlan_sdio.c| 2 +- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2

[PATCH RESEND 05/12] staging: wilc1000: wilc_wlan_txq_add_to_tail: add argument net_device

2015-10-28 Thread Glen Lee
This patch adds new argument dev and use netdev private data member wilc instead of g_linux_wlan, pass the function dev also. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[PATCH RESEND 08/12] staging: wilc1000: wilc_wlan_init: add argument net_device

2015-10-28 Thread Glen Lee
This patch adds new argument struct net_device and pass the function dev. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index

[PATCH RESEND 09/12] staging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev

2015-10-28 Thread Glen Lee
This patch changes argument perInterface_wlan_t *p_nic with struct net_device *dev and use netdev private data nic and it's member wilc instead of g_linux_wlan. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 17 ++--- drivers/staging/wil

[PATCH RESEND 11/12] staging: wilc1000: rename os_context to wilc

2015-10-28 Thread Glen Lee
This patch rename os_context to wilc because it is used as struct wilc and move os_private from struct wilc_wlan_os_context_t to struct wilc_wlan_inp_t. Finally, delete wilc_wlan_os_context_t. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000

[PATCH RESEND 12/12] staging: wilc1000: add argument wilc and use it instead of g_linux_wlan

2015-10-28 Thread Glen Lee
This patch adds new argument wilc to linux_sdio_cmd53 and linux_sdio_cmd52 , and use it instead of g_linux_wlan. Pass wilc to the functions as well. The void type wilc will be changed with struct wilc when SDIO and SPI modules are reworked. Signed-off-by: Glen Lee --- drivers/staging/wilc1000

[PATCH 04/17] staging: wilc1000: wilc_wlan_cfg_set: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions also. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/linux_wlan.c | 86

[PATCH 05/17] staging: wilc1000: wilc_wlan_cfg_commit: add argument struct net_device

2015-10-29 Thread Glen Lee
Add argument struct net_device and pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index

[PATCH 03/17] staging: wilc1000: wilc_wlan_cfg_get: add argument struct net_device

2015-10-29 Thread Glen Lee
Adds argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 ++- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000

[PATCH 08/17] staging: wilc1000: remove unused function remove_TCP_related

2015-10-29 Thread Glen Lee
Just remove unused function remove_TCP_related. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index b503f07..c8ce1f6 100644 --- a

[PATCH 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/coreconfigurator.h | 3 +- drivers/staging/wilc1000/host_interface.c | 196

[PATCH 06/17] staging: wilc1000: wilc_wlan_txq_add_cfg_pkt: add argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 09/17] staging: wilc1000: wilc_wlan_stop: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the functions. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions

[PATCH 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv

2015-10-29 Thread Glen Lee
This patch defines wiphy private data priv in struct host_if_drv and set priv to priv in host_if_drv to reference it's wiphy private data. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 1 + drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 2

[PATCH 07/17] staging: wilc1000: wilc_wlan_txq_add_to_head: add new argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff

[PATCH 12/17] staging: wilc1000: chip_sleep_manually: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 1 + 3 files changed, 4 insertions

[PATCH 11/17] staging: wilc1000: wilc_wlan_firmware_download: add argument net_device

2015-10-29 Thread Glen Lee
Add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 3 ++- drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff

[PATCH 10/17] staging: wilc1000: remove unused function wilc_wlan_global_reset

2015-10-29 Thread Glen Lee
Remove unused function wilc_wlan_global_reset. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index d4eef3d..c464cd7 100644 --- a/drivers

[PATCH 13/17] staging: wilc1000: wilc_wlan_start: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions

[PATCH 15/17] staging: wilc1000: release_bus: add argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan, pass wilc to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH 14/17] staging: wilc1000: acquire_bus: add new argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds struct wilc and use it instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 47 ++-- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan

2015-10-29 Thread Glen Lee
Use wilc instead of g_linux_wlan. g_liux_wlan is not used anymore, just delete it. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 22 +++--- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 2 files changed, 11 insertions(+), 12 deletions

[PATCH 16/17] staging: wilc1000: linux_wlan_get_num_conn_ifcs: add argument net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 +--- drivers/staging/wilc1000/linux_wlan.c | 10

Re: [PATCH 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan

2015-10-30 Thread glen lee
On 2015년 10월 30일 17:35, Dan Carpenter wrote: On Fri, Oct 30, 2015 at 12:10:42PM +0900, Glen Lee wrote: /*create the common structure*/ - g_linux_wlan = kzalloc(sizeof(*g_linux_wlan), GFP_KERNEL); - if (!g_linux_wlan) + wl = kzalloc(sizeof(struct wilc), GFP_KERNEL

[PATCH V2 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device

2015-10-30 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/coreconfigurator.h | 3 +- drivers/staging/wilc1000/host_interface.c | 196

[PATCH V2 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv

2015-10-30 Thread Glen Lee
This patch defines wiphy private data priv in struct host_if_drv and set priv to priv in host_if_drv to reference it's wiphy private data. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 1 + drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 2

[PATCH V2 03/17] staging: wilc1000: wilc_wlan_cfg_get: add argument struct net_device

2015-10-30 Thread Glen Lee
Adds argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 ++- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000

[PATCH V2 05/17] staging: wilc1000: wilc_wlan_cfg_commit: add argument struct net_device

2015-10-30 Thread Glen Lee
Add argument struct net_device and pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index

[PATCH V2 06/17] staging: wilc1000: wilc_wlan_txq_add_cfg_pkt: add argument net_device

2015-10-30 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH V2 08/17] staging: wilc1000: remove unused function remove_TCP_related

2015-10-30 Thread Glen Lee
Just remove unused function remove_TCP_related. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index b503f07..c8ce1f6 100644 --- a

[PATCH V2 04/17] staging: wilc1000: wilc_wlan_cfg_set: add argument struct net_device

2015-10-30 Thread Glen Lee
This patch adds new argument net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions also. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/linux_wlan.c | 86

[PATCH V2 10/17] staging: wilc1000: remove unused function wilc_wlan_global_reset

2015-10-30 Thread Glen Lee
Remove unused function wilc_wlan_global_reset. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index d4eef3d..c464cd7 100644 --- a/drivers

[PATCH V2 09/17] staging: wilc1000: wilc_wlan_stop: add argument struct net_device

2015-10-30 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the functions. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions

[PATCH V2 11/17] staging: wilc1000: wilc_wlan_firmware_download: add argument net_device

2015-10-30 Thread Glen Lee
Add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 3 ++- drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff

[PATCH V2 07/17] staging: wilc1000: wilc_wlan_txq_add_to_head: add new argument net_device

2015-10-30 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff

[PATCH V2 13/17] staging: wilc1000: wilc_wlan_start: add argument struct net_device

2015-10-30 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions

[PATCH V2 12/17] staging: wilc1000: chip_sleep_manually: add argument struct net_device

2015-10-30 Thread Glen Lee
This patch add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 1 + 3 files changed, 4 insertions

[PATCH V2 16/17] staging: wilc1000: linux_wlan_get_num_conn_ifcs: add argument net_device

2015-10-30 Thread Glen Lee
This patch add new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 +--- drivers/staging/wilc1000/linux_wlan.c | 10

[PATCH V2 15/17] staging: wilc1000: release_bus: add argument struct wilc

2015-10-30 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan, pass wilc to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers

[PATCH V2 14/17] staging: wilc1000: acquire_bus: add new argument struct wilc

2015-10-30 Thread Glen Lee
This patch adds struct wilc and use it instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 47 ++-- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH V2 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan

2015-10-30 Thread Glen Lee
Use wilc instead of g_linux_wlan. g_liux_wlan is not used anymore, just delete it. Signed-off-by: Glen Lee --- Changes in v2: use sizeof(*wl) instead of sizeof(struct wilc). drivers/staging/wilc1000/linux_wlan.c | 22 +++--- drivers/staging/wilc1000/wilc_wfi_netdevice.h

About the patch "Staging: wilc1000: coreconfigurator: Drop unneeded wrapper functions"

2015-11-01 Thread glen lee
f6b89 I have tested this on hardware but it did not working. As far as I know, ether_addr_copy function can be used when src and dst addresss are __aligned(2) and it has to be proved. Would you let us know the addresses are properly aligned? I cannot make sure the data is aligned(2). Regards,

[PATCH 02/38] staging: wilc1000: rename firmwareIPAddress of fuction Handle_set_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames firmwareIPAddress of fuction Handle_set_IPAddress to firmware_ip_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 07/38] staging: wilc1000: remove return type of Handle_wait_msg_q_empty

2015-11-02 Thread Glen Lee
From: Leo Kim This patch changes return type of Handle_wait_msg_q_empty from s32 with void because return value is not used. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

[PATCH 08/38] staging: wilc1000: rename gau8MulticastMacAddrList variable

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 5 +++-- drivers/staging/wilc1000/linux_wlan.c | 11

[PATCH 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pu8IPAddr of fuction Handle_set_IPAddress to ip_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff

[PATCH 06/38] staging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames strHostIFCfgParamAttr of fuction Handle_CfgParam to cfg_param_attr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 154 -- 1 file changed, 83

[PATCH 04/38] staging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfSetMacAddress of fuction Handle_SetMacAddress to set_mac_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 05/38] staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress to get_mac_addr to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 03/38] staging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress

2015-11-02 Thread Glen Lee
From: Leo Kim This patch removes parameter pu8IPAddr of fuction Handle_get_IPAddress because it is not used in the function. Remove argument in the function call also. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2

[PATCH 09/38] staging: wilc1000: replace explicit NULL comparisons with !

2015-11-02 Thread Glen Lee
From: Leo Kim This patch replace explicit NULL comparison with ! or unmark operator to simplify code. Reported by checkpatch.pl for comparison to NULL could be written "!XXX" or "XXX". Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc10

[PATCH 11/38] staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions

[PATCH 15/38] staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pIP_Add_buff of function dev_state_ev_handler to ip_addr_buf to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions

[PATCH 12/38] staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 13/38] staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH 16/38] staging: wilc1000: fixes blank lines aren't necessary brace

2015-11-02 Thread Glen Lee
From: Leo Kim This patch fixes the checks reported by checkpatch.pl for Blank lines aren't necessary after an open brace '{' and Blank lines aren't necessary before a close brace '}'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/stag

[PATCH 14/38] staging: wilc1000: rename pstrWFIDrv of function mac_close

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function mac_close to hif_drv to avoid CamelCase naming convention. And, some debug print modification that has been included name 'pstrWFIDrv'. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_

[PATCH 17/38] staging: wilc1000: linux_wlan.c: clean up comments

2015-11-02 Thread Glen Lee
Linux style. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 218 -- 1 file changed, 26 insertions(+), 192 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index

[PATCH 10/38] staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM

2015-11-02 Thread Glen Lee
From: Leo Kim This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers

[PATCH 24/38] staging: wilc1000: rename pMacHeader of function get_if_handler

2015-11-02 Thread Glen Lee
From: Leo Kim This patch renames pMacHeader of function get_if_handler to mac_header to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a

<    1   2   3   4   5   6   7   8   >