Parcourir la source

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
Bapiraju Alla il y a 4 ans
Parent
commit
bf38ea021f
2 fichiers modifiés avec 3 ajouts et 29 suppressions
  1. 1 25
      core/hdd/inc/hdd_config.h
  2. 2 4
      core/wma/src/wma_utils.c

+ 1 - 25
core/hdd/inc/hdd_config.h

@@ -1650,33 +1650,9 @@ struct dhcp_server {
 			CFG_VALUE_OR_DEFAULT, \
 			"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 \
 	 CFG(CFG_CLUB_LL_STA_AND_GET_STATION) \
-	 CFG(CFG_STA_STATS_CACHE_EXPIRY) \
-	 CFG(CFG_SEND_LL_AND_GET_STATION_STATS_OVER_QMI)
+	 CFG(CFG_STA_STATS_CACHE_EXPIRY)
 #else
 #define CFG_WLAN_CLUB_GET_STA_IN_LL_STA_REQ
 #endif /* FEATURE_CLUB_LL_STATS_AND_GET_STATION */

+ 2 - 4
core/wma/src/wma_utils.c

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