qcacmn: Add service bit support for LL_GET_STA command over QMI

For some targets, FW expects WMI_REQUEST_UNIFIED_LL_GET_STA command
always over QMI irrespective of WOW state. FW will crash if this request
is sent over WMI on those targets. Currently there is no direct way for
the host to identify this requirement by FW. So FW may crash when this
WMI_REQUEST_UNIFIED_LL_GET_STA stats request is sent over WMI.

To resolve this, add service bit support for LL_GET_STA request over QMI.
With this change the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete and corresponding code will be removed.

Change-Id: I43f2827a0b1cae6e75f1224f452f8277d53736b2
CRs-Fixed: 2847483
This commit is contained in:
Bapiraju Alla
2021-01-04 12:56:54 +05:30
committed by snandini
parent 1c177a9a31
commit 7f0008db3f
4 changed files with 70 additions and 68 deletions

View File

@@ -817,8 +817,7 @@ QDF_STATUS (*send_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
QDF_STATUS (*send_unified_ll_stats_get_sta_cmd)(wmi_unified_t wmi_handle,
const struct ll_stats_get_params *get_req,
bool is_always_over_qmi);
const struct ll_stats_get_params *get_req);
#endif
#endif