qcacmn: Send get_station and ll_stats req in a single command
Currently ll_stats and get_station requests are sent back to back from user space. The firmware time difference between these two commands results in extra sleep and wakeup for Q6. To avoid this extra Q6 sleep and wake, send both requests in a single command from the driver if the firmware supports that operation. Cache the get_station results in the driver until user space request reach to the driver. Change-Id: I5e6f42f9e3836ef4bf61d3d9220f8cedb775cbd5 CRs-Fixed: 2778479
This commit is contained in:
@@ -1445,6 +1445,20 @@ QDF_STATUS wmi_unified_process_ll_stats_set_cmd(wmi_unified_t wmi_handle,
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_ll_stats_get_cmd(wmi_unified_t wmi_handle,
|
||||
const struct ll_stats_get_params *get_req);
|
||||
|
||||
#ifdef FEATURE_CLUB_LL_STATS_AND_GET_STATION
|
||||
/**
|
||||
* wmi_process_unified_ll_stats_get_sta_cmd() - unified link layer stats and
|
||||
* get station request
|
||||
* @wmi_handle: wmi handle
|
||||
* @get_req: unified ll stats and get station request command params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_process_unified_ll_stats_get_sta_cmd(
|
||||
wmi_unified_t wmi_handle,
|
||||
const struct ll_stats_get_params *get_req);
|
||||
#endif /* FEATURE_CLUB_LL_STATS_AND_GET_STATION */
|
||||
#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user