瀏覽代碼

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
Selvaraj, Sridhar 8 年之前
父節點
當前提交
ecc81df033
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      core/wma/src/wma_scan_roam.c

+ 4 - 4
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