platform/kernel/linux-rpi.git
8 years agostaging: wilc1000: linux_wlan.c: clean up comments
Leo Kim [Thu, 5 Nov 2015 05:36:18 +0000 (14:36 +0900)]
staging: wilc1000: linux_wlan.c: clean up comments

There are over-commenting in the linux_wlan.c file and most of them
are not helpful to explain what the code does and generate 80 ending
line over warnings. So, all of comments and commented codes are removed in
this patch. Comment will be added if necessary with the preferred Linux style.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: fixes blank lines aren't necessary brace
Leo Kim [Thu, 5 Nov 2015 05:36:17 +0000 (14:36 +0900)]
staging: wilc1000: fixes blank lines aren't necessary brace

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler
Leo Kim [Thu, 5 Nov 2015 05:36:16 +0000 (14:36 +0900)]
staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrWFIDrv of function mac_close
Leo Kim [Thu, 5 Nov 2015 05:36:15 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function mac_close

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list
Leo Kim [Thu, 5 Nov 2015 05:36:14 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list

This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config
Leo Kim [Thu, 5 Nov 2015 05:36:13 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config

This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler
Leo Kim [Thu, 5 Nov 2015 05:36:12 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler

This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM
Leo Kim [Thu, 5 Nov 2015 05:36:11 +0000 (14:36 +0900)]
staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM

This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: replace explicit NULL comparisons with !
Leo Kim [Thu, 5 Nov 2015 05:36:10 +0000 (14:36 +0900)]
staging: wilc1000: replace explicit NULL comparisons with !

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename gau8MulticastMacAddrList variable
Leo Kim [Thu, 5 Nov 2015 05:36:09 +0000 (14:36 +0900)]
staging: wilc1000: rename gau8MulticastMacAddrList variable

This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: remove return type of Handle_wait_msg_q_empty
Leo Kim [Thu, 5 Nov 2015 05:36:08 +0000 (14:36 +0900)]
staging: wilc1000: remove return type of Handle_wait_msg_q_empty

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam
Leo Kim [Thu, 5 Nov 2015 05:36:07 +0000 (14:36 +0900)]
staging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam

This patch renames strHostIFCfgParamAttr of fuction Handle_CfgParam
to cfg_param_attr to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
Leo Kim [Thu, 5 Nov 2015 05:36:06 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress

This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
to get_mac_addr to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress
Leo Kim [Thu, 5 Nov 2015 05:36:05 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress

This patch renames pstrHostIfSetMacAddress of fuction Handle_SetMacAddress
to set_mac_addr to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress
Leo Kim [Thu, 5 Nov 2015 05:36:04 +0000 (14:36 +0900)]
staging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename firmwareIPAddress of fuction Handle_set_IPAddress
Leo Kim [Thu, 5 Nov 2015 05:36:03 +0000 (14:36 +0900)]
staging: wilc1000: rename firmwareIPAddress of fuction Handle_set_IPAddress

This patch renames firmwareIPAddress of fuction Handle_set_IPAddress to
firmware_ip_addr to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress
Leo Kim [Thu, 5 Nov 2015 05:36:02 +0000 (14:36 +0900)]
staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress

This patch renames pu8IPAddr of fuction Handle_set_IPAddress to ip_addr
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: send_config_pkt: remove unnecessary blank line
Glen Lee [Tue, 3 Nov 2015 07:21:01 +0000 (16:21 +0900)]
staging: wilc1000: send_config_pkt: remove unnecessary blank line

This patch remove unnecessary blank line which is reported by checkpatch.pl

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: change enum variable name with lower case
Glen Lee [Tue, 3 Nov 2015 07:20:58 +0000 (16:20 +0900)]
staging: wilc1000: change enum variable name with lower case

This patch changes WID_TYPE with wid_type which is preferred style.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wl_wlan_cleanup: add argument struct wilc
Glen Lee [Thu, 29 Oct 2015 03:18:50 +0000 (12:18 +0900)]
staging: wilc1000: wl_wlan_cleanup: add argument struct wilc

This patch adds new argument struct wilc and use it instead of g_linux_wlan.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev
Glen Lee [Thu, 29 Oct 2015 03:18:49 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev

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 <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_init: add argument net_device
Glen Lee [Thu, 29 Oct 2015 03:18:48 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_init: add argument net_device

This patch adds new argument struct net_device and pass the function dev.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_init: add argument struct net_device
Glen Lee [Thu, 29 Oct 2015 03:18:47 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_init: add argument struct net_device

This patch adds an argument dev and pass dev to the function.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: linux_wlan_start_firmware: change argument with dev
Glen Lee [Thu, 29 Oct 2015 03:18:46 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_start_firmware: change argument with dev

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 <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_txq_add_to_tail: add argument net_device
Glen Lee [Thu, 29 Oct 2015 03:18:45 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_add_to_tail: add argument net_device

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 <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_txq_add_mgmt_pkt: add new argument dev
Glen Lee [Thu, 29 Oct 2015 03:18:44 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_add_mgmt_pkt: add new argument dev

This patch adds new argument struct net_device *dev and pass argument
struct net_device to the function.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_txq_remove_from_head: add new argument dev
Glen Lee [Thu, 29 Oct 2015 03:18:43 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_remove_from_head: add new argument dev

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 <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: linux_wlan_firmware_download: change argument
Glen Lee [Thu, 29 Oct 2015 03:18:42 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_firmware_download: change argument

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 <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: wilc_wlan_txq_get_first: add argument struct wilc
Glen Lee [Thu, 29 Oct 2015 03:18:41 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_get_first: add argument struct wilc

This patch adds new argument struct wilc and use it instead of g_linux_wlan.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrHostIfSetOperationMode of fuction Handle_SetOperationMode
Leo Kim [Thu, 29 Oct 2015 03:05:56 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIfSetOperationMode of fuction Handle_SetOperationMode

This patch renames pstrHostIfSetOperationMode of fuction Handle_SetOperationMode
to hif_op_mode to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
Leo Kim [Thu, 29 Oct 2015 03:05:55 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler

This patch renames pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
to hif_drv_handler to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel
Leo Kim [Thu, 29 Oct 2015 03:05:54 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel

This patch renames pstrHostIFSetChan of fuction Handle_SetChannel to hif_set_ch
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16FlagsSet of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:53 +0000 (12:05 +0900)]
staging: wilc1000: rename u16FlagsSet of struct add_sta_param

This patch renames u16FlagsSet of struct add_sta_param to flags_set
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16FlagsMask of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:52 +0000 (12:05 +0900)]
staging: wilc1000: rename u16FlagsMask of struct add_sta_param

This patch renames u16FlagsMask of struct add_sta_param to flags_mask
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8ASELCap of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:51 +0000 (12:05 +0900)]
staging: wilc1000: rename u8ASELCap of struct add_sta_param

This patch renames u8ASELCap of struct add_sta_param to ht_ante_sel
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32TxBeamformingCap of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:50 +0000 (12:05 +0900)]
staging: wilc1000: rename u32TxBeamformingCap of struct add_sta_param

This patch renames u32TxBeamformingCap of struct add_sta_param to ht_tx_bf_cap
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16HTExtParams of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:49 +0000 (12:05 +0900)]
staging: wilc1000: rename u16HTExtParams of struct add_sta_param

This patch renames u16HTExtParams of struct add_sta_param to ht_ext_params
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename au8SuppMCsSet of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:48 +0000 (12:05 +0900)]
staging: wilc1000: rename au8SuppMCsSet of struct add_sta_param

This patch renames au8SuppMCsSet of struct add_sta_param to ht_supp_mcs_set
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8AmpduParams of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:47 +0000 (12:05 +0900)]
staging: wilc1000: rename u8AmpduParams of struct add_sta_param

This patch renames u8AmpduParams of struct add_sta_param to ht_ampdu_params
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16HTCapInfo of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:46 +0000 (12:05 +0900)]
staging: wilc1000: rename u16HTCapInfo of struct add_sta_param

This patch renames u16HTCapInfo of struct add_sta_param to ht_capa_info
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename bIsHTSupported of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:45 +0000 (12:05 +0900)]
staging: wilc1000: rename bIsHTSupported of struct add_sta_param

This patch renames bIsHTSupported of struct add_sta_param to ht_supported
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pu8Rates of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:44 +0000 (12:05 +0900)]
staging: wilc1000: rename pu8Rates of struct add_sta_param

This patch renames pu8Rates of struct add_sta_param to rates
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8NumRates of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:43 +0000 (12:05 +0900)]
staging: wilc1000: rename u8NumRates of struct add_sta_param

This patch renames u8NumRates of struct add_sta_param to rates_len
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16AssocID of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:42 +0000 (12:05 +0900)]
staging: wilc1000: rename u16AssocID of struct add_sta_param

This patch renames u16AssocID of struct add_sta_param to aid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename au8BSSID of struct add_sta_param
Leo Kim [Thu, 29 Oct 2015 03:05:41 +0000 (12:05 +0900)]
staging: wilc1000: rename au8BSSID of struct add_sta_param

This patch renames au8BSSID of struct add_sta_param to bssid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8P2PConnect of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 03:05:40 +0000 (12:05 +0900)]
staging: wilc1000: rename u8P2PConnect of struct host_if_drv

This patch renames u8P2PConnect of struct host_if_drv to p2p_connect
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u64P2p_MgmtTimeout of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 03:05:39 +0000 (12:05 +0900)]
staging: wilc1000: rename u64P2p_MgmtTimeout of struct host_if_drv

This patch renames u64P2p_MgmtTimeout of struct host_if_drv to p2p_timeout
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32ListenSessionID of struct remain_ch
Leo Kim [Thu, 29 Oct 2015 03:05:38 +0000 (12:05 +0900)]
staging: wilc1000: rename u32ListenSessionID of struct remain_ch

This patch renames u32ListenSessionID of struct remain_ch to id
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename tenuAuth_type of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 03:05:37 +0000 (12:05 +0900)]
staging: wilc1000: rename tenuAuth_type of struct user_conn_req

This patch renames tenuAuth_type of struct user_conn_req to auth_type
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32RcvdChCount of struct user_scan_req
Leo Kim [Thu, 29 Oct 2015 03:05:36 +0000 (12:05 +0900)]
staging: wilc1000: rename u32RcvdChCount of struct user_scan_req

This patch renames u32RcvdChCount of struct user_scan_req to rcvd_ch_cnt
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename WPAPtk of enum KEY_TYPE
Leo Kim [Thu, 29 Oct 2015 03:05:35 +0000 (12:05 +0900)]
staging: wilc1000: rename WPAPtk of enum KEY_TYPE

This patch renames WPAPtk of enum KEY_TYPE to WPA_PTK
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename WPARxGtk of enum KEY_TYPE
Leo Kim [Thu, 29 Oct 2015 03:05:34 +0000 (12:05 +0900)]
staging: wilc1000: rename WPARxGtk of enum KEY_TYPE

This patch renames WPARxGtk of enum KEY_TYPE to WPA_RX_GTK
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32TxFailureCount of struct rf_info
Leo Kim [Thu, 29 Oct 2015 03:05:33 +0000 (12:05 +0900)]
staging: wilc1000: rename u32TxFailureCount of struct rf_info

This patch renames u32TxFailureCount of struct rf_info to tx_fail_cnt
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32RxCount of struct rf_info
Leo Kim [Thu, 29 Oct 2015 03:05:32 +0000 (12:05 +0900)]
staging: wilc1000: rename u32RxCount of struct rf_info

This patch renames u32RxCount of struct rf_info to rx_cnt
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32TxCount of struct rf_info
Leo Kim [Thu, 29 Oct 2015 03:05:31 +0000 (12:05 +0900)]
staging: wilc1000: rename u32TxCount of struct rf_info

This patch renames u32TxCount of struct rf_info to tx_cnt
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename s8RSSI of struct rf_info
Leo Kim [Thu, 29 Oct 2015 03:05:30 +0000 (12:05 +0900)]
staging: wilc1000: rename s8RSSI of struct rf_info

This patch renames s8RSSI of struct rf_info to rssi
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8LinkSpeed of struct rf_info
Leo Kim [Thu, 29 Oct 2015 03:05:29 +0000 (12:05 +0900)]
staging: wilc1000: rename u8LinkSpeed of struct rf_info

This patch renames u8LinkSpeed of struct rf_info to link_speed
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: host_interface.h: move local define variables
Leo Kim [Thu, 29 Oct 2015 03:05:28 +0000 (12:05 +0900)]
staging: wilc1000: host_interface.h: move local define variables

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32UserConnectPvoid of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 03:05:27 +0000 (12:05 +0900)]
staging: wilc1000: rename u32UserConnectPvoid of struct user_conn_req

This patch renames u32UserConnectPvoid of struct user_conn_req to arg
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename IsHTCapable of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 03:05:26 +0000 (12:05 +0900)]
staging: wilc1000: rename IsHTCapable of struct user_conn_req

This patch renames IsHTCapable of struct user_conn_req to ht_capable
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pfUserConnectResult of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 02:58:56 +0000 (11:58 +0900)]
staging: wilc1000: rename pfUserConnectResult of struct user_conn_req

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 <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename ConnReqIEsLen of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 02:58:55 +0000 (11:58 +0900)]
staging: wilc1000: rename ConnReqIEsLen of struct user_conn_req

