diff options
author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2020-07-09 23:20:12 +0530 |
---|---|---|
committer | nshrivas <nshrivas@codeaurora.org> | 2020-07-10 13:42:21 -0700 |
commit | eb128b5dfedec0bdce2916b1dd5e63542bf6b65e (patch) | |
tree | 7e7beff166ee1d721115a66e6ae1f5b7753e800a /core/mac/src/pe/lim/lim_assoc_utils.c | |
parent | 45d1a5e0755119c6ee9996d13f38851d8cad30bd (diff) | |
download | qcacld-eb128b5dfedec0bdce2916b1dd5e63542bf6b65e.tar.gz |
qcacld-3.0: Add roam offload state machine changes
Add changes to handle transition to the 2 new states:
1. Roaming in progress: Switch to this state when roam
start notification is received from firmware.
2. Roam Synch in progress: Switch to this from RSO
STARTED state if roam synch indication event is received
from firmware. Change to this state is also allowed in
RSO STOPPED state if supplicant disabled roaming on that
vdev - to allow roam invoke to be processed.
Also query the state machine to get the roaming status instead
of using discrete flags at various layers. Clean the redundant
roaming in progress, roam synch related flags.
Change-Id: Ide20a30d9d8c20a96d8bba70367b51b8643cae09
CRs-Fixed: 2725443
Diffstat (limited to 'core/mac/src/pe/lim/lim_assoc_utils.c')
-rw-r--r-- | core/mac/src/pe/lim/lim_assoc_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c index bce640631c..f1c3174171 100644 --- a/core/mac/src/pe/lim/lim_assoc_utils.c +++ b/core/mac/src/pe/lim/lim_assoc_utils.c @@ -462,8 +462,9 @@ lim_cleanup_rx_path(struct mac_context *mac, tpDphHashNode sta, sta->valid = 0; lim_send_sme_tsm_ie_ind(mac, pe_session, 0, 0, 0); /* Any roaming related changes should be above this line */ - if (lim_is_roam_synch_in_progress(pe_session)) + if (lim_is_roam_synch_in_progress(mac->psoc, pe_session)) return QDF_STATUS_SUCCESS; + sta->mlmStaContext.mlmState = eLIM_MLM_WT_DEL_STA_RSP_STATE; if (LIM_IS_STA_ROLE(pe_session)) { |