qcacld-3.0: Introduce a new ini to enable/diasble roam reason vsie

Introduce an INI "enable_roam_reason_vsie" to inidicate fw to
include/exculde roam reason vsie in reassoc frame

Change-Id: I4d2a44812d8b11a19b0d7d31eb31c826aaeda79d
CRs-Fixed: 2627472
此提交包含在:
sheenam monga
2020-02-24 16:28:33 +05:30
提交者 nshrivas
父節點 56b4d46146
當前提交 cc1b25f607
共有 3 個檔案被更改,包括 37 行新增2 行删除

查看文件

@@ -1462,7 +1462,8 @@ static void mlme_init_roam_offload_cfg(struct wlan_objmgr_psoc *psoc,
{
lfr->lfr3_roaming_offload =
cfg_get(psoc, CFG_LFR3_ROAMING_OFFLOAD);
lfr->enable_roam_reason_vsie =
cfg_get(psoc, CFG_ENABLE_ROAM_REASON_VSIE);
lfr->enable_disconnect_roam_offload =
cfg_get(psoc, CFG_LFR_ENABLE_DISCONNECT_ROAM);
lfr->enable_idle_roam =

查看文件

@@ -2599,6 +2599,36 @@
CFG_VALUE_OR_DEFAULT, \
"Roam scan period post inactivity")
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
/*
* <ini>
* enable_roam_reason_vsie - Enable/Disable inclusion of Roam Reason
* in Re(association) frame
*
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to enable fw to include/exclude roam reason vsie in
* Re(association)
*
* Related: None
*
* Supported Feature: Roaming
*
* Usage: internal
*
* </ini>
*/
#define CFG_ENABLE_ROAM_REASON_VSIE CFG_INI_BOOL( \
"enable_roam_reason_vsie", \
0, \
"To Enable enable_roam_reason_vsie")
#define ROAM_REASON_VSIE_ALL CFG(CFG_ENABLE_ROAM_REASON_VSIE)
#else
#define ROAM_REASON_VSIE_ALL
#endif
#define CFG_LFR_ALL \
CFG(CFG_LFR_MAWC_ROAM_ENABLED) \
CFG(CFG_LFR_MAWC_ROAM_TRAFFIC_THRESHOLD) \
@@ -2687,6 +2717,7 @@
ROAM_OFFLOAD_ALL \
LFR_ESE_ALL \
LFR_SUBNET_DETECTION_ALL \
SAE_SINGLE_PMK_ALL
SAE_SINGLE_PMK_ALL \
ROAM_REASON_VSIE_ALL
#endif /* CFG_MLME_LFR_H__ */

查看文件

@@ -1436,6 +1436,8 @@ struct bss_load_trigger {
* below which the connection is idle.
* @idle_roam_min_rssi: Minimum rssi of connected AP to be considered for
* idle roam trigger.
* @enable_roam_reason_vsie: Enable/disable incluison of roam reason
* vsie in Re(assoc) frame
* @early_stop_scan_enable: Set early stop scan
* @enable_5g_band_pref: Enable preference for 5G from INI
* @ese_enabled: Enable ESE feature
@@ -1538,6 +1540,7 @@ struct wlan_mlme_lfr_cfg {
uint32_t idle_data_packet_count;
uint32_t idle_roam_band;
int32_t idle_roam_min_rssi;
bool enable_roam_reason_vsie;
#endif
bool early_stop_scan_enable;
bool enable_5g_band_pref;