qcacmn: Add support to query RCPI info
RCPI is measure of received RF power in the selected channel for a received frame and is measured at the antenna connector and shall be measured over an entire frame. It is a monotonically increasing, logarithmic function of received power level. Wlan firmware computes RCPI. Add host support to query firmware for RCPI information of peer mac address in sta, p2p client, softap and p2p go modes. Change-Id: I27fe45e993bd9b157fe33ca08a56330c1c950d16 CRs-Fixed: 1093187
This commit is contained in:

committed by
snandini

parent
9e89385292
commit
cddf6fe985
@@ -1551,6 +1551,28 @@ QDF_STATUS wmi_unified_roam_send_hlp_cmd(void *wmi_hdl,
|
||||
struct hlp_params *req_buf);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wmi_unified_send_request_get_rcpi_cmd() - command to request rcpi value
|
||||
* @wmi_hdl: wma handle
|
||||
* @get_rcpi_param: rcpi params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_request_get_rcpi_cmd(void *wmi_hdl,
|
||||
struct rcpi_req *get_rcpi_param);
|
||||
|
||||
/**
|
||||
* wmi_extract_rcpi_response_event - api to extract RCPI event params
|
||||
* @wmi_handle: wma handle
|
||||
* @evt_buf: pointer to event buffer
|
||||
* @res: pointer to hold rcpi response from firmware
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for successful event parse
|
||||
* else QDF_STATUS_E_INVAL or QDF_STATUS_E_FAILURE
|
||||
*/
|
||||
QDF_STATUS wmi_extract_rcpi_response_event(void *wmi_hdl, void *evt_buf,
|
||||
struct rcpi_res *res);
|
||||
|
||||
#ifdef WMI_INTERFACE_EVENT_LOGGING
|
||||
void wmi_print_cmd_log(wmi_unified_t wmi, uint32_t count,
|
||||
qdf_abstract_print *print, void *print_priv);
|
||||
|
Reference in New Issue
Block a user