qcacld-3.0: Introduce new INI to enable/disable FT-IM

With specific AP(s), FW needs to perform FT initial mobility
association instead of FT roaming for deauth roam trigger.

This ini is used to configure "FT roaming for deauth roam trigger"
behavior from the HOST.

Change-Id: Id754a21f7ac2c330019055646f79c79db3e0c52c
CRs-Fixed: 2665882
This commit is contained in:
Abhinav Kumar
2020-04-16 19:37:38 +05:30
committato da nshrivas
parent cf164af18d
commit e3e903bf37
6 ha cambiato i file con 33 aggiunte e 1 eliminazioni

Vedi File

@@ -2599,6 +2599,31 @@
0, \
"Config roam scan policy")
/*
* <ini>
* enable_ft_im_roaming - FW needs to perform FT initial moiblity association
* instead of FT roaming for deauth roam trigger
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini is used to FT roaming for deauth roam trigger behavior from HOST
* 0 - To disable FT-IM
* 1 - To enable FT-IM
*
* Related: None
*
* Supported Feature: Roaming
*
* Usage: Internal
*
* </ini>
*/
#define CFG_FT_IM_ROAMING CFG_INI_BOOL( \
"enable_ft_im_roaming", \
1, \
"FT roaming for deauth roam trigger")
/*
* <ini>
* roam_scan_inactivity_time - Device inactivity monitoring time in
@@ -2805,6 +2830,7 @@
CFG(CFG_LFR_ROAM_FORCE_RSSI_TRIGGER) \
CFG(CFG_ROAM_SCAN_SCAN_POLICY) \
CFG(CFG_ROAM_SCAN_INACTIVITY_TIME) \
CFG(CFG_FT_IM_ROAMING) \
CFG(CFG_ROAM_INACTIVE_COUNT) \
CFG(CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD) \
CFG(CFG_BSS_LOAD_TRIG_5G_RSSI_THRES) \

Vedi File

@@ -1532,6 +1532,7 @@ struct bss_load_trigger {
* @enable_adaptive_11r Flag to check if adaptive 11r ini is enabled
* @tgt_adaptive_11r_cap: Flag to check if target supports adaptive
* 11r
* @enable_ft_im_roaming: Flag to enable/disable FT-IM roaming
* @roam_scan_home_away_time: The home away time to firmware
* @roam_scan_n_probes: The number of probes to be sent for firmware roaming
* @delay_before_vdev_stop:Wait time for tx complete before vdev stop
@@ -1642,6 +1643,7 @@ struct wlan_mlme_lfr_cfg {
bool enable_adaptive_11r;
bool tgt_adaptive_11r_cap;
#endif
bool enable_ft_im_roaming;
uint16_t roam_scan_home_away_time;
uint32_t roam_scan_n_probes;
uint8_t delay_before_vdev_stop;