qcacld-3.0: Remove hdd_wlan_set_ht2040_mode()
Function hdd_wlan_set_ht2040_mode() is obsolete, so remove it. Change-Id: Ie5fef47eda8eb92442bb01f87c6e09d7d0c02b72 CRs-Fixed: 2371199
This commit is contained in:

committed by
nshrivas

orang tua
e0c470959a
melakukan
40edc6531b
@@ -2448,21 +2448,6 @@ struct hdd_context *hdd_context_create(struct device *dev);
|
|||||||
void hdd_context_destroy(struct hdd_context *hdd_ctx);
|
void hdd_context_destroy(struct hdd_context *hdd_ctx);
|
||||||
|
|
||||||
int hdd_wlan_notify_modem_power_state(int state);
|
int hdd_wlan_notify_modem_power_state(int state);
|
||||||
#ifdef QCA_HT_2040_COEX
|
|
||||||
/**
|
|
||||||
* 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);
|
void wlan_hdd_send_svc_nlink_msg(int radio, int type, void *data, int len);
|
||||||
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
|
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
|
||||||
|
@@ -7453,36 +7453,6 @@ static void hdd_skip_acs_scan_timer_handler(void *data)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef QCA_HT_2040_COEX
|
|
||||||
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;
|
|
||||||
mac_handle_t mac_handle;
|
|
||||||
|
|
||||||
hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
|
||||||
|
|
||||||
status = wlan_hdd_validate_context(hdd_ctx);
|
|
||||||
if (status)
|
|
||||||
return status;
|
|
||||||
|
|
||||||
mac_handle = hdd_ctx->mac_handle;
|
|
||||||
if (!mac_handle)
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
qdf_status = sme_notify_ht2040_mode(mac_handle, sta_id, sta_mac,
|
|
||||||
adapter->session_id, channel_type);
|
|
||||||
if (QDF_STATUS_SUCCESS != qdf_status) {
|
|
||||||
hdd_err("Fail to send notification with ht2040 mode");
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wlan_notify_modem_power_state() - notify FW with modem power status
|
* hdd_wlan_notify_modem_power_state() - notify FW with modem power status
|
||||||
* @state: state
|
* @state: state
|
||||||
|
Reference in New Issue
Block a user