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

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

[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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 92 --- drivers/staging/wi

[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 <glen@atmel.

[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 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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/host_interface.c b/d

[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 <glen@atmel.com> --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wi

[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 <glen@atmel.com> --- 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/wi

[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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 31 +-- drivers/staging/wilc1000/wilc_wfi_netde

[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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 88 ++- drivers/staging/wi

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++---

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.

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

2016-02-04 Thread Glen Lee
-by: Glen Lee <glen@atmel.com> --- 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

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

2016-02-04 Thread Glen Lee
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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.

[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 <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patches replaces PRINT_XXX with netdev_xxx. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 109 +- 1 file changed, 54

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file cha

[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

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 2 ++

[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

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch removes unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 154 ++ 1 file changed, 24

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

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

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch removes the warning reported by checkpatch.pl for void function return statements are not generally useful. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linu

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch renames hWILCWFIDrv pointer variable of wilc_priv structure to hif_drv to avoid camelcase. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.

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

2016-02-04 Thread Glen Lee
and they will be 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 <glen@atmel.com> --- drivers/staging/wilc1000/coreconfigurator.c | 59 - drivers/staging/wilc1000/coreconfigur

[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 -

[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

[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 |

[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

[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

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

2016-02-04 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch renames u8IfIdx variable of wilc_vif structure to idx to avoid camelcase. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 2 +- driver

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

2016-02-04 Thread Glen Lee
since they are net_device from ndo_set_rx_mode of net_device_ops and vif of netdev_priv. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc10

[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

[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 ---

[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

[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 ---

[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(-)

[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(+),

[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

[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

[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

[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(-)

[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

[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 -

[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

[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 +-

[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 |

[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

[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

[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

[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 |

[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 ---

[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 +++---

[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 ---

[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 |

[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 |

[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 +-

[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 ++--

[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 |

[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

[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 |

[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

[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

[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

[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 ++--

[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 ---

[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

[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 ---

[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

[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

[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

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch fixes the check reported by checkpatch.pl for 'no space is necessary after a cast'. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file ch

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

2016-01-26 Thread Glen Lee
Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index ee779ee..db91a21

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch renames Firmware_ver variable to firmware_ver to avoid camelcase. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 15 --- 1 file cha

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 2 ++

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch removes the warning reported by checkpatch.pl for void function return statements are not generally useful. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linu

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

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

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch renames hWILCWFIDrv pointer variable of wilc_priv structure to hif_drv to avoid camelcase. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch removes unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 154 ++ 1 file changed, 24

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patches replaces PRINT_XXX with netdev_xxx. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 100 +- 1 file changed, 49

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

2016-01-26 Thread Glen Lee
From: Leo Kim <leo@atmel.com> This patch renames u8IfIdx variable of wilc_vif structure to idx to avoid camelcase. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 2 +- driver

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

2016-01-26 Thread Glen Lee
since they are net_device from ndo_set_rx_mode of net_device_ops and vif of netdev_priv. Signed-off-by: Leo Kim <leo@atmel.com> Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc10

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 <glen@atmel.com> writes: This patch series contains * support suspend and resume functionality * use a unified firmware for all mode of operations(station, ap, p2p) * s

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 ++ 1 file changed, 6 insertions

[PATCH V2 12/26] staging: wilc1000: set proper bssid address

2016-01-24 Thread Glen Lee
This patch changes index 0 to index of vif which is currently beging used because AP mode can run on any interface. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH V2 11/26] staging: wilc1000: set bssid with mode

2016-01-24 Thread Glen Lee
for the mode. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 26 +-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++-- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 3 ++- drivers/staging/wilc1000/wilc_

[PATCH V2 06/26] staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211

2016-01-24 Thread Glen Lee
This patch adds ops resume, suspend and set_wakeup in cfg80211. Together with previous patches, driver will support suspend/resume functionality. Signed-off-by: Glen Lee <glen@atmel.com> --- Changes in V2: - fix checkpatch ERROR: space required before the open parenthesis --- d

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

2016-01-24 Thread Glen Lee
and 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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 220 ++ 1 file changed, 11 insertions(+), 209 deletions(-)

[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 <glen@atmel.com> --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.

[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 <glen@atmel.com> --- Changes in V2: - changes s32 type of ret with int and do not initialize with bogus value -

[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 <glen@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 92 --- drivers/staging/wi

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.

[PATCH V2 09/26] staging: wilc1000: use unified firmware

2016-01-24 Thread Glen Lee
Use a unified firmware for all mode of operations which are station, ap and p2p. Two firmware are introduced for 1002 and 1003 chipset. Signed-off-by: Glen Lee <glen@atmel.com> --- Changes in V2: - fix checkpatch ERROR: space required before the open parenthesis --- drivers/staging/wi

[PATCH V2 05/26] staging: wilc1000: sdio_init: add resume argument

2016-01-24 Thread Glen Lee
Part of sdio init codes should not run when sdio init function is called on sdio resume so skip them. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/wilc_sdio.c | 34 +++--- drivers/staging/wilc1000/wilc_spi.c | 2 +- drivers/s

[PATCH V2 08/26] staging: wilc1000: get address from wilc

2016-01-24 Thread Glen Lee
Get mac address from wilc device instead of using random mac address. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/s

[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 <glen@atmel.

[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 <glen@atmel.com> --- 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/wi

[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 <glen@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++---

[PATCH V2 07/26] staging: wilc1000: remove sleep and reduce close timeout

2016-01-24 Thread Glen Lee
sleep is not necessary during handling tx queue so remove it and also reduce close time to 5 sec since it is enough time to close. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[PATCH V2 10/26] staging: wilc1000: remove wilc_set_machw_change_vir_if

2016-01-24 Thread Glen Lee
to wilc device. Signed-off-by: Glen Lee <glen@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 3 +-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 - drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - drivers/staging/wilc1000/wilc_wlan.c

  1   2   3   4   5   6   7   8   >