This patch renames ConnReqIEsLen of struct user_conn_req to ies_len
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pu8ConnReqIEs of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 02:58:54 +0000 (11:58 +0900)]
staging: wilc1000: rename pu8ConnReqIEs of struct user_conn_req

This patch renames pu8ConnReqIEs of struct user_conn_req to ies
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename ssidLen of struct user_conn_req
Leo Kim [Thu, 29 Oct 2015 02:58:53 +0000 (11:58 +0900)]
staging: wilc1000: rename ssidLen of struct user_conn_req

This patch renames ssidLen of struct user_conn_req to ssid_len
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename astrFoundNetworkInfo of struct user_scan_req
Leo Kim [Thu, 29 Oct 2015 02:58:52 +0000 (11:58 +0900)]
staging: wilc1000: rename astrFoundNetworkInfo of struct user_scan_req

This patch renames astrFoundNetworkInfo of struct user_scan_req to net_info
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u32UserScanPvoid of struct user_scan_req
Leo Kim [Thu, 29 Oct 2015 02:58:51 +0000 (11:58 +0900)]
staging: wilc1000: rename u32UserScanPvoid of struct user_scan_req

This patch renames u32UserScanPvoid of struct user_scan_req to arg
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pfUserScanResult of struct user_scan_req
Leo Kim [Thu, 29 Oct 2015 02:58:50 +0000 (11:58 +0900)]
staging: wilc1000: rename pfUserScanResult of struct user_scan_req

