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
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
7d47235fc2
revīzija
afd194fb4e
@@ -44,12 +44,21 @@
|
||||
#ifdef WLAN_NUD_TRACKING
|
||||
bool
|
||||
ucfg_dp_is_roam_after_nud_enabled(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
bool
|
||||
ucfg_dp_is_disconect_after_roam_fail(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline bool
|
||||
ucfg_dp_is_roam_after_nud_enabled(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
ucfg_dp_is_disconect_after_roam_fail(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -1351,6 +1351,18 @@ ucfg_dp_is_roam_after_nud_enabled(struct wlan_objmgr_psoc *psoc)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
ucfg_dp_is_disconect_after_roam_fail(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct wlan_dp_psoc_context *dp_ctx = dp_psoc_get_priv(psoc);
|
||||
struct wlan_dp_psoc_cfg *dp_cfg = &dp_ctx->dp_cfg;
|
||||
|
||||
if (dp_cfg->enable_nud_tracking == DP_DISCONNECT_AFTER_ROAM_FAIL)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
int ucfg_dp_bbm_context_init(struct wlan_objmgr_psoc *psoc)
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user