Эх сурвалжийг харах

qcacld-3.0: Avoid switch channel during preauth

qcacld-2.0 to qcacld-3.0 propagation

Currently data tx is suspended and later checked for preauth
in limProcessChannelSwitchTimeout. This can result in a condition
that data tx to be always in suspend case if roaming triggers at
the same time.

Fix is to add a check for preauth during channel switch.

Change-Id: I0ac3d63a5db000beed7de34b13e5926c7dc3ce48
CRs-Fixed: 2035031
Padma, Santhosh Kumar 8 жил өмнө
parent
commit
9397bc1c24

+ 5 - 0
core/mac/src/pe/lim/lim_process_action_frame.c

@@ -88,6 +88,11 @@ void lim_stop_tx_and_switch_channel(tpAniSirGlobal pMac, uint8_t sessionId)
 		return;
 	}
 
+	if (psessionEntry->ftPEContext.pFTPreAuthReq) {
+		pe_debug("Avoid Switch Channel req during pre auth");
+		return;
+	}
+
 	pe_debug("Channel switch Mode: %d",
 		       psessionEntry->gLimChannelSwitch.switchMode);