qcacld-3.0: Remove INI support for UNIFIED_LL_GET_STA command over QMI

With WMI_SERVICE_UNIFIED_LL_GET_STA_OVER_QMI_SUPPORT FW service
capability, the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete. Remove corresponding code from host driver.

Change-Id: I3fe59c5401ea13e8c6f209d2302bc1ecde449227
CRs-Fixed: 2849302
This commit is contained in:
Bapiraju Alla
2021-01-06 13:32:26 +05:30
committed by Madan Koyyalamudi
parent 2b29dd5620
commit bf38ea021f
2 changed files with 3 additions and 29 deletions

View File

@@ -1650,33 +1650,9 @@ struct dhcp_server {
CFG_VALUE_OR_DEFAULT, \ CFG_VALUE_OR_DEFAULT, \
"Station stats cache expiry") "Station stats cache expiry")
/*
* <ini>
* send_ll_and_get_station_stats_over_qmi - Flag to send clubbed ll_stats and
* get_station request over qmi
*
* @Min: 0
* @Max: 1
* Default: 0
*
* This ini param is used to send the unified ll_stats and get_station request
* over qmi.
*
* Supported Feature: STA
*
* Usage: Internal
*
* </ini>
*/
#define CFG_SEND_LL_AND_GET_STATION_STATS_OVER_QMI CFG_INI_BOOL( \
"send_ll_and_get_station_stats_over_qmi", \
0, \
"send ll and get station stats over qmi")
#define CFG_WLAN_CLUB_GET_STA_IN_LL_STA_REQ \ #define CFG_WLAN_CLUB_GET_STA_IN_LL_STA_REQ \
CFG(CFG_CLUB_LL_STA_AND_GET_STATION) \ CFG(CFG_CLUB_LL_STA_AND_GET_STATION) \
CFG(CFG_STA_STATS_CACHE_EXPIRY) \ CFG(CFG_STA_STATS_CACHE_EXPIRY)
CFG(CFG_SEND_LL_AND_GET_STATION_STATS_OVER_QMI)
#else #else
#define CFG_WLAN_CLUB_GET_STA_IN_LL_STA_REQ #define CFG_WLAN_CLUB_GET_STA_IN_LL_STA_REQ
#endif /* FEATURE_CLUB_LL_STATS_AND_GET_STATION */ #endif /* FEATURE_CLUB_LL_STATS_AND_GET_STATION */

View File

@@ -2549,10 +2549,8 @@ wma_send_ll_stats_get_cmd(tp_wma_handle wma_handle,
return wmi_unified_process_ll_stats_get_cmd( return wmi_unified_process_ll_stats_get_cmd(
wma_handle->wmi_handle, cmd); wma_handle->wmi_handle, cmd);
return wmi_process_unified_ll_stats_get_sta_cmd( return wmi_process_unified_ll_stats_get_sta_cmd(wma_handle->wmi_handle,
wma_handle->wmi_handle, cmd, cmd);
cfg_get(wma_handle->psoc,
CFG_SEND_LL_AND_GET_STATION_STATS_OVER_QMI));
} }
#else #else
static QDF_STATUS static QDF_STATUS