qcacmn: Get CCA from firmware

Requirement is to get CCA from frmware when connection fails due to
assoc/auth/probe response timeout. These are common changes to get
CCA from firmware.

Change-Id: I062343ed065d7b0c38b9e3b24ecfa9851b9b1537
CRs-Fixed: 2031843
This commit is contained in:
Padma, Santhosh Kumar
2017-03-21 19:09:35 +05:30
committed by snandini
parent 51fd545c40
commit d32619038f
2 changed files with 13 additions and 0 deletions

View File

@@ -675,6 +675,16 @@ QDF_STATUS wmi_unified_get_stats_cmd(void *wmi_hdl,
struct pe_stats_req *get_stats_param,
uint8_t addr[IEEE80211_ADDR_LEN]);
/**
* wmi_unified_congestion_request_cmd() - send request to fw to get CCA
* @wmi_hdl: wma handle
* @vdev_id: vdev id
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_congestion_request_cmd(void *wmi_hdl,
uint8_t vdev_id);
QDF_STATUS wmi_unified_snr_request_cmd(void *wmi_hdl);
QDF_STATUS wmi_unified_snr_cmd(void *wmi_hdl, uint8_t vdev_id);