This patch renames pfUserScanResult of struct user_scan_req to scan_result
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: remove warnings line over 80 characters
Leo Kim [Thu, 29 Oct 2015 02:58:49 +0000 (11:58 +0900)]
staging: wilc1000: remove warnings line over 80 characters

This patch removes the warnings reported by checkpatch.pl
for line over 80 characters.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16SessionTimeout of struct ba_session_info
Leo Kim [Thu, 29 Oct 2015 02:58:48 +0000 (11:58 +0900)]
staging: wilc1000: rename u16SessionTimeout of struct ba_session_info

This patch renames u16SessionTimeout of struct ba_session_info to time_out
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16BufferSize of struct ba_session_info
Leo Kim [Thu, 29 Oct 2015 02:58:47 +0000 (11:58 +0900)]
staging: wilc1000: rename u16BufferSize of struct ba_session_info

This patch renames u16BufferSize of struct ba_session_info to buf_size
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8Ted of struct ba_session_info
Leo Kim [Thu, 29 Oct 2015 02:58:46 +0000 (11:58 +0900)]
staging: wilc1000: rename u8Ted of struct ba_session_info

This patch renames u8Ted of struct ba_session_info to tid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename au8Bssid of struct ba_session_info
Leo Kim [Thu, 29 Oct 2015 02:58:45 +0000 (11:58 +0900)]
staging: wilc1000: rename au8Bssid of struct ba_session_info

