Explorar el Código

qcacld-3.0: update max_num_probes as per INI for Roam Scans

Currently, Host does not update value of max_num_probes and
roam_scan_home_away_time as per default value of INI. This
could leads to only one probe request being sent out during
roam scans which might reduce probability of finding candidates
on a particular channel.

Fix is to update value of max_num_probes and
roam_scan_home_away_time as per INI.

Change-Id: I2aaa302cec840967443dfbfb7ea93f2b5f2380cb
CRs-Fixed: 2545070
Abhinav Kumar hace 5 años
padre
commit
0bd30005a1
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      core/sme/src/csr/csr_neighbor_roam.c

+ 4 - 0
core/sme/src/csr/csr_neighbor_roam.c

@@ -1210,6 +1210,10 @@ QDF_STATUS csr_neighbor_roam_init(struct mac_context *mac, uint8_t sessionId)
 		mac->mlme_cfg->lfr.roam_full_scan_period;
 	pNeighborRoamInfo->cfgParams.enable_scoring_for_roam =
 		mac->mlme_cfg->scoring.enable_scoring_for_roam;
+	pNeighborRoamInfo->cfgParams.roam_scan_n_probes =
+		mac->mlme_cfg->lfr.roam_scan_n_probes;
+	pNeighborRoamInfo->cfgParams.roam_scan_home_away_time =
+		mac->mlme_cfg->lfr.roam_scan_home_away_time;
 	pNeighborRoamInfo->cfgParams.roam_scan_inactivity_time =
 		mac->mlme_cfg->lfr.roam_scan_inactivity_time;
 	pNeighborRoamInfo->cfgParams.roam_inactive_data_packet_count =