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

@@ -4305,6 +4305,21 @@ QDF_STATUS wmi_extract_pdev_csa_switch_count_status(
__wmi_validate_handle(wmi_handle, __func__)
int __wmi_validate_handle(wmi_unified_t wmi_handle, const char *func);
#ifdef CONFIG_AFC_SUPPORT
/**
* wmi_unified_send_afc_cmd() - send afc indication info
* @wmi_handle: wmi handle
* @pdev_id: pdev id
* @param: regulatory AFC indication info
*
* Return: QDF_STATUS_SUCCESS for success or error code
*/
QDF_STATUS
wmi_unified_send_afc_cmd(wmi_unified_t wmi_handle,
uint8_t pdev_id,
struct reg_afc_resp_rx_ind_info *param);
#endif
/**
* wmi_unified_send_set_tpc_power_cmd() - send set transmit power info
* @wmi_handle: wmi handle