This patch renames au8Bssid of struct ba_session_info to bssid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pVoid of struct remain_ch
Leo Kim [Thu, 29 Oct 2015 02:58:44 +0000 (11:58 +0900)]
staging: wilc1000: rename pVoid of struct remain_ch

This patch renames pVoid of struct remain_ch to arg
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pRemainOnChanReady of struct remain_ch
Leo Kim [Thu, 29 Oct 2015 02:58:43 +0000 (11:58 +0900)]
staging: wilc1000: rename pRemainOnChanReady of struct remain_ch

This patch renames pRemainOnChanReady of struct remain_ch to ready
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename pRemainOnChanExpired of struct remain_ch
Leo Kim [Thu, 29 Oct 2015 02:58:42 +0000 (11:58 +0900)]
staging: wilc1000: rename pRemainOnChanExpired of struct remain_ch

This patch renames pRemainOnChanExpired of struct remain_ch to expired
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16Channel of struct remain_ch
Leo Kim [Thu, 29 Oct 2015 02:58:41 +0000 (11:58 +0900)]
staging: wilc1000: rename u16Channel of struct remain_ch

This patch renames u16Channel of struct remain_ch to ch
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u8Regid of struct reg_frame
Leo Kim [Thu, 29 Oct 2015 02:58:40 +0000 (11:58 +0900)]
staging: wilc1000: rename u8Regid of struct reg_frame

