Ver código fonte

qcacld-3.0: Configure correct channel width to FW during TDLS session

qcacld-2.0 to qcacld-3.0 propagation

Due to incorrect configuration of channel width to FW, TDLS
session has sluggish video.
Fix is to configure minimum of AP and TDLS peer channel width
to FW.

Git-commit: b963bf7b5e48db5de7422f3fab6870192516dbd8
Change-Id: I57d90310c9c90086016359509de17aa25d665fbd
CRs-Fixed: 996556
Selvaraj, Sridhar 8 anos atrás
pai
commit
ba497d1a31
1 arquivos alterados com 11 adições e 1 exclusões
  1. 11 1
      core/mac/src/pe/lim/lim_process_tdls.c

+ 11 - 1
core/mac/src/pe/lim/lim_process_tdls.c

@@ -2357,8 +2357,18 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
 		 * channel width of STA-AP link. So take this setting from the
 		 * psessionEntry.
 		 */
+		lim_log(pMac, LOG1,
+			FL("supportedChannelWidthSet 0x%x htSupportedChannelWidthSet 0x%x"),
+				htCaps->supportedChannelWidthSet,
+				psessionEntry->htSupportedChannelWidthSet);
 		pStaDs->htSupportedChannelWidthSet =
-			psessionEntry->htSupportedChannelWidthSet;
+				(htCaps->supportedChannelWidthSet <
+				 psessionEntry->htSupportedChannelWidthSet) ?
+				htCaps->supportedChannelWidthSet :
+				psessionEntry->htSupportedChannelWidthSet;
+		lim_log(pMac, LOG1, FL("pStaDs->htSupportedChannelWidthSet 0x%x"),
+				pStaDs->htSupportedChannelWidthSet);
+
 		pStaDs->htMIMOPSState = htCaps->mimoPowerSave;
 		pStaDs->htMaxAmsduLength = htCaps->maximalAMSDUsize;
 		pStaDs->htAMpduDensity = htCaps->mpduDensity;