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
This commit is contained in:
Pragaspathi Thilagaraj
2020-07-09 23:20:12 +05:30
committad av nshrivas
förälder 45d1a5e075
incheckning eb128b5dfe
34 ändrade filer med 544 tillägg och 516 borttagningar

Visa fil

@@ -31,10 +31,10 @@
* @WLAN_ROAM_DEINIT: Roaming module is not initialized at the
* firmware.
* @WLAN_ROAM_INIT: Roaming module initialized at the firmware.
* @WLAN_ROAM_RSO_ENABLED: RSO started, firmware can roam to different AP.
* @WLAN_ROAM_RSO_STOPPED: RSO stopped - roaming module is initialized at firmware,
* but firmware cannot do roaming due to supplicant disabled roaming/driver
* disabled roaming.
* @WLAN_ROAM_RSO_ENABLED: RSO enabled, firmware can roam to different AP.
* @WLAN_ROAM_RSO_STOPPED: RSO stopped - roaming module is initialized at
* firmware, but firmware cannot do roaming due to supplicant disabled
* roaming/driver disabled roaming.
* @WLAN_ROAMING_IN_PROG: Roaming started at firmware. This state is
* transitioned after candidate selection is done at fw and preauth to
* the AP is started.