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:

committed by
snandini

parent
be58b4e121
commit
cb1ee46e84
@@ -2051,6 +2051,25 @@ QDF_STATUS wmi_unified_get_stats_cmd(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_congestion_cmd)
|
||||
return wmi_handle->ops->send_congestion_cmd(wmi_handle,
|
||||
vdev_id);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_process_ll_stats_set_cmd() - link layer stats set request
|
||||
* @wmi_handle: wmi handle
|
||||
|
Reference in New Issue
Block a user