qcacld-3.0: Correct logic for roam fails in NUD case

If roaming is triggered by source CM_ROAMING_NUD_FAILURE,
then per the INI gEnableNUDTracking to check whether
disconnect current connection or not.
gEnableNUDTracking=2, keeping the connection
gEnableNUDTracking=3, disconnect the connection

Change-Id: I0f321dcf5f3fc1bf7d0c93fa0d70bf4770ccaf35
CRs-Fixed: 3412213
This commit is contained in:
Paul Zhang
2023-02-22 18:48:06 +08:00
کامیت شده توسط Madan Koyyalamudi
والد 7d47235fc2
کامیت afd194fb4e
7فایلهای تغییر یافته به همراه106 افزوده شده و 20 حذف شده

مشاهده پرونده

@@ -1969,6 +1969,8 @@ struct fw_scan_channels {
* are already scanned as part of partial scan.
* @roam_full_scan_6ghz_on_disc: Include the 6 GHz channels in roam full scan
* only on prior discovery of any 6 GHz support in the environment.
* @disconnect_on_nud_roam_invoke_fail: indicate whether disconnect ap when
* roam invoke fail on nud.
*/
struct wlan_mlme_lfr_cfg {
bool mawc_roam_enabled;
@@ -2096,6 +2098,7 @@ struct wlan_mlme_lfr_cfg {
uint16_t roam_ho_delay_config;
uint8_t exclude_rm_partial_scan_freq;
uint8_t roam_full_scan_6ghz_on_disc;
bool disconnect_on_nud_roam_invoke_fail;
};
/**