|
@@ -26,10 +26,16 @@
|
|
|
#define RoamAPScore_RSSIWeight_min 0
|
|
|
#define RoamAPScore_RSSIWeight_max 100
|
|
|
#define RoamAPScore_RSSIWeight_default 65
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_MIN 0
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_MAX 100
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_DEFAULT 35
|
|
|
#else
|
|
|
#define RoamAPScore_RSSIWeight_min 0
|
|
|
#define RoamAPScore_RSSIWeight_max 100
|
|
|
#define RoamAPScore_RSSIWeight_default 20
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_MIN 0
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_MAX 100
|
|
|
+# define ROAMAPSCORE_CUWEIGHT_DEFAULT 25
|
|
|
#endif
|
|
|
/*
|
|
|
* <ini>
|
|
@@ -278,7 +284,7 @@
|
|
|
|
|
|
/*
|
|
|
* <ini>
|
|
|
- * channel_congestion_weightage/RoamAPScore_CUWeight - channel Congestion
|
|
|
+ * channel_congestion_weightage - channel Congestion
|
|
|
* Weightage to
|
|
|
* calculate best candidate
|
|
|
* @Min: 0
|
|
@@ -296,11 +302,32 @@
|
|
|
*
|
|
|
* </ini>
|
|
|
*/
|
|
|
+
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * RoamAPScore_CUWeight - roamapscore cu weight
|
|
|
+ * Weightage to
|
|
|
+ * calculate best candidate
|
|
|
+ * @Min: 0
|
|
|
+ * @Max: 100
|
|
|
+ * @Default: 35
|
|
|
+ *
|
|
|
+ * This ini is used to increase/decrease channel congestion weightage in
|
|
|
+ * candidate selection. Congestion is measured with the help of ESP/QBSS load.
|
|
|
+ *
|
|
|
+ * Related: num_esp_qbss_slots
|
|
|
+ *
|
|
|
+ * Supported Feature: STA Candidate selection
|
|
|
+ *
|
|
|
+ * Usage: External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
#define CFG_SCORING_CHAN_CONGESTION_WEIGHTAGE CFG_INI_UINT( \
|
|
|
"channel_congestion_weightage RoamAPScore_CUWeight", \
|
|
|
- 0, \
|
|
|
- 100, \
|
|
|
- 25, \
|
|
|
+ ROAMAPSCORE_CUWEIGHT_MIN, \
|
|
|
+ ROAMAPSCORE_CUWEIGHT_MAX, \
|
|
|
+ ROAMAPSCORE_CUWEIGHT_DEFAULT, \
|
|
|
CFG_VALUE_OR_DEFAULT, \
|
|
|
"Channel Congestion Weightage")
|
|
|
|