qcacmn: Give valid range of value for aliasing INI
There are two different name with different range of value for aliasing INI's. So, it should pick the valid range of value wrt INI name. Change-Id: I81ece854a2d8b34f232e03c8ab835161d58c56b1 CRs-Fixed: 3355346
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
9b6df07a02
incheckning
61d3b23a1c
@@ -26,10 +26,16 @@
|
|||||||
#define RoamAPScore_RSSIWeight_min 0
|
#define RoamAPScore_RSSIWeight_min 0
|
||||||
#define RoamAPScore_RSSIWeight_max 100
|
#define RoamAPScore_RSSIWeight_max 100
|
||||||
#define RoamAPScore_RSSIWeight_default 65
|
#define RoamAPScore_RSSIWeight_default 65
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_MIN 0
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_MAX 100
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_DEFAULT 35
|
||||||
#else
|
#else
|
||||||
#define RoamAPScore_RSSIWeight_min 0
|
#define RoamAPScore_RSSIWeight_min 0
|
||||||
#define RoamAPScore_RSSIWeight_max 100
|
#define RoamAPScore_RSSIWeight_max 100
|
||||||
#define RoamAPScore_RSSIWeight_default 20
|
#define RoamAPScore_RSSIWeight_default 20
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_MIN 0
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_MAX 100
|
||||||
|
# define ROAMAPSCORE_CUWEIGHT_DEFAULT 25
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* <ini>
|
* <ini>
|
||||||
@@ -278,7 +284,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* <ini>
|
* <ini>
|
||||||
* channel_congestion_weightage/RoamAPScore_CUWeight - channel Congestion
|
* channel_congestion_weightage - channel Congestion
|
||||||
* Weightage to
|
* Weightage to
|
||||||
* calculate best candidate
|
* calculate best candidate
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
@@ -296,11 +302,32 @@
|
|||||||
*
|
*
|
||||||
* </ini>
|
* </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( \
|
#define CFG_SCORING_CHAN_CONGESTION_WEIGHTAGE CFG_INI_UINT( \
|
||||||
"channel_congestion_weightage RoamAPScore_CUWeight", \
|
"channel_congestion_weightage RoamAPScore_CUWeight", \
|
||||||
0, \
|
ROAMAPSCORE_CUWEIGHT_MIN, \
|
||||||
100, \
|
ROAMAPSCORE_CUWEIGHT_MAX, \
|
||||||
25, \
|
ROAMAPSCORE_CUWEIGHT_DEFAULT, \
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"Channel Congestion Weightage")
|
"Channel Congestion Weightage")
|
||||||
|
|
||||||
|
Referens i nytt ärende
Block a user