Browse Source

qcacmn: Enable LCA Disallow for Background Roam Scan

Currently LCA Disallow (Last Connected AP) bitmap is hardcoded
to be enabled only for PER roam scan.

Add Background Roam Scan also to the LCA Disallow bitmap set from
host to fw.

Change-Id: I4878350ef772f168ba909fd8b30cf2aa31f68fcc
CRs-Fixed: 2109974
Vignesh Viswanathan 7 years ago
parent
commit
21fae9fd6a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      wmi/src/wmi_unified_tlv.c

+ 3 - 1
wmi/src/wmi_unified_tlv.c

@@ -6297,7 +6297,9 @@ static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
 		blist_param->rssi_channel_penalization =
 				roam_req->rssi_channel_penalization;
 		blist_param->num_disallowed_aps = roam_req->num_disallowed_aps;
-		blist_param->disallow_lca_enable_source_bitmap = 0x1;
+		blist_param->disallow_lca_enable_source_bitmap =
+			(WMI_ROAM_LCA_DISALLOW_SOURCE_PER |
+			WMI_ROAM_LCA_DISALLOW_SOURCE_BACKGROUND);
 		buf_ptr += (sizeof(wmi_roam_lca_disallow_config_tlv_param));
 	}