qcacmn: Add wmi_support to send AFC cmd to the FW

Add Host WMI APIs to send the WMI_AFC_CMDID to the FW.

Change-Id: I6849826ab4596f3c76b2dea3cb76116be46b4dd6
CRs-Fixed: 2985645
This commit is contained in:
Hariharan Basuthkar
2021-07-07 10:32:55 +05:30
committed by Madan Koyyalamudi
parent 5246cc0bf2
commit 9f2a6a4040
4 changed files with 88 additions and 0 deletions

View File

@@ -3437,6 +3437,20 @@ QDF_STATUS wmi_unified_send_set_tpc_power_cmd(wmi_unified_t wmi_handle,
return QDF_STATUS_E_FAILURE;
}
#ifdef CONFIG_AFC_SUPPORT
QDF_STATUS
wmi_unified_send_afc_cmd(wmi_unified_t wmi_handle, uint8_t pdev_id,
struct reg_afc_resp_rx_ind_info *param)
{
if (wmi_handle->ops->send_afc_cmd)
return wmi_handle->ops->send_afc_cmd(wmi_handle,
pdev_id,
param);
return QDF_STATUS_E_FAILURE;
}
#endif
QDF_STATUS
wmi_extract_dpd_status_ev_param(wmi_unified_t wmi_handle,
void *evt_buf,