diff --git a/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h b/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h index 4b3eb437f0..18a8ed122e 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h @@ -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 /* * @@ -278,7 +284,7 @@ /* * - * channel_congestion_weightage/RoamAPScore_CUWeight - channel Congestion + * channel_congestion_weightage - channel Congestion * Weightage to * calculate best candidate * @Min: 0 @@ -296,11 +302,32 @@ * * */ + +/* + * + * 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 + * + * + */ #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")