TDLS: Disappearing AP Trick Implementation as part of Oxygen support.
This commit introduces Disappearing AP Trick requirement as part of
oxygen implementation.
Change-Id: Ie8d687c433777b305c5ad9e1ed70d692e7d3320b
CRs-fixed: 471056
diff --git a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
index 1398d48..eedfab7 100644
--- a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
@@ -41,7 +41,6 @@
/*
*
- * Airgo Networks, Inc proprietary. All rights reserved.
* This file limProcessDeauthFrame.cc contains the code
* for processing Deauthentication Frame.
* Author: Chandra Modumudi
@@ -376,7 +375,15 @@
}
else
{
- limDeleteTDLSPeers(pMac, psessionEntry);
+#ifdef FEATURE_WLAN_TDLS_OXYGEN_DISAPPEAR_AP
+ if ((TRUE == pMac->lim.gLimTDLSOxygenSupport) &&
+ (limGetTDLSPeerCount(pMac, psessionEntry) != 0)) {
+ limTDLSDisappearAPTrickInd(pMac, pStaDs, psessionEntry);
+ return;
+ }
+#endif
+
+ limDeleteTDLSPeers(pMac, psessionEntry);
#endif
/**
* This could be Deauthentication frame from