qcacld-3.0: Introduce ini for roam_triggers including sta kickout trigger

Introduce ini for roaming_triggers to enable/disable specific
roaming triggers. This will be the master ini to control roaming
triggers. If this ini is set to zero, roaming will not be enabled
on the sta interface unless its enabled via vendor command.
A new roaming trigger - Sta kickout roaming is introduced in
firmware, include this bit support also in the ini.

The value of this ini will be sent over the wmi command
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID during RSO start.
Reset this value to 0 during RSO stop if RSO stop is due to
disconnect or roam synch failure.

Change-Id: I02f207cdde9d8fb68cd91fab07572baa9e7ac50d
CRs-Fixed: 2631712
This commit is contained in:
Pragaspathi Thilagaraj
2020-02-28 14:41:42 +05:30
parent d62d38b464
commit 63eb6363dc
13 changed files with 166 additions and 13 deletions

View File

@@ -2446,6 +2446,14 @@ wlan_mlme_get_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
QDF_STATUS
wlan_mlme_set_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
uint8_t roam_reason_vsie_enabled);
/**
* wlan_mlme_get_roaming_triggers - Get the roaming triggers bitmap
* @psoc: Pointer to PSOC object
*
* Return: Roaming triggers value
*/
uint32_t wlan_mlme_get_roaming_triggers(struct wlan_objmgr_psoc *psoc);
#else
static inline QDF_STATUS
wlan_mlme_get_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
@@ -2460,6 +2468,12 @@ wlan_mlme_set_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
{
return QDF_STATUS_E_FAILURE;
}
static inline
uint32_t wlan_mlme_get_roaming_triggers(struct wlan_objmgr_psoc *psoc)
{
return 0xFFFF;
}
#endif
#endif /* _WLAN_MLME_API_H_ */