qcacld-3.0: move ini CFG_VENDOR_ROAM_SCORE_ALGORITHM to cmn

Move ini CFG_VENDOR_ROAM_SCORE_ALGORITHM from qcacld-3.0 to qcacmn part.
from qcacld-3.0: mac_ctx->mlme_cfg->roam_scoring
to qcacmn: mlme_psoc_obj->psoc_cfg.score_config.

Change-Id: I318f0d516ce699c061f268116e1cbf79fcc9e23a
CRs-Fixed: 2806090
此提交包含在:
Jianmin Zhu
2020-11-02 22:42:25 +08:00
提交者 snandini
父節點 a61cf45a7f
當前提交 355722bcae
共有 4 個檔案被更改,包括 3 行新增35 行删除

查看文件

@@ -314,34 +314,6 @@
CFG_VALUE_OR_DEFAULT, \
"Roam score delta for BTM roam trigger")
/*
* <ini>
* vendor_roam_score_algorithm - Algorithm to calculate AP score
* @Min: 0
* @Max: 1
* @Default: 0
*
* By default the value is 0 and default roam algorithm will be used.
* When the value is 1, the V2 roaming algorithm will be used:
* For this V2 algo, AP score calculation is based on below equation:
* AP Score = (RSSIfactor * rssiweight(0.65)) + (CUfactor *cuweight(0.35))
*
* Related: None
*
* Supported Feature: roam score algorithm
*
* Usage: External
*
* </ini>
*/
#define CFG_VENDOR_ROAM_SCORE_ALGORITHM CFG_INI_UINT( \
"vendor_roam_score_algorithm", \
0, \
1, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Roam candidate selection score algorithm")
#define CFG_ROAM_SCORING_ALL \
CFG(CFG_ROAM_SCORE_DELTA_TRIGGER_BITMAP) \
CFG(CFG_ROAM_SCORE_DELTA) \
@@ -352,7 +324,6 @@
CFG(CFG_BMISS_ROAM_MIN_RSSI) \
CFG(CFG_2G_TO_5G_ROAM_MIN_RSSI) \
CFG(CFG_IDLE_ROAM_SCORE_DELTA) \
CFG(CFG_BTM_ROAM_SCORE_DELTA) \
CFG(CFG_VENDOR_ROAM_SCORE_ALGORITHM)
CFG(CFG_BTM_ROAM_SCORE_DELTA)
#endif /* __CFG_MLME_ROAM_SCORING_H */

查看文件

@@ -2045,7 +2045,6 @@ struct wlan_mlme_rssi_cfg_score {
* @roam_trigger_bitmap: bitmap for various roam triggers
* @roam_score_delta: percentage delta in roam score
* @apsd_enabled: Enable automatic power save delivery
* @vendor_roam_score_algorithm: Preferred vendor roam score algorithm
* @min_roam_score_delta: Minimum difference between connected AP's and
* candidate AP's roam score to start roaming.
*/
@@ -2054,7 +2053,6 @@ struct wlan_mlme_roam_scoring_cfg {
uint32_t roam_trigger_bitmap;
uint32_t roam_score_delta;
bool apsd_enabled;
uint32_t vendor_roam_score_algorithm;
uint32_t min_roam_score_delta;
};