qcacmn: Replace soc level references of set mac config

Replace the WMI command WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID
and event WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID with
WMI_PDEV_SET_MAC_CONFIG_CMDID and
WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID respectively since
the former are obsolete. The new WMI commands and events
additionally carry the pdev id.

Change-Id: I77eab3ead005bbb7f951ce7e077cd661813cb628
CRs-Fixed: 989502
This commit is contained in:
Manishekar Chandrasekaran
2016-04-27 12:52:51 +05:30
committed by Gerrit - the friendly Code Review server
parent 0d0cff8182
commit 7e21d109d2
4 changed files with 18 additions and 16 deletions

View File

@@ -3089,7 +3089,7 @@ QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl,
}
/**
* wmi_unified_soc_set_dual_mac_config_cmd() - Set dual mac config to FW
* wmi_unified_pdev_set_dual_mac_config_cmd() - Set dual mac config to FW
* @wmi_hdl: wmi handle
* @msg: Dual MAC config parameters
*
@@ -3097,13 +3097,13 @@ QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl,
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failures.
*/
QDF_STATUS wmi_unified_soc_set_dual_mac_config_cmd(void *wmi_hdl,
QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
struct wmi_dual_mac_config *msg)
{
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
if (wmi_handle->ops->send_soc_set_dual_mac_config_cmd)
return wmi_handle->ops->send_soc_set_dual_mac_config_cmd(wmi_handle,
if (wmi_handle->ops->send_pdev_set_dual_mac_config_cmd)
return wmi_handle->ops->send_pdev_set_dual_mac_config_cmd(wmi_handle,
msg);
return QDF_STATUS_E_FAILURE;