qcacld-3.0: Set WMI_ROAM_SCAN_MODE_ROAMOFFLOAD for supplicant disabled RSO

In MBO 5.2.6 Test, the sigma dut will disable roaming by supplicant
and invoke roaming by "WMI_ROAM_INVOKE_CMDID" to FT roam to new AP.
Revert the previous change Ia471998cf631948d8ffa701e67fcee22eebb0fa0
to not set roaming mode to WMI_ROAM_SCAN_MODE_NONE for supplicant
disabled roaming because Firmware will not support force roaming by
"WMI_ROAM_INVOKE_CMDID" command in roam mode WMI_ROAM_SCAN_MODE_NONE.
The original issue of above change will be fixed in
If50a306b6019320ddab2ac1695a57718d27f477a.

Change-Id: I30e6405895bfa236a71f8f8d8fe3b7b933f40412
CRs-Fixed: 2755801
This commit is contained in:
Liangwei Dong 2020-08-14 16:55:51 +08:00 • committed by snandini
commit e5d49f68a6

View file

@ -2109,8 +2109,7 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
if (roam_req->reason == REASON_ROAM_STOP_ALL ||
roam_req->reason == REASON_DISCONNECTED ||
roam_req->reason == REASON_ROAM_SYNCH_FAILED ||
roam_req->reason == REASON_SUPPLICANT_DISABLED_ROAMING) {
roam_req->reason == REASON_ROAM_SYNCH_FAILED) {
mode = WMI_ROAM_SCAN_MODE_NONE;
} else {
if (csr_is_roam_offload_enabled(mac))