* [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel
@ 2015-09-10 19:14 Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 02/31] staging: wilc1000: rename WILC_WFI_CfgScan Chaehyun Lim
` (30 more replies)
0 siblings, 31 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_CfgSetChannel with
wilc_set_channel to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index cf76a33..3149fd8 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -677,7 +677,7 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
/**
- * @brief WILC_WFI_CfgSetChannel
+ * @brief wilc_set_channel
* @details Set channel for a given wireless interface. Some devices
* may support multi-channel operation (by channel hopping) so cfg80211
* doesn't verify much. Note, however, that the passed netdev may be
@@ -689,8 +689,8 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_CfgSetChannel(struct wiphy *wiphy,
- struct cfg80211_chan_def *chandef)
+static int wilc_set_channel(struct wiphy *wiphy,
+ struct cfg80211_chan_def *chandef)
{
u32 channelnum = 0;
@@ -3230,7 +3230,7 @@ static int WILC_WFI_start_ap(struct wiphy *wiphy, struct net_device *dev,
PRINT_D(HOSTAPD_DBG, "Interval = %d\n DTIM period = %d\n Head length = %zu Tail length = %zu\n",
settings->beacon_interval, settings->dtim_period, beacon->head_len, beacon->tail_len);
- s32Error = WILC_WFI_CfgSetChannel(wiphy, &settings->chandef);
+ s32Error = wilc_set_channel(wiphy, &settings->chandef);
if (s32Error != WILC_SUCCESS)
PRINT_ER("Error in setting channel\n");
@@ -3558,7 +3558,7 @@ int WILC_WFI_del_virt_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
#endif /*WILC_AP_EXTERNAL_MLME*/
static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
- .set_monitor_channel = WILC_WFI_CfgSetChannel,
+ .set_monitor_channel = wilc_set_channel,
.scan = WILC_WFI_CfgScan,
.connect = WILC_WFI_CfgConnect,
.disconnect = WILC_WFI_disconnect,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 02/31] staging: wilc1000: rename WILC_WFI_CfgScan
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 03/31] staging: wilc1000: rename WILC_WFI_CfgConnect Chaehyun Lim
` (29 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_CfgScan with wilc_scan to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 3149fd8..8adc26a 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -712,7 +712,7 @@ static int wilc_set_channel(struct wiphy *wiphy,
}
/**
- * @brief WILC_WFI_CfgScan
+ * @brief wilc_scan
* @details Request to do a scan. If returning zero, the scan request is given
* the driver, and will be valid until passed to cfg80211_scan_done().
* For scan results, call cfg80211_inform_bss(); you can call this outside
@@ -728,7 +728,7 @@ static int wilc_set_channel(struct wiphy *wiphy,
* kernel version 3.8.8 supported
* tony, sswd, WILC-KR, 2013-10-29
*/
-static int WILC_WFI_CfgScan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
+static int wilc_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
{
struct WILC_WFI_priv *priv;
u32 i;
@@ -3559,7 +3559,7 @@ int WILC_WFI_del_virt_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_monitor_channel = wilc_set_channel,
- .scan = WILC_WFI_CfgScan,
+ .scan = wilc_scan,
.connect = WILC_WFI_CfgConnect,
.disconnect = WILC_WFI_disconnect,
.add_key = WILC_WFI_add_key,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 03/31] staging: wilc1000: rename WILC_WFI_CfgConnect
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 02/31] staging: wilc1000: rename WILC_WFI_CfgScan Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 04/31] staging: wilc1000: rename WILC_WFI_disconnect Chaehyun Lim
` (28 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_CfgConnect with wilc_connect to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8adc26a..0337a29 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -806,7 +806,7 @@ static int wilc_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
}
/**
- * @brief WILC_WFI_CfgConnect
+ * @brief wilc_connect
* @details Connect to the ESS with the specified parameters. When connected,
* call cfg80211_connect_result() with status code %WLAN_STATUS_SUCCESS.
* If the connection fails for some reason, call cfg80211_connect_result()
@@ -817,8 +817,8 @@ static int wilc_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev,
- struct cfg80211_connect_params *sme)
+static int wilc_connect(struct wiphy *wiphy, struct net_device *dev,
+ struct cfg80211_connect_params *sme)
{
s32 s32Error = WILC_SUCCESS;
u32 i;
@@ -3560,7 +3560,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_monitor_channel = wilc_set_channel,
.scan = wilc_scan,
- .connect = WILC_WFI_CfgConnect,
+ .connect = wilc_connect,
.disconnect = WILC_WFI_disconnect,
.add_key = WILC_WFI_add_key,
.del_key = WILC_WFI_del_key,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 04/31] staging: wilc1000: rename WILC_WFI_disconnect
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 02/31] staging: wilc1000: rename WILC_WFI_CfgScan Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 03/31] staging: wilc1000: rename WILC_WFI_CfgConnect Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 05/31] staging: wilc1000: rename WILC_WFI_add_key Chaehyun Lim
` (27 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_disconnect with wilc_disconnect to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 0337a29..e301372 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1064,7 +1064,7 @@ done:
/**
- * @brief WILC_WFI_disconnect
+ * @brief wilc_disconnect
* @details Disconnect from the BSS/ESS.
* @param[in]
* @return int : Return 0 on Success
@@ -1072,7 +1072,7 @@ done:
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code)
+static int wilc_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3561,7 +3561,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_monitor_channel = wilc_set_channel,
.scan = wilc_scan,
.connect = wilc_connect,
- .disconnect = WILC_WFI_disconnect,
+ .disconnect = wilc_disconnect,
.add_key = WILC_WFI_add_key,
.del_key = WILC_WFI_del_key,
.get_key = WILC_WFI_get_key,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 05/31] staging: wilc1000: rename WILC_WFI_add_key
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (2 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 04/31] staging: wilc1000: rename WILC_WFI_disconnect Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 06/31] staging: wilc1000: rename WILC_WFI_del_key Chaehyun Lim
` (26 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_add_key with wilc_add_key to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index e301372..db327f7 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1112,7 +1112,7 @@ static int wilc_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reas
}
/**
- * @brief WILC_WFI_add_key
+ * @brief wilc_add_key
* @details Add a key with the given parameters. @mac_addr will be %NULL
* when adding a group key.
* @param[in] key : key buffer; TKIP: 16-byte temporal key, 8-byte Tx Mic key, 8-byte Rx Mic Key
@@ -1121,9 +1121,9 @@ static int wilc_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reas
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
- bool pairwise,
- const u8 *mac_addr, struct key_params *params)
+static int wilc_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
+ bool pairwise,
+ const u8 *mac_addr, struct key_params *params)
{
s32 s32Error = WILC_SUCCESS, KeyLen = params->key_len;
@@ -2933,14 +2933,14 @@ static int WILC_WFI_change_virt_intf(struct wiphy *wiphy, struct net_device *dev
PRINT_D(CFG80211_DBG, "gtk %x %x %x\n", g_key_gtk_params.key[0],
g_key_gtk_params.key[1],
g_key_gtk_params.key[2]);
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_ptk_key_params.key_idx,
g_add_ptk_key_params.pairwise,
g_add_ptk_key_params.mac_addr,
(struct key_params *)(&g_key_ptk_params));
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_gtk_key_params.key_idx,
g_add_gtk_key_params.pairwise,
@@ -3019,14 +3019,14 @@ static int WILC_WFI_change_virt_intf(struct wiphy *wiphy, struct net_device *dev
PRINT_D(CFG80211_DBG, "gtk %x %x %x\n", g_key_gtk_params.key[0],
g_key_gtk_params.key[1],
g_key_gtk_params.key[2]);
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_ptk_key_params.key_idx,
g_add_ptk_key_params.pairwise,
g_add_ptk_key_params.mac_addr,
(struct key_params *)(&g_key_ptk_params));
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_gtk_key_params.key_idx,
g_add_gtk_key_params.pairwise,
@@ -3150,14 +3150,14 @@ static int WILC_WFI_change_virt_intf(struct wiphy *wiphy, struct net_device *dev
g_key_gtk_params.key[2],
g_key_gtk_params.cipher);
#if 1
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_ptk_key_params.key_idx,
g_add_ptk_key_params.pairwise,
g_add_ptk_key_params.mac_addr,
(struct key_params *)(&g_key_ptk_params));
- WILC_WFI_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
+ wilc_add_key(g_linux_wlan->strInterfaceInfo[0].wilc_netdev->ieee80211_ptr->wiphy,
g_linux_wlan->strInterfaceInfo[0].wilc_netdev,
g_add_gtk_key_params.key_idx,
g_add_gtk_key_params.pairwise,
@@ -3562,7 +3562,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.scan = wilc_scan,
.connect = wilc_connect,
.disconnect = wilc_disconnect,
- .add_key = WILC_WFI_add_key,
+ .add_key = wilc_add_key,
.del_key = WILC_WFI_del_key,
.get_key = WILC_WFI_get_key,
.set_default_key = WILC_WFI_set_default_key,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 06/31] staging: wilc1000: rename WILC_WFI_del_key
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (3 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 05/31] staging: wilc1000: rename WILC_WFI_add_key Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 07/31] staging: wilc1000: rename WILC_WFI_get_key Chaehyun Lim
` (25 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_del_key with wilc_del_key to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index db327f7..ba5d790 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1403,7 +1403,7 @@ static int wilc_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_i
}
/**
- * @brief WILC_WFI_del_key
+ * @brief wilc_del_key
* @details Remove a key given the @mac_addr (%NULL for a group key)
* and @key_index, return -ENOENT if the key doesn't exist.
* @param[in]
@@ -1412,10 +1412,10 @@ static int wilc_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_i
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_del_key(struct wiphy *wiphy, struct net_device *netdev,
- u8 key_index,
- bool pairwise,
- const u8 *mac_addr)
+static int wilc_del_key(struct wiphy *wiphy, struct net_device *netdev,
+ u8 key_index,
+ bool pairwise,
+ const u8 *mac_addr)
{
struct WILC_WFI_priv *priv;
s32 s32Error = WILC_SUCCESS;
@@ -3563,7 +3563,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.connect = wilc_connect,
.disconnect = wilc_disconnect,
.add_key = wilc_add_key,
- .del_key = WILC_WFI_del_key,
+ .del_key = wilc_del_key,
.get_key = WILC_WFI_get_key,
.set_default_key = WILC_WFI_set_default_key,
#ifdef WILC_AP_EXTERNAL_MLME
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 07/31] staging: wilc1000: rename WILC_WFI_get_key
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (4 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 06/31] staging: wilc1000: rename WILC_WFI_del_key Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 08/31] staging: wilc1000: rename WILC_WFI_set_default_key Chaehyun Lim
` (24 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_get_key with wilc_get_key to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index ba5d790..8f90e48 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1511,7 +1511,7 @@ static int wilc_del_key(struct wiphy *wiphy, struct net_device *netdev,
}
/**
- * @brief WILC_WFI_get_key
+ * @brief wilc_get_key
* @details Get information about the key with the given parameters.
* @mac_addr will be %NULL when requesting information for a group
* key. All pointers given to the @callback function need not be valid
@@ -1523,9 +1523,9 @@ static int wilc_del_key(struct wiphy *wiphy, struct net_device *netdev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_get_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
- bool pairwise,
- const u8 *mac_addr, void *cookie, void (*callback)(void *cookie, struct key_params *))
+static int wilc_get_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
+ bool pairwise,
+ const u8 *mac_addr, void *cookie, void (*callback)(void *cookie, struct key_params *))
{
s32 s32Error = WILC_SUCCESS;
@@ -3564,7 +3564,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.disconnect = wilc_disconnect,
.add_key = wilc_add_key,
.del_key = wilc_del_key,
- .get_key = WILC_WFI_get_key,
+ .get_key = wilc_get_key,
.set_default_key = WILC_WFI_set_default_key,
#ifdef WILC_AP_EXTERNAL_MLME
.add_virtual_intf = WILC_WFI_add_virt_intf,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 08/31] staging: wilc1000: rename WILC_WFI_set_default_key
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (5 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 07/31] staging: wilc1000: rename WILC_WFI_get_key Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 09/31] staging: wilc1000: rename WILC_WFI_add_virt_intf Chaehyun Lim
` (23 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_set_default_key with wilc_set_default_key
to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8f90e48..ca7a36f 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1566,7 +1566,7 @@ static int wilc_get_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_i
}
/**
- * @brief WILC_WFI_set_default_key
+ * @brief wilc_set_default_key
* @details Set the default management frame key on an interface
* @param[in]
* @return int : Return 0 on Success.
@@ -1574,8 +1574,8 @@ static int wilc_get_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_i
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_set_default_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
- bool unicast, bool multicast)
+static int wilc_set_default_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index,
+ bool unicast, bool multicast)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3565,7 +3565,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.add_key = wilc_add_key,
.del_key = wilc_del_key,
.get_key = wilc_get_key,
- .set_default_key = WILC_WFI_set_default_key,
+ .set_default_key = wilc_set_default_key,
#ifdef WILC_AP_EXTERNAL_MLME
.add_virtual_intf = WILC_WFI_add_virt_intf,
.del_virtual_intf = WILC_WFI_del_virt_intf,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 09/31] staging: wilc1000: rename WILC_WFI_add_virt_intf
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (6 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 08/31] staging: wilc1000: rename WILC_WFI_set_default_key Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 10/31] staging: wilc1000: rename WILC_WFI_del_virt_intf Chaehyun Lim
` (22 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_add_virt_intf with wilc_add_virt_intf to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index ca7a36f..01d6e4d 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3498,7 +3498,7 @@ static int WILC_WFI_change_station(struct wiphy *wiphy, struct net_device *dev,
/**
- * @brief WILC_WFI_add_virt_intf
+ * @brief wilc_add_virt_intf
* @details
* @param[in]
* @return int : Return 0 on Success.
@@ -3506,10 +3506,10 @@ static int WILC_WFI_change_station(struct wiphy *wiphy, struct net_device *dev,
* @date 01 JUL 2012
* @version 1.0
*/
-struct wireless_dev *WILC_WFI_add_virt_intf(struct wiphy *wiphy, const char *name,
- unsigned char name_assign_type,
- enum nl80211_iftype type, u32 *flags,
- struct vif_params *params)
+struct wireless_dev *wilc_add_virt_intf(struct wiphy *wiphy, const char *name,
+ unsigned char name_assign_type,
+ enum nl80211_iftype type, u32 *flags,
+ struct vif_params *params)
{
perInterface_wlan_t *nic;
struct WILC_WFI_priv *priv;
@@ -3567,7 +3567,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.get_key = wilc_get_key,
.set_default_key = wilc_set_default_key,
#ifdef WILC_AP_EXTERNAL_MLME
- .add_virtual_intf = WILC_WFI_add_virt_intf,
+ .add_virtual_intf = wilc_add_virt_intf,
.del_virtual_intf = WILC_WFI_del_virt_intf,
.change_virtual_intf = WILC_WFI_change_virt_intf,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 10/31] staging: wilc1000: rename WILC_WFI_del_virt_intf
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (7 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 09/31] staging: wilc1000: rename WILC_WFI_add_virt_intf Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 11/31] staging: wilc1000: rename WILC_WFI_change_virt_intf Chaehyun Lim
` (21 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_del_virt_intf with wilc_del_virt_intf to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 01d6e4d..f014811 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3539,7 +3539,7 @@ struct wireless_dev *wilc_add_virt_intf(struct wiphy *wiphy, const char *name,
}
/**
- * @brief WILC_WFI_del_virt_intf
+ * @brief wilc_del_virt_intf
* @details
* @param[in]
* @return int : Return 0 on Success.
@@ -3547,7 +3547,7 @@ struct wireless_dev *wilc_add_virt_intf(struct wiphy *wiphy, const char *name,
* @date 01 JUL 2012
* @version 1.0
*/
-int WILC_WFI_del_virt_intf(struct wiphy *wiphy, struct wireless_dev *wdev) /* tony for v3.8 support */
+int wilc_del_virt_intf(struct wiphy *wiphy, struct wireless_dev *wdev) /* tony for v3.8 support */
{
PRINT_D(HOSTAPD_DBG, "Deleting virtual interface\n");
return WILC_SUCCESS;
@@ -3568,7 +3568,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_default_key = wilc_set_default_key,
#ifdef WILC_AP_EXTERNAL_MLME
.add_virtual_intf = wilc_add_virt_intf,
- .del_virtual_intf = WILC_WFI_del_virt_intf,
+ .del_virtual_intf = wilc_del_virt_intf,
.change_virtual_intf = WILC_WFI_change_virt_intf,
.start_ap = WILC_WFI_start_ap,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 11/31] staging: wilc1000: rename WILC_WFI_change_virt_intf
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (8 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 10/31] staging: wilc1000: rename WILC_WFI_del_virt_intf Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 12/31] staging: wilc1000: rename WILC_WFI_start_ap Chaehyun Lim
` (20 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_change_virt_intf with
wilc_change_virt_intf to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index f014811..3c82f2a 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2827,7 +2827,7 @@ int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
}
#ifdef WILC_AP_EXTERNAL_MLME
/**
- * @brief WILC_WFI_change_virt_intf
+ * @brief wilc_change_virt_intf
* @details Change type/configuration of virtual interface,
* keep the struct wireless_dev's iftype updated.
* @param[in] NONE
@@ -2839,8 +2839,8 @@ int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
void wilc1000_wlan_deinit(linux_wlan_t *nic);
int wilc1000_wlan_init(struct net_device *dev, perInterface_wlan_t *p_nic);
-static int WILC_WFI_change_virt_intf(struct wiphy *wiphy, struct net_device *dev,
- enum nl80211_iftype type, u32 *flags, struct vif_params *params)
+static int wilc_change_virt_intf(struct wiphy *wiphy, struct net_device *dev,
+ enum nl80211_iftype type, u32 *flags, struct vif_params *params)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3569,7 +3569,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
#ifdef WILC_AP_EXTERNAL_MLME
.add_virtual_intf = wilc_add_virt_intf,
.del_virtual_intf = wilc_del_virt_intf,
- .change_virtual_intf = WILC_WFI_change_virt_intf,
+ .change_virtual_intf = wilc_change_virt_intf,
.start_ap = WILC_WFI_start_ap,
.change_beacon = WILC_WFI_change_beacon,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 12/31] staging: wilc1000: rename WILC_WFI_start_ap
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (9 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 11/31] staging: wilc1000: rename WILC_WFI_change_virt_intf Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 13/31] staging: wilc1000: remove WILC_WFI_change_beacon Chaehyun Lim
` (19 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_start_ap with wilc_start_ap to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 3c82f2a..eba2d56 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3206,7 +3206,7 @@ static int wilc_change_virt_intf(struct wiphy *wiphy, struct net_device *dev,
*/
/**
- * @brief WILC_WFI_start_ap
+ * @brief wilc_start_ap
* @details Add a beacon with given parameters, @head, @interval
* and @dtim_period will be valid, @tail is optional.
* @param[in] wiphy
@@ -3217,8 +3217,8 @@ static int wilc_change_virt_intf(struct wiphy *wiphy, struct net_device *dev,
* @date 23 JUL 2013
* @version 1.0
*/
-static int WILC_WFI_start_ap(struct wiphy *wiphy, struct net_device *dev,
- struct cfg80211_ap_settings *settings)
+static int wilc_start_ap(struct wiphy *wiphy, struct net_device *dev,
+ struct cfg80211_ap_settings *settings)
{
struct cfg80211_beacon_data *beacon = &(settings->beacon);
struct WILC_WFI_priv *priv;
@@ -3571,7 +3571,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.del_virtual_intf = wilc_del_virt_intf,
.change_virtual_intf = wilc_change_virt_intf,
- .start_ap = WILC_WFI_start_ap,
+ .start_ap = wilc_start_ap,
.change_beacon = WILC_WFI_change_beacon,
.stop_ap = WILC_WFI_stop_ap,
.add_station = WILC_WFI_add_station,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 13/31] staging: wilc1000: remove WILC_WFI_change_beacon
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (10 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 12/31] staging: wilc1000: rename WILC_WFI_start_ap Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 14/31] staging: wilc1000: rename WILC_WFI_stop_ap Chaehyun Lim
` (18 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_change_beacon with wilc_change_beacon to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index eba2d56..69df5a0 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3247,7 +3247,7 @@ static int wilc_start_ap(struct wiphy *wiphy, struct net_device *dev,
}
/**
- * @brief WILC_WFI_change_beacon
+ * @brief wilc_change_beacon
* @details Add a beacon with given parameters, @head, @interval
* and @dtim_period will be valid, @tail is optional.
* @param[in] wiphy
@@ -3258,8 +3258,8 @@ static int wilc_start_ap(struct wiphy *wiphy, struct net_device *dev,
* @date 23 JUL 2013
* @version 1.0
*/
-static int WILC_WFI_change_beacon(struct wiphy *wiphy, struct net_device *dev,
- struct cfg80211_beacon_data *beacon)
+static int wilc_change_beacon(struct wiphy *wiphy, struct net_device *dev,
+ struct cfg80211_beacon_data *beacon)
{
struct WILC_WFI_priv *priv;
s32 s32Error = WILC_SUCCESS;
@@ -3572,7 +3572,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.change_virtual_intf = wilc_change_virt_intf,
.start_ap = wilc_start_ap,
- .change_beacon = WILC_WFI_change_beacon,
+ .change_beacon = wilc_change_beacon,
.stop_ap = WILC_WFI_stop_ap,
.add_station = WILC_WFI_add_station,
.del_station = WILC_WFI_del_station,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 14/31] staging: wilc1000: rename WILC_WFI_stop_ap
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (11 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 13/31] staging: wilc1000: remove WILC_WFI_change_beacon Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 15/31] staging: wilc1000: rename WILC_WFI_add_station Chaehyun Lim
` (17 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_stop_ap with wilc_stop_ap to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 69df5a0..1f21a83 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3278,7 +3278,7 @@ static int wilc_change_beacon(struct wiphy *wiphy, struct net_device *dev,
}
/**
- * @brief WILC_WFI_stop_ap
+ * @brief wilc_stop_ap
* @details Remove beacon configuration and stop sending the beacon.
* @param[in]
* @return int : Return 0 on Success.
@@ -3286,7 +3286,7 @@ static int wilc_change_beacon(struct wiphy *wiphy, struct net_device *dev,
* @date 23 JUL 2013
* @version 1.0
*/
-static int WILC_WFI_stop_ap(struct wiphy *wiphy, struct net_device *dev)
+static int wilc_stop_ap(struct wiphy *wiphy, struct net_device *dev)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3573,7 +3573,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.start_ap = wilc_start_ap,
.change_beacon = wilc_change_beacon,
- .stop_ap = WILC_WFI_stop_ap,
+ .stop_ap = wilc_stop_ap,
.add_station = WILC_WFI_add_station,
.del_station = WILC_WFI_del_station,
.change_station = WILC_WFI_change_station,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 15/31] staging: wilc1000: rename WILC_WFI_add_station
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (12 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 14/31] staging: wilc1000: rename WILC_WFI_stop_ap Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 16/31] staging: wilc1000: rename WILC_WFI_del_station Chaehyun Lim
` (16 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_add_station with wilc_add_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 1f21a83..03dd87f 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3313,7 +3313,7 @@ static int wilc_stop_ap(struct wiphy *wiphy, struct net_device *dev)
}
/**
- * @brief WILC_WFI_add_station
+ * @brief wilc_add_station
* @details Add a new station.
* @param[in]
* @return int : Return 0 on Success.
@@ -3321,8 +3321,8 @@ static int wilc_stop_ap(struct wiphy *wiphy, struct net_device *dev)
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_add_station(struct wiphy *wiphy, struct net_device *dev,
- const u8 *mac, struct station_parameters *params)
+static int wilc_add_station(struct wiphy *wiphy, struct net_device *dev,
+ const u8 *mac, struct station_parameters *params)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3574,7 +3574,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.start_ap = wilc_start_ap,
.change_beacon = wilc_change_beacon,
.stop_ap = wilc_stop_ap,
- .add_station = WILC_WFI_add_station,
+ .add_station = wilc_add_station,
.del_station = WILC_WFI_del_station,
.change_station = WILC_WFI_change_station,
#endif /* WILC_AP_EXTERNAL_MLME*/
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 16/31] staging: wilc1000: rename WILC_WFI_del_station
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (13 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 15/31] staging: wilc1000: rename WILC_WFI_add_station Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 17/31] staging: wilc1000: rename WILC_WFI_change_station Chaehyun Lim
` (15 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_del_station with wilc_del_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 03dd87f..ff78497 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3384,7 +3384,7 @@ static int wilc_add_station(struct wiphy *wiphy, struct net_device *dev,
}
/**
- * @brief WILC_WFI_del_station
+ * @brief wilc_del_station
* @details Remove a station; @mac may be NULL to remove all stations.
* @param[in]
* @return int : Return 0 on Success.
@@ -3392,8 +3392,8 @@ static int wilc_add_station(struct wiphy *wiphy, struct net_device *dev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_del_station(struct wiphy *wiphy, struct net_device *dev,
- struct station_del_parameters *params)
+static int wilc_del_station(struct wiphy *wiphy, struct net_device *dev,
+ struct station_del_parameters *params)
{
const u8 *mac = params->mac;
s32 s32Error = WILC_SUCCESS;
@@ -3575,7 +3575,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.change_beacon = wilc_change_beacon,
.stop_ap = wilc_stop_ap,
.add_station = wilc_add_station,
- .del_station = WILC_WFI_del_station,
+ .del_station = wilc_del_station,
.change_station = WILC_WFI_change_station,
#endif /* WILC_AP_EXTERNAL_MLME*/
.get_station = WILC_WFI_get_station,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 17/31] staging: wilc1000: rename WILC_WFI_change_station
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (14 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 16/31] staging: wilc1000: rename WILC_WFI_del_station Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 18/31] staging: wilc1000: rename WILC_WFI_get_station Chaehyun Lim
` (14 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_change_station with wilc_change_station to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index ff78497..76556a0 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3427,7 +3427,7 @@ static int wilc_del_station(struct wiphy *wiphy, struct net_device *dev,
}
/**
- * @brief WILC_WFI_change_station
+ * @brief wilc_change_station
* @details Modify a given station.
* @param[in]
* @return int : Return 0 on Success.
@@ -3435,8 +3435,8 @@ static int wilc_del_station(struct wiphy *wiphy, struct net_device *dev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_change_station(struct wiphy *wiphy, struct net_device *dev,
- const u8 *mac, struct station_parameters *params)
+static int wilc_change_station(struct wiphy *wiphy, struct net_device *dev,
+ const u8 *mac, struct station_parameters *params)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3576,7 +3576,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.stop_ap = wilc_stop_ap,
.add_station = wilc_add_station,
.del_station = wilc_del_station,
- .change_station = WILC_WFI_change_station,
+ .change_station = wilc_change_station,
#endif /* WILC_AP_EXTERNAL_MLME*/
.get_station = WILC_WFI_get_station,
.dump_station = WILC_WFI_dump_station,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 18/31] staging: wilc1000: rename WILC_WFI_get_station
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (15 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 17/31] staging: wilc1000: rename WILC_WFI_change_station Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 19/31] staging: wilc1000: rename WILC_WFI_dump_station Chaehyun Lim
` (13 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_get_station with wilc_get_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 76556a0..afacda5 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1619,7 +1619,7 @@ static int WILC_WFI_dump_survey(struct wiphy *wiphy, struct net_device *netdev,
/**
- * @brief WILC_WFI_get_station
+ * @brief wilc_get_station
* @details Get station information for the station identified by @mac
* @param[in] NONE
* @return int : Return 0 on Success.
@@ -1628,8 +1628,8 @@ static int WILC_WFI_dump_survey(struct wiphy *wiphy, struct net_device *netdev,
* @version 1.0
*/
-static int WILC_WFI_get_station(struct wiphy *wiphy, struct net_device *dev,
- const u8 *mac, struct station_info *sinfo)
+static int wilc_get_station(struct wiphy *wiphy, struct net_device *dev,
+ const u8 *mac, struct station_info *sinfo)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3578,7 +3578,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.del_station = wilc_del_station,
.change_station = wilc_change_station,
#endif /* WILC_AP_EXTERNAL_MLME*/
- .get_station = WILC_WFI_get_station,
+ .get_station = wilc_get_station,
.dump_station = WILC_WFI_dump_station,
.change_bss = WILC_WFI_change_bss,
.set_wiphy_params = WILC_WFI_set_wiphy_params,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 19/31] staging: wilc1000: rename WILC_WFI_dump_station
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (16 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 18/31] staging: wilc1000: rename WILC_WFI_get_station Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 20/31] staging: wilc1000: rename WILC_WFI_change_bss Chaehyun Lim
` (12 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_dump_station with wilc_dump_station to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index afacda5..06276de 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2760,7 +2760,7 @@ static int WILC_WFI_set_cqm_rssi_config(struct wiphy *wiphy,
}
/**
- * @brief WILC_WFI_dump_station
+ * @brief wilc_dump_station
* @details Configure connection quality monitor RSSI threshold.
* @param[in] struct wiphy *wiphy:
* @param[in] struct net_device *dev
@@ -2772,8 +2772,8 @@ static int WILC_WFI_set_cqm_rssi_config(struct wiphy *wiphy,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_dump_station(struct wiphy *wiphy, struct net_device *dev,
- int idx, u8 *mac, struct station_info *sinfo)
+static int wilc_dump_station(struct wiphy *wiphy, struct net_device *dev,
+ int idx, u8 *mac, struct station_info *sinfo)
{
struct WILC_WFI_priv *priv;
@@ -3579,7 +3579,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.change_station = wilc_change_station,
#endif /* WILC_AP_EXTERNAL_MLME*/
.get_station = wilc_get_station,
- .dump_station = WILC_WFI_dump_station,
+ .dump_station = wilc_dump_station,
.change_bss = WILC_WFI_change_bss,
.set_wiphy_params = WILC_WFI_set_wiphy_params,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 20/31] staging: wilc1000: rename WILC_WFI_change_bss
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (17 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 19/31] staging: wilc1000: rename WILC_WFI_dump_station Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 21/31] staging: wilc1000: rename WILC_WFI_set_wiphy_params Chaehyun Lim
` (11 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_change_bss with wilc_change_bss to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 06276de..8a71027 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1710,7 +1710,7 @@ static int wilc_get_station(struct wiphy *wiphy, struct net_device *dev,
/**
- * @brief WILC_WFI_change_bss
+ * @brief wilc_change_bss
* @details Modify parameters for a given BSS.
* @param[in]
* -use_cts_prot: Whether to use CTS protection
@@ -1730,8 +1730,8 @@ static int wilc_get_station(struct wiphy *wiphy, struct net_device *dev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_change_bss(struct wiphy *wiphy, struct net_device *dev,
- struct bss_parameters *params)
+static int wilc_change_bss(struct wiphy *wiphy, struct net_device *dev,
+ struct bss_parameters *params)
{
PRINT_D(CFG80211_DBG, "Changing Bss parametrs\n");
return 0;
@@ -3580,7 +3580,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
#endif /* WILC_AP_EXTERNAL_MLME*/
.get_station = wilc_get_station,
.dump_station = wilc_dump_station,
- .change_bss = WILC_WFI_change_bss,
+ .change_bss = wilc_change_bss,
.set_wiphy_params = WILC_WFI_set_wiphy_params,
.set_pmksa = WILC_WFI_set_pmksa,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 21/31] staging: wilc1000: rename WILC_WFI_set_wiphy_params
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (18 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 20/31] staging: wilc1000: rename WILC_WFI_change_bss Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 22/31] staging: wilc1000: rename WILC_WFI_set_pmksa Chaehyun Lim
` (10 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_set_wiphy_params with wilc_set_wiphy_params
to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8a71027..fb98534 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1802,7 +1802,7 @@ static int WILC_WFI_disassoc(struct wiphy *wiphy, struct net_device *dev,
}
/**
- * @brief WILC_WFI_set_wiphy_params
+ * @brief wilc_set_wiphy_params
* @details Notify that wiphy parameters have changed;
* @param[in] Changed bitfield (see &enum wiphy_params_flags) describes which values
* have changed.
@@ -1811,7 +1811,7 @@ static int WILC_WFI_disassoc(struct wiphy *wiphy, struct net_device *dev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_set_wiphy_params(struct wiphy *wiphy, u32 changed)
+static int wilc_set_wiphy_params(struct wiphy *wiphy, u32 changed)
{
s32 s32Error = WILC_SUCCESS;
tstrCfgParamVal pstrCfgParamVal;
@@ -3581,7 +3581,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.get_station = wilc_get_station,
.dump_station = wilc_dump_station,
.change_bss = wilc_change_bss,
- .set_wiphy_params = WILC_WFI_set_wiphy_params,
+ .set_wiphy_params = wilc_set_wiphy_params,
.set_pmksa = WILC_WFI_set_pmksa,
.del_pmksa = WILC_WFI_del_pmksa,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 22/31] staging: wilc1000: rename WILC_WFI_set_pmksa
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (19 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 21/31] staging: wilc1000: rename WILC_WFI_set_wiphy_params Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 23/31] staging: wilc1000: rename WILC_WFI_del_pmksa Chaehyun Lim
` (9 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_set_pmksa with wilc_set_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index fb98534..3bac541 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1880,7 +1880,7 @@ static int WILC_WFI_set_bitrate_mask(struct wiphy *wiphy,
}
/**
- * @brief WILC_WFI_set_pmksa
+ * @brief wilc_set_pmksa
* @details Cache a PMKID for a BSSID. This is mostly useful for fullmac
* devices running firmwares capable of generating the (re) association
* RSN IE. It allows for faster roaming between WPA2 BSSIDs.
@@ -1890,8 +1890,8 @@ static int WILC_WFI_set_bitrate_mask(struct wiphy *wiphy,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_set_pmksa(struct wiphy *wiphy, struct net_device *netdev,
- struct cfg80211_pmksa *pmksa)
+static int wilc_set_pmksa(struct wiphy *wiphy, struct net_device *netdev,
+ struct cfg80211_pmksa *pmksa)
{
u32 i;
s32 s32Error = WILC_SUCCESS;
@@ -3583,7 +3583,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.change_bss = wilc_change_bss,
.set_wiphy_params = wilc_set_wiphy_params,
- .set_pmksa = WILC_WFI_set_pmksa,
+ .set_pmksa = wilc_set_pmksa,
.del_pmksa = WILC_WFI_del_pmksa,
.flush_pmksa = WILC_WFI_flush_pmksa,
#ifdef WILC_P2P
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 23/31] staging: wilc1000: rename WILC_WFI_del_pmksa
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (20 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 22/31] staging: wilc1000: rename WILC_WFI_set_pmksa Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 24/31] staging: wilc1000: rename WILC_WFI_flush_pmksa Chaehyun Lim
` (8 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_del_pmksa with wilc_del_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 3bac541..96c94e59 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1932,7 +1932,7 @@ static int wilc_set_pmksa(struct wiphy *wiphy, struct net_device *netdev,
}
/**
- * @brief WILC_WFI_del_pmksa
+ * @brief wilc_del_pmksa
* @details Delete a cached PMKID.
* @param[in]
* @return int : Return 0 on Success
@@ -1940,8 +1940,8 @@ static int wilc_set_pmksa(struct wiphy *wiphy, struct net_device *netdev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
- struct cfg80211_pmksa *pmksa)
+static int wilc_del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
+ struct cfg80211_pmksa *pmksa)
{
u32 i;
@@ -3584,7 +3584,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_wiphy_params = wilc_set_wiphy_params,
.set_pmksa = wilc_set_pmksa,
- .del_pmksa = WILC_WFI_del_pmksa,
+ .del_pmksa = wilc_del_pmksa,
.flush_pmksa = WILC_WFI_flush_pmksa,
#ifdef WILC_P2P
.remain_on_channel = WILC_WFI_remain_on_channel,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 24/31] staging: wilc1000: rename WILC_WFI_flush_pmksa
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (21 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 23/31] staging: wilc1000: rename WILC_WFI_del_pmksa Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 25/31] staging: wilc1000: rename WILC_WFI_remain_on_channel Chaehyun Lim
` (7 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_flush_pmksa with wilc_flush_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 96c94e59..c7cc1a2 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1981,7 +1981,7 @@ static int wilc_del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
}
/**
- * @brief WILC_WFI_flush_pmksa
+ * @brief wilc_flush_pmksa
* @details Flush all cached PMKIDs.
* @param[in]
* @return int : Return 0 on Success
@@ -1989,7 +1989,7 @@ static int wilc_del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev)
+static int wilc_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev)
{
struct WILC_WFI_priv *priv = wiphy_priv(wiphy);
@@ -3585,7 +3585,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_pmksa = wilc_set_pmksa,
.del_pmksa = wilc_del_pmksa,
- .flush_pmksa = WILC_WFI_flush_pmksa,
+ .flush_pmksa = wilc_flush_pmksa,
#ifdef WILC_P2P
.remain_on_channel = WILC_WFI_remain_on_channel,
.cancel_remain_on_channel = WILC_WFI_cancel_remain_on_channel,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 25/31] staging: wilc1000: rename WILC_WFI_remain_on_channel
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (22 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 24/31] staging: wilc1000: rename WILC_WFI_flush_pmksa Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 26/31] staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel Chaehyun Lim
` (6 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_remain_on_channel with
wilc_remain_on_channel to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index c7cc1a2..824fba0 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2391,7 +2391,7 @@ static void WILC_WFI_RemainOnChannelExpired(void *pUserVoid, u32 u32SessionID)
/**
- * @brief WILC_WFI_remain_on_channel
+ * @brief wilc_remain_on_channel
* @details Request the driver to remain awake on the specified
* channel for the specified duration to complete an off-channel
* operation (e.g., public action frame exchange). When the driver is
@@ -2403,10 +2403,10 @@ static void WILC_WFI_RemainOnChannelExpired(void *pUserVoid, u32 u32SessionID)
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_remain_on_channel(struct wiphy *wiphy,
- struct wireless_dev *wdev,
- struct ieee80211_channel *chan,
- unsigned int duration, u64 *cookie)
+static int wilc_remain_on_channel(struct wiphy *wiphy,
+ struct wireless_dev *wdev,
+ struct ieee80211_channel *chan,
+ unsigned int duration, u64 *cookie)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3587,7 +3587,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.del_pmksa = wilc_del_pmksa,
.flush_pmksa = wilc_flush_pmksa,
#ifdef WILC_P2P
- .remain_on_channel = WILC_WFI_remain_on_channel,
+ .remain_on_channel = wilc_remain_on_channel,
.cancel_remain_on_channel = WILC_WFI_cancel_remain_on_channel,
.mgmt_tx_cancel_wait = WILC_WFI_mgmt_tx_cancel_wait,
.mgmt_tx = WILC_WFI_mgmt_tx,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 26/31] staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (23 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 25/31] staging: wilc1000: rename WILC_WFI_remain_on_channel Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 27/31] staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait Chaehyun Lim
` (5 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_cancel_remain_on_channel with
wilc_cancel_remain_on_channel to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 824fba0..6b84821 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2444,7 +2444,7 @@ static int wilc_remain_on_channel(struct wiphy *wiphy,
}
/**
- * @brief WILC_WFI_cancel_remain_on_channel
+ * @brief wilc_cancel_remain_on_channel
* @details Cancel an on-going remain-on-channel operation.
* This allows the operation to be terminated prior to timeout based on
* the duration value.
@@ -2456,9 +2456,9 @@ static int wilc_remain_on_channel(struct wiphy *wiphy,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_cancel_remain_on_channel(struct wiphy *wiphy,
- struct wireless_dev *wdev,
- u64 cookie)
+static int wilc_cancel_remain_on_channel(struct wiphy *wiphy,
+ struct wireless_dev *wdev,
+ u64 cookie)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3588,7 +3588,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.flush_pmksa = wilc_flush_pmksa,
#ifdef WILC_P2P
.remain_on_channel = wilc_remain_on_channel,
- .cancel_remain_on_channel = WILC_WFI_cancel_remain_on_channel,
+ .cancel_remain_on_channel = wilc_cancel_remain_on_channel,
.mgmt_tx_cancel_wait = WILC_WFI_mgmt_tx_cancel_wait,
.mgmt_tx = WILC_WFI_mgmt_tx,
.mgmt_frame_register = WILC_WFI_frame_register,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 27/31] staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (24 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 26/31] staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx Chaehyun Lim
` (4 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_mgmt_tx_cancel_wait with
wilc_mgmt_tx_cancel_wait to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 6b84821..8ce6721 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2652,9 +2652,9 @@ int WILC_WFI_mgmt_tx(struct wiphy *wiphy,
return s32Error;
}
-int WILC_WFI_mgmt_tx_cancel_wait(struct wiphy *wiphy,
- struct wireless_dev *wdev,
- u64 cookie)
+int wilc_mgmt_tx_cancel_wait(struct wiphy *wiphy,
+ struct wireless_dev *wdev,
+ u64 cookie)
{
struct WILC_WFI_priv *priv;
tstrWILC_WFIDrv *pstrWFIDrv;
@@ -3589,7 +3589,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
#ifdef WILC_P2P
.remain_on_channel = wilc_remain_on_channel,
.cancel_remain_on_channel = wilc_cancel_remain_on_channel,
- .mgmt_tx_cancel_wait = WILC_WFI_mgmt_tx_cancel_wait,
+ .mgmt_tx_cancel_wait = wilc_mgmt_tx_cancel_wait,
.mgmt_tx = WILC_WFI_mgmt_tx,
.mgmt_frame_register = WILC_WFI_frame_register,
.set_power_mgmt = WILC_WFI_set_power_mgmt,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (25 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 27/31] staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 29/31] staging: wilc1000: rename WILC_WFI_frame_register Chaehyun Lim
` (3 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_mgmt_tx with wilc_mgmt_tx to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8ce6721..dc935cb 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2496,10 +2496,10 @@ void WILC_WFI_add_wilcvendorspec(u8 *buff)
*/
extern linux_wlan_t *g_linux_wlan;
extern bool bEnablePS;
-int WILC_WFI_mgmt_tx(struct wiphy *wiphy,
- struct wireless_dev *wdev,
- struct cfg80211_mgmt_tx_params *params,
- u64 *cookie)
+int wilc_mgmt_tx(struct wiphy *wiphy,
+ struct wireless_dev *wdev,
+ struct cfg80211_mgmt_tx_params *params,
+ u64 *cookie)
{
struct ieee80211_channel *chan = params->chan;
unsigned int wait = params->wait;
@@ -3590,7 +3590,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.remain_on_channel = wilc_remain_on_channel,
.cancel_remain_on_channel = wilc_cancel_remain_on_channel,
.mgmt_tx_cancel_wait = wilc_mgmt_tx_cancel_wait,
- .mgmt_tx = WILC_WFI_mgmt_tx,
+ .mgmt_tx = wilc_mgmt_tx,
.mgmt_frame_register = WILC_WFI_frame_register,
.set_power_mgmt = WILC_WFI_set_power_mgmt,
.set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 29/31] staging: wilc1000: rename WILC_WFI_frame_register
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (26 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 30/31] staging: wilc1000: rename WILC_WFI_set_power_mgmt Chaehyun Lim
` (2 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_frame_register with
wilc_mgmt_frame_register to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/linux_wlan.c | 8 ++++----
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 335335a..637f661 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -1719,8 +1719,8 @@ int mac_init_fn(struct net_device *ndev)
return 0;
}
-void WILC_WFI_frame_register(struct wiphy *wiphy, struct net_device *dev,
- u16 frame_type, bool reg);
+void wilc_mgmt_frame_register(struct wiphy *wiphy, struct net_device *dev,
+ u16 frame_type, bool reg);
/* This fn is called, when this device is setup using ifconfig */
int mac_open(struct net_device *ndev)
@@ -1778,9 +1778,9 @@ int mac_open(struct net_device *ndev)
goto _err_;
}
- WILC_WFI_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev,
+ wilc_mgmt_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev,
nic->g_struct_frame_reg[0].frame_type, nic->g_struct_frame_reg[0].reg);
- WILC_WFI_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev,
+ wilc_mgmt_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev,
nic->g_struct_frame_reg[1].frame_type, nic->g_struct_frame_reg[1].reg);
netif_wake_queue(ndev);
g_linux_wlan->open_ifcs++;
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index dc935cb..2ecaeec 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2679,7 +2679,7 @@ int wilc_mgmt_tx_cancel_wait(struct wiphy *wiphy,
}
/**
- * @brief WILC_WFI_frame_register
+ * @brief wilc_mgmt_frame_register
* @details Notify driver that a management frame type was
* registered. Note that this callback may not sleep, and cannot run
* concurrently with itself.
@@ -2689,9 +2689,9 @@ int wilc_mgmt_tx_cancel_wait(struct wiphy *wiphy,
* @date 01 JUL 2012
* @version
*/
-void WILC_WFI_frame_register(struct wiphy *wiphy,
- struct wireless_dev *wdev,
- u16 frame_type, bool reg)
+void wilc_mgmt_frame_register(struct wiphy *wiphy,
+ struct wireless_dev *wdev,
+ u16 frame_type, bool reg)
{
struct WILC_WFI_priv *priv;
@@ -3591,7 +3591,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.cancel_remain_on_channel = wilc_cancel_remain_on_channel,
.mgmt_tx_cancel_wait = wilc_mgmt_tx_cancel_wait,
.mgmt_tx = wilc_mgmt_tx,
- .mgmt_frame_register = WILC_WFI_frame_register,
+ .mgmt_frame_register = wilc_mgmt_frame_register,
.set_power_mgmt = WILC_WFI_set_power_mgmt,
.set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
#endif
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 30/31] staging: wilc1000: rename WILC_WFI_set_power_mgmt
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (27 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 29/31] staging: wilc1000: rename WILC_WFI_frame_register Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 31/31] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config Chaehyun Lim
2015-09-12 2:36 ` [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Greg KH
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_set_power_mgmt with wilc_set_power_mgmt to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 2ecaeec..4967306 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2794,7 +2794,7 @@ static int wilc_dump_station(struct wiphy *wiphy, struct net_device *dev,
/**
- * @brief WILC_WFI_set_power_mgmt
+ * @brief wilc_set_power_mgmt
* @details
* @param[in]
* @return int : Return 0 on Success.
@@ -2802,8 +2802,8 @@ static int wilc_dump_station(struct wiphy *wiphy, struct net_device *dev,
* @date 01 JUL 2012
* @version 1.0WILC_WFI_set_cqmWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_config_rssi_config
*/
-int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
- bool enabled, int timeout)
+int wilc_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
+ bool enabled, int timeout)
{
struct WILC_WFI_priv *priv;
@@ -3592,7 +3592,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.mgmt_tx_cancel_wait = wilc_mgmt_tx_cancel_wait,
.mgmt_tx = wilc_mgmt_tx,
.mgmt_frame_register = wilc_mgmt_frame_register,
- .set_power_mgmt = WILC_WFI_set_power_mgmt,
+ .set_power_mgmt = wilc_set_power_mgmt,
.set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
#endif
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH V2 31/31] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (28 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 30/31] staging: wilc1000: rename WILC_WFI_set_power_mgmt Chaehyun Lim
@ 2015-09-10 19:14 ` Chaehyun Lim
2015-09-12 2:36 ` [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Greg KH
30 siblings, 0 replies; 32+ messages in thread
From: Chaehyun Lim @ 2015-09-10 19:14 UTC (permalink / raw)
To: gregkh
Cc: johnny.kim, rachel.kim, chris.park, tony.cho, glen.lee, leo.kim,
linux-wireless, devel, Chaehyun Lim
This patch replaces WILC_WFI_set_cqm_rssi_config with
wilc_set_cqm_rssi_config to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
V2: to make function name simple
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 4967306..ec11f82 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2741,7 +2741,7 @@ void wilc_mgmt_frame_register(struct wiphy *wiphy,
#endif /*WILC_P2P*/
/**
- * @brief WILC_WFI_set_cqm_rssi_config
+ * @brief wilc_set_cqm_rssi_config
* @details Configure connection quality monitor RSSI threshold.
* @param[in] struct wiphy *wiphy:
* @param[in] struct net_device *dev:
@@ -2752,7 +2752,7 @@ void wilc_mgmt_frame_register(struct wiphy *wiphy,
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_set_cqm_rssi_config(struct wiphy *wiphy,
+static int wilc_set_cqm_rssi_config(struct wiphy *wiphy,
struct net_device *dev, s32 rssi_thold, u32 rssi_hyst)
{
PRINT_D(CFG80211_DBG, "Setting CQM RSSi Function\n");
@@ -3593,7 +3593,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.mgmt_tx = wilc_mgmt_tx,
.mgmt_frame_register = wilc_mgmt_frame_register,
.set_power_mgmt = wilc_set_power_mgmt,
- .set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
+ .set_cqm_rssi_config = wilc_set_cqm_rssi_config,
#endif
};
--
2.5.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
` (29 preceding siblings ...)
2015-09-10 19:14 ` [PATCH V2 31/31] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config Chaehyun Lim
@ 2015-09-12 2:36 ` Greg KH
30 siblings, 0 replies; 32+ messages in thread
From: Greg KH @ 2015-09-12 2:36 UTC (permalink / raw)
To: Chaehyun Lim
Cc: rachel.kim, devel, chris.park, linux-wireless, johnny.kim,
tony.cho, leo.kim
On Fri, Sep 11, 2015 at 04:14:00AM +0900, Chaehyun Lim wrote:
> This patch replaces WILC_WFI_CfgSetChannel with
> wilc_set_channel to avoid CamelCase.
>
> Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
> ---
> V2: to make function name simple
>
> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> index cf76a33..3149fd8 100644
> --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> @@ -677,7 +677,7 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
>
>
> /**
> - * @brief WILC_WFI_CfgSetChannel
> + * @brief wilc_set_channel
> * @details Set channel for a given wireless interface. Some devices
> * may support multi-channel operation (by channel hopping) so cfg80211
> * doesn't verify much. Note, however, that the passed netdev may be
> @@ -689,8 +689,8 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
> * @date 01 MAR 2012
> * @version 1.0
> */
> -static int WILC_WFI_CfgSetChannel(struct wiphy *wiphy,
> - struct cfg80211_chan_def *chandef)
> +static int wilc_set_channel(struct wiphy *wiphy,
> + struct cfg80211_chan_def *chandef)
static functions do not need a "wilc_" prefix. Just name it
"set_channel()"
Can you redo this series based on that, rebase on my staging-testing git
branch as things are changing fast in this driver, and then resend?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2015-09-12 4:35 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10 19:14 [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 02/31] staging: wilc1000: rename WILC_WFI_CfgScan Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 03/31] staging: wilc1000: rename WILC_WFI_CfgConnect Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 04/31] staging: wilc1000: rename WILC_WFI_disconnect Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 05/31] staging: wilc1000: rename WILC_WFI_add_key Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 06/31] staging: wilc1000: rename WILC_WFI_del_key Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 07/31] staging: wilc1000: rename WILC_WFI_get_key Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 08/31] staging: wilc1000: rename WILC_WFI_set_default_key Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 09/31] staging: wilc1000: rename WILC_WFI_add_virt_intf Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 10/31] staging: wilc1000: rename WILC_WFI_del_virt_intf Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 11/31] staging: wilc1000: rename WILC_WFI_change_virt_intf Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 12/31] staging: wilc1000: rename WILC_WFI_start_ap Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 13/31] staging: wilc1000: remove WILC_WFI_change_beacon Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 14/31] staging: wilc1000: rename WILC_WFI_stop_ap Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 15/31] staging: wilc1000: rename WILC_WFI_add_station Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 16/31] staging: wilc1000: rename WILC_WFI_del_station Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 17/31] staging: wilc1000: rename WILC_WFI_change_station Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 18/31] staging: wilc1000: rename WILC_WFI_get_station Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 19/31] staging: wilc1000: rename WILC_WFI_dump_station Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 20/31] staging: wilc1000: rename WILC_WFI_change_bss Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 21/31] staging: wilc1000: rename WILC_WFI_set_wiphy_params Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 22/31] staging: wilc1000: rename WILC_WFI_set_pmksa Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 23/31] staging: wilc1000: rename WILC_WFI_del_pmksa Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 24/31] staging: wilc1000: rename WILC_WFI_flush_pmksa Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 25/31] staging: wilc1000: rename WILC_WFI_remain_on_channel Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 26/31] staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 27/31] staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 29/31] staging: wilc1000: rename WILC_WFI_frame_register Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 30/31] staging: wilc1000: rename WILC_WFI_set_power_mgmt Chaehyun Lim
2015-09-10 19:14 ` [PATCH V2 31/31] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config Chaehyun Lim
2015-09-12 2:36 ` [PATCH V2 01/31] staging: wilc1000: rename WILC_WFI_CfgSetChannel Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).