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

Commit eeb801f7 authored by gaurank kathpalia's avatar gaurank kathpalia Committed by Gerrit - the friendly Code Review server
Browse files

qcacld-3.0: Avoid channel 12, 13 for SAP operation

Currently the driver selects channel 12, 13 as they are
free from BSS as their weights are minimum, which results
into IOT issues as legacy STAs do not support the same.

Fix is to avoid channel 12, 13 in SAP ACS process, and try
to start the SAP on channels from 1 - 11.

Change-Id: If735fade7d7b489b45a20f74c04bab5582343f79
CRs-Fixed: 2509791
parent 11effc6b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4913,6 +4913,10 @@ static QDF_STATUS sap_get_channel_list(ptSapContext sap_ctx,
		      CDS_CHANNEL_STATE(loop_count)))))
			continue;

		if (CDS_CHANNEL_NUM(loop_count) == 12 ||
		    CDS_CHANNEL_NUM(loop_count) == 13)
			continue;

		/*
		 * Skip the channels which are not in ACS config from user
		 * space