Browse Source

qcacld-3.0: Set initial dense status in case of dense roaming

In case of dense roam scenario, Host should set initial dense
status if roamable AP count is more than minimum dense AP count.

Add changes to set the flag if roamable AP count is more than
configured value.

CRs-Fixed: 1023078
Change-Id: I25bd26ae1292c0a829c1b1634df3ab975ab562c1
Gupta, Kapil 8 years ago
parent
commit
7122125d16
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/sme/src/csr/csr_api_roam.c

+ 5 - 0
core/sme/src/csr/csr_api_roam.c

@@ -17127,6 +17127,11 @@ csr_roam_offload_scan(tpAniSirGlobal mac_ctx, uint8_t session_id,
 		roam_params_dst->dense_min_aps_cnt,
 		roam_params_dst->traffic_threshold);
 
+	/* Set initial dense roam status */
+	if (req_buf->ConnectedNetwork.ChannelCount >
+	    roam_params_dst->dense_min_aps_cnt)
+		roam_params_dst->initial_dense_status = true;
+
 	for (i = 0; i < roam_params_dst->num_bssid_avoid_list; i++) {
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
 			"Blacklist Bssid: ("MAC_ADDRESS_STR")",