mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Rename hdd_wlan_set_ht2040_mode() params
Per the Linux coding style "mixed-case names are frowned upon" so rename parameters to hdd_wlan_set_ht2040_mode() which currently use mixed-case names. Change-Id: I7759dcfb0e37c86a953d029a7ecf96082f565bbc CRs-Fixed: 2131090
This commit is contained in:
parent
65fda1155b
commit
e7672e7c5f
2 changed files with 17 additions and 17 deletions
|
|
@ -2065,8 +2065,19 @@ int hdd_wlan_startup(struct device *dev);
|
|||
void __hdd_wlan_exit(void);
|
||||
int hdd_wlan_notify_modem_power_state(int state);
|
||||
#ifdef QCA_HT_2040_COEX
|
||||
int hdd_wlan_set_ht2040_mode(struct hdd_adapter *adapter, uint16_t staId,
|
||||
struct qdf_mac_addr macAddrSTA, int width);
|
||||
/**
|
||||
* hdd_wlan_set_ht2040_mode() - notify FW with HT20/HT40 mode
|
||||
* @adapter: pointer to adapter
|
||||
* @sta_id: station id
|
||||
* @sta_mac: station MAC address
|
||||
* @channel_type: channel type
|
||||
*
|
||||
* This function notifies FW with HT20/HT40 mode
|
||||
*
|
||||
* Return: 0 if successful, error number otherwise
|
||||
*/
|
||||
int hdd_wlan_set_ht2040_mode(struct hdd_adapter *adapter, uint16_t sta_id,
|
||||
struct qdf_mac_addr sta_mac, int channel_type);
|
||||
#endif
|
||||
|
||||
void wlan_hdd_send_svc_nlink_msg(int radio, int type, void *data, int len);
|
||||
|
|
|
|||
|
|
@ -6159,23 +6159,12 @@ static void hdd_skip_acs_scan_timer_handler(void *data)
|
|||
#endif
|
||||
|
||||
#ifdef QCA_HT_2040_COEX
|
||||
/**
|
||||
* hdd_wlan_set_ht2040_mode() - notify FW with HT20/HT40 mode
|
||||
* @adapter: pointer to adapter
|
||||
* @staId: station id
|
||||
* @macAddrSTA: station MAC address
|
||||
* @channel_type: channel type
|
||||
*
|
||||
* This function notifies FW with HT20/HT40 mode
|
||||
*
|
||||
* Return: 0 if successful, error number otherwise
|
||||
*/
|
||||
int hdd_wlan_set_ht2040_mode(struct hdd_adapter *adapter, uint16_t staId,
|
||||
struct qdf_mac_addr macAddrSTA, int channel_type)
|
||||
int hdd_wlan_set_ht2040_mode(struct hdd_adapter *adapter, uint16_t sta_id,
|
||||
struct qdf_mac_addr sta_mac, int channel_type)
|
||||
{
|
||||
int status;
|
||||
QDF_STATUS qdf_status;
|
||||
struct hdd_context *hdd_ctx = NULL;
|
||||
struct hdd_context *hdd_ctx;
|
||||
|
||||
hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
||||
|
||||
|
|
@ -6186,7 +6175,7 @@ int hdd_wlan_set_ht2040_mode(struct hdd_adapter *adapter, uint16_t staId,
|
|||
if (!hdd_ctx->hHal)
|
||||
return -EINVAL;
|
||||
|
||||
qdf_status = sme_notify_ht2040_mode(hdd_ctx->hHal, staId, macAddrSTA,
|
||||
qdf_status = sme_notify_ht2040_mode(hdd_ctx->hHal, sta_id, sta_mac,
|
||||
adapter->sessionId, channel_type);
|
||||
if (QDF_STATUS_SUCCESS != qdf_status) {
|
||||
hdd_err("Fail to send notification with ht2040 mode");
|
||||
|
|
|
|||
Loading…
Reference in a new issue