qcacld-3.0: Send bss load trigger values to firmware

Introduce the following new WCNSS_qcom.ini values:
"enable_bss_load_roam_trigger"
"bss_load_threshold"
Send these values over the new wmi command,
WMI_ROAM_BSS_LOAD_CONFIG_CMDID if "enable_bss_load_roam_trigger"
is set to true.

This wmi command will be sent to firmware as part of the RSO
start or update config.

Change-Id: Ib2e21904bc7b8d87e5f51824d2694b90a3ac53f2
CRs-Fixed: 2367770
This commit is contained in:
Pragaspathi Thilagaraj
2018-12-16 22:23:04 +05:30
committed by nshrivas
parent db55f19d01
commit a69f20c2ad
3 changed files with 73 additions and 0 deletions

View File

@@ -1164,6 +1164,16 @@ enum roaming_dfs_channel_type {
ROAMING_DFS_CHANNEL_ENABLED_ACTIVE,
};
/*
* struct bss_load_trigger - parameters related to bss load triggered roam
* @enabled - flag to check if this trigger is enabled/disabled
* @threshold - Bss load threshold value above which roaming should start
*/
struct bss_load_trigger {
bool enabled;
uint32_t threshold;
};
/*
* @mawc_roam_enabled: Enable/Disable MAWC during roaming
* @enable_fast_roam_in_concurrency:Enable LFR roaming on STA during concurrency
@@ -1315,6 +1325,7 @@ struct wlan_mlme_lfr_cfg {
uint8_t delay_before_vdev_stop;
uint8_t neighbor_scan_channel_list[CFG_VALID_CHANNEL_LIST_LEN];
uint8_t neighbor_scan_channel_list_num;
struct bss_load_trigger bss_load_trig;
};
/**