Kaynağa Gözat

qcacmn: Add aliasing for INI names

Currently driver has only one name for an INI, with
this change add second name as well for few INIs based on
new requirement.

Change-Id: I67bd50652c3be7912c516b81d40f6a1ea7a7b90a
CRs-Fixed: 3007172
Ashish Kumar Dhanotiya 3 yıl önce
ebeveyn
işleme
518f0daeb1

+ 6 - 4
umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h

@@ -23,7 +23,8 @@
 
 /*
  * <ini>
- * rssi_weightage - RSSI Weightage to calculate best candidate
+ * rssi_weightage/RoamAPScore_RSSIWeight - RSSI Weightage to calculate best
+ * candidate
  * @Min: 0
  * @Max: 100
  * @Default: 20
@@ -40,7 +41,7 @@
  * </ini>
  */
 #define CFG_SCORING_RSSI_WEIGHTAGE CFG_INI_UINT( \
-	"rssi_weightage", \
+	"rssi_weightage RoamAPScore_RSSIWeight", \
 	0, \
 	100, \
 	20, \
@@ -267,7 +268,8 @@
 
 /*
  * <ini>
- * channel_congestion_weightage - channel Congestion Weightage to
+ * channel_congestion_weightage/RoamAPScore_CUWeight - channel Congestion
+ * Weightage to
  * calculate best candidate
  * @Min: 0
  * @Max: 100
@@ -285,7 +287,7 @@
  * </ini>
  */
 #define CFG_SCORING_CHAN_CONGESTION_WEIGHTAGE CFG_INI_UINT( \
-	"channel_congestion_weightage", \
+	"channel_congestion_weightage RoamAPScore_CUWeight", \
 	0, \
 	100, \
 	25, \

+ 3 - 2
umac/scan/dispatcher/inc/cfg_scan.h

@@ -301,7 +301,8 @@ enum scan_mode_6ghz {
 
 /*
  * <ini>
- * gPassiveMaxChannelTime - Set max channel time for passive scan
+ * gPassiveMaxChannelTime/RoamScan_PassiveCH_DwellTime - Set max channel time
+ * for passive scan
  * @Min: 0
  * @Max: 10000
  * @Default: 110
@@ -316,7 +317,7 @@ enum scan_mode_6ghz {
  * </ini>
  */
 #define CFG_PASSIVE_MAX_CHANNEL_TIME CFG_INI_UINT(\
-		"gPassiveMaxChannelTime",\
+		"gPassiveMaxChannelTime RoamScan_PassiveCH_DwellTime",\
 		0, 10000, PLATFORM_VALUE(110, 300),\
 		CFG_VALUE_OR_DEFAULT, "passive dwell time")