This patch renames u8Regid of struct reg_frame to reg_id
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename u16FrameType of struct reg_frame
Leo Kim [Thu, 29 Oct 2015 02:58:39 +0000 (11:58 +0900)]
staging: wilc1000: rename u16FrameType of struct reg_frame

This patch renames u16FrameType of struct reg_frame to frame_type
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename bReg of struct reg_frame
Leo Kim [Thu, 29 Oct 2015 02:58:38 +0000 (11:58 +0900)]
staging: wilc1000: rename bReg of struct reg_frame

This patch renames bReg of struct reg_frame to reg
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: host_interface.h : remove over-commenting
Leo Kim [Thu, 29 Oct 2015 02:58:37 +0000 (11:58 +0900)]
staging: wilc1000: host_interface.h : remove over-commenting

There are over-commenting in the host_interface.h file and most of them
are not helpful to explain what the code does and generate 80 ending
line over warnings. So, all of comments are removed in this patch and the
comments will later be added if necessary with the preferred Linux style.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hRemainOnChannel of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:36 +0000 (11:58 +0900)]
staging: wilc1000: rename hRemainOnChannel of struct host_if_drv

This patch renames hRemainOnChannel of struct host_if_drv to remain_on_ch_timer
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hConnectTimer of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:35 +0000 (11:58 +0900)]
staging: wilc1000: rename hConnectTimer of struct host_if_drv

This patch renames hConnectTimer of struct host_if_drv to connect_timer
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hScanTimer of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:34 +0000 (11:58 +0900)]
staging: wilc1000: rename hScanTimer of struct host_if_drv

This patch renames hScanTimer of struct host_if_drv to scan_timer
to avoid CamelCase naming convention.
And, remove the relation comment.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemInactiveTime of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:33 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemInactiveTime of struct host_if_drv

This patch renames hSemInactiveTime of struct host_if_drv to sem_inactive_time
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemGetCHNL of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:32 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemGetCHNL of struct host_if_drv

