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
Šī revīzija ir iekļauta:
Pragaspathi Thilagaraj
2020-07-09 23:20:12 +05:30
revīziju iesūtīja nshrivas
vecāks 45d1a5e075
revīzija eb128b5dfe
34 mainīti faili ar 544 papildinājumiem un 516 dzēšanām

Parādīt failu

@@ -378,8 +378,6 @@ typedef enum {
eCSR_ROAM_CHANNEL_COMPLETE_IND,
eCSR_ROAM_CAC_COMPLETE_IND,
eCSR_ROAM_SAE_COMPUTE,
/* LFR3 Roam sync complete */
eCSR_ROAM_SYNCH_COMPLETE,
eCSR_ROAM_FIPS_PMK_REQUEST,
} eRoamCmdStatus;

Parādīt failu

@@ -610,7 +610,6 @@ struct csr_roam_session {
uint8_t join_bssid_count;
struct csr_roam_stored_profile stored_roam_profile;
bool ch_switch_in_progress;
bool roam_synch_in_progress;
bool supported_nss_1x1;
uint8_t vdev_nss;
uint8_t nss;
@@ -651,8 +650,6 @@ struct csr_roamstruct {
uint8_t RoamRssiDiff;
bool isWESModeEnabled;
uint32_t deauthRspStatus;
uint8_t *pReassocResp; /* reassociation response from new AP */
uint16_t reassocRespLen; /* length of reassociation response */
qdf_mc_timer_t packetdump_timer;
spinlock_t roam_state_lock;
};