From ecc81df0334db35673f993229525590d0994f44e Mon Sep 17 00:00:00 2001 From: "Selvaraj, Sridhar" Date: Fri, 14 Oct 2016 23:26:16 +0530 Subject: [PATCH] qcacld-3.0: Add support to invoke LFR3 reassoc when RSO mode is STOP With AUTO ROAM issue, Supplicant disables roaming to other BSS and expects driver/firmware to re-associate to a specific BSS. Currently, host driver sets RSO to STOP[disable LFR3] completely when supplicant invokes disable roaming and when subsequent connect comes from supplicant, host is doing disconnect and connect. This fix adds provision to invoke LFR3 reassociation even when RSO Stop is issued previously to firmware. It is achieved by setting WMI_ROAM_SCAN_MODE_ROAMOFFLOAD along with WMI_ROAM_SCAN_MODE_NONE in mode of RSO Stop command. Change-Id: Iaa8bb455b3b61adac725beca4494ed792ca00fe0 CRs-Fixed: 1078139 --- core/wma/src/wma_scan_roam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c index 594efd42aeef..d46e98ef45f6 100644 --- a/core/wma/src/wma_scan_roam.c +++ b/core/wma/src/wma_scan_roam.c @@ -1849,10 +1849,10 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle, wma_roam_scan_fill_scan_params(wma_handle, pMac, NULL, &scan_params); qdf_status = wma_roam_scan_offload_mode(wma_handle, - &scan_params, - NULL, - WMI_ROAM_SCAN_MODE_NONE, - roam_req->sessionId); + &scan_params, NULL, + WMI_ROAM_SCAN_MODE_NONE | + WMI_ROAM_SCAN_MODE_ROAMOFFLOAD, + roam_req->sessionId); } /* * If the STOP command is due to a disconnect, then