ソースを参照

qcacld-3.0: Enable partial roam scan for provided triggers

By default, the driver fills the roam scan scheme as none for
all the triggers in WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
but if the roam scan scheme bitmap is set for particular
trigger, then for the corresponding trigger the roam scan scheme
should be sent as ROAM_TRIGGER_SCAN_MODE_PARTIAL.

Send ROAM_TRIGGER_SCAN_MODE_PARTIAL if roam scan scheme bitmap is
provided.

Change-Id: I82f16f7c0e24be472c95278eb3085f7d2623b63a
CRs-Fixed: 2914142
Pragaspathi Thilagaraj 4 年 前
コミット
4cad5e9c11
1 ファイル変更10 行追加0 行削除
  1. 10 0
      components/wmi/src/wmi_unified_roam_tlv.c

+ 10 - 0
components/wmi/src/wmi_unified_roam_tlv.c

@@ -1416,6 +1416,8 @@ static QDF_STATUS send_set_roam_trigger_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_fill_default_roam_trigger_parameters(
 				roam_trigger_parameters,
 				WMI_ROAM_TRIGGER_REASON_PER);
+		roam_trigger_parameters->scan_mode =
+			ROAM_TRIGGER_SCAN_MODE_PARTIAL;
 
 		roam_trigger_parameters++;
 	}
@@ -1424,6 +1426,8 @@ static QDF_STATUS send_set_roam_trigger_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_fill_default_roam_trigger_parameters(
 				roam_trigger_parameters,
 				WMI_ROAM_TRIGGER_REASON_BMISS);
+		roam_trigger_parameters->scan_mode =
+				ROAM_TRIGGER_SCAN_MODE_PARTIAL;
 
 		roam_trigger_parameters++;
 	}
@@ -1432,6 +1436,8 @@ static QDF_STATUS send_set_roam_trigger_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_fill_default_roam_trigger_parameters(
 				roam_trigger_parameters,
 				WMI_ROAM_TRIGGER_REASON_LOW_RSSI);
+		roam_trigger_parameters->scan_mode =
+				ROAM_TRIGGER_SCAN_MODE_PARTIAL;
 
 		roam_trigger_parameters++;
 	}
@@ -1440,6 +1446,8 @@ static QDF_STATUS send_set_roam_trigger_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_fill_default_roam_trigger_parameters(
 				roam_trigger_parameters,
 				WMI_ROAM_TRIGGER_REASON_BTM);
+		roam_trigger_parameters->scan_mode =
+				ROAM_TRIGGER_SCAN_MODE_PARTIAL;
 
 		roam_trigger_parameters++;
 	}
@@ -1448,6 +1456,8 @@ static QDF_STATUS send_set_roam_trigger_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_fill_default_roam_trigger_parameters(
 				roam_trigger_parameters,
 				WMI_ROAM_TRIGGER_REASON_BSS_LOAD);
+		roam_trigger_parameters->scan_mode =
+				ROAM_TRIGGER_SCAN_MODE_PARTIAL;
 
 		roam_trigger_parameters++;
 	}