Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05a61843 authored by Srinivas Dasari's avatar Srinivas Dasari Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: set nan_separate_iface_support flag in FTM mode

Set nan_separate_iface_support flag in FTM mode to avoid
create NAN vdev in FTM mode. This helps in FTM mode test cases
where max supported vdevs are used.

Change-Id: Ia628655a87505db787043ef29dd18d259052b521
CRs-Fixed: 2888703
parent 4e63904f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6778,7 +6778,8 @@ int wma_rx_service_ready_ext_event(void *handle, uint8_t *event,
	 * indicate 3 vdevs and firmware shall add 1 vdev for NAN. So decrement
	 * the num_vdevs by 1.
	 */
	if (ucfg_nan_is_vdev_creation_allowed(wma_handle->psoc)) {
	if (ucfg_nan_is_vdev_creation_allowed(wma_handle->psoc) ||
	    QDF_GLOBAL_FTM_MODE == cds_get_conparam()) {
		wlan_res_cfg->nan_separate_iface_support = true;
	} else {
		wlan_res_cfg->num_vdevs--;