This patch renames hSemGetCHNL of struct host_if_drv to sem_get_chnl
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemGetLINKSPEED of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:31 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemGetLINKSPEED of struct host_if_drv

This patch renames hSemGetLINKSPEED of struct host_if_drv to sem_get_link_speed
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemGetRSSI of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:30 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemGetRSSI of struct host_if_drv

This patch renames hSemGetRSSI of struct host_if_drv to sem_get_rssi
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemTestDisconnectBlock of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:29 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemTestDisconnectBlock of struct host_if_drv

This patch renames hSemTestDisconnectBlock of struct host_if_drv to
sem_test_disconn_block to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename hSemTestKeyBlock of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:28 +0000 (11:58 +0900)]
staging: wilc1000: rename hSemTestKeyBlock of struct host_if_drv

This patch renames hSemTestKeyBlock of struct host_if_drv to sem_test_key_block
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename gtOsCfgValuesSem of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:27 +0000 (11:58 +0900)]
staging: wilc1000: rename gtOsCfgValuesSem of struct host_if_drv

This patch renames gtOsCfgValuesSem of struct host_if_drv to sem_cfg_values
to avoid CamelCase naming convention.
And, remove the relation comment.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename strCfgValues of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:26 +0000 (11:58 +0900)]
staging: wilc1000: rename strCfgValues of struct host_if_drv

This patch renames strCfgValues of struct host_if_drv to cfg_values
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename au8AssociatedBSSID of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:25 +0000 (11:58 +0900)]
staging: wilc1000: rename au8AssociatedBSSID of struct host_if_drv

This patch renames au8AssociatedBSSID of struct host_if_drv to assoc_bssid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: rename enuHostIFstate of struct host_if_drv
Leo Kim [Thu, 29 Oct 2015 02:58:24 +0000 (11:58 +0900)]
staging: wilc1000: rename enuHostIFstate of struct host_if_drv

This patch renames enuHostIFstate of struct host_if_drv to hif_state
to avoid CamelCase naming convention.
And, some comments modification that has been included name 'enuHostIFstate'.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: wilc1000: Remove inclusion of version.h
Amitoj Kaur Chawla [Fri, 30 Oct 2015 06:48:56 +0000 (12:18 +0530)]
staging: wilc1000: Remove inclusion of version.h

version.h header inclusion is not necessary as detected by versioncheck.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: android: remove multiple blank lines
Ioana Ciornei [Sun, 1 Nov 2015 14:38:23 +0000 (16:38 +0200)]
staging: android: remove multiple blank lines

This patch removes multiple blank lines in order to follow
the linux kernel coding style.

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: android: properly align function arguments
Ioana Ciornei [Sun, 1 Nov 2015 14:38:22 +0000 (16:38 +0200)]
staging: android: properly align function arguments

Fix alingment issues by properly indenting function arguments
in accordance with the kernel coding style.

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: android: replace uint32_t with u32
Ioana Ciornei [Sun, 1 Nov 2015 14:38:21 +0000 (16:38 +0200)]
staging: android: replace uint32_t with u32

This patch makes use of the preferred kernel types such
as u16, u32.

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: android: replace explicit NULL comparison
Ioana Ciornei [Sun, 1 Nov 2015 14:38:20 +0000 (16:38 +0200)]
staging: android: replace explicit NULL comparison

This patch replaces explicit NULL comparison with !
operator in order to simplify the code

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agoStaging: fwserial: Remove unused fwtty_bind_console from header
Shraddha Barke [Sun, 1 Nov 2015 06:04:40 +0000 (11:34 +0530)]
Staging: fwserial: Remove unused fwtty_bind_console from header

fwtty_bind_console is defined in header file but not used.
Thus remove the definition.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 years agostaging: rtl8192e: Remove unnecessary variable
Amitoj Kaur Chawla [Sat, 31 Oct 2015 14:52:03 +0000 (20:22 +0530)]
staging: rtl8192e: Remove unnecessary variable

This patch removes unnecessary variable by using a single line of code
instead.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>