wlan: Fix for not receiving probe request.
Don't receive the probe request frame when we sent P2P action
frame to avoid latency for receiving feedback from firmware.
Change-Id: I40f014c65144d29cbbcf711ea46c4e2a58cb9305
CRs-Fixed: 480347
diff --git a/CORE/SME/inc/p2p_Api.h b/CORE/SME/inc/p2p_Api.h
index c0b7554..a751f54 100644
--- a/CORE/SME/inc/p2p_Api.h
+++ b/CORE/SME/inc/p2p_Api.h
@@ -39,14 +39,16 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+
+
/******************************************************************************
*
* Name: p2p_Api.h
*
* Description: P2P FSM defines.
*
-* Copyright 2008 (c) Qualcomm, Incorporated. All Rights Reserved.
-* Qualcomm Confidential and Proprietary.
+* Copyright 2008 (c) Qualcomm Technologies, Inc. All Rights Reserved.
+* Qualcomm Technologies Confidential and Proprietary.
*
******************************************************************************/
@@ -489,11 +491,11 @@
#endif
} tp2pContext, *tPp2pContext;
-
eHalStatus sme_RemainOnChannel( tHalHandle hHal, tANI_U8 sessionId,
tANI_U8 channel, tANI_U32 duration,
- remainOnChanCallback callback,
- void *pContext );
+ remainOnChanCallback callback,
+ void *pContext,
+ tANI_U8 isP2PProbeReqAllowed);
eHalStatus sme_ReportProbeReq( tHalHandle hHal, tANI_U8 flag );
eHalStatus sme_updateP2pIe( tHalHandle hHal, void *p2pIe,
tANI_U32 p2pIeLength );
@@ -509,11 +511,14 @@
eHalStatus p2pRemainOnChannel( tHalHandle hHal, tANI_U8 sessionId,
tANI_U8 channel, tANI_U32 duration,
remainOnChanCallback callback, void *pContext,
+ tANI_U8 isP2PProbeReqAllowed,
eP2PRemainOnChnReason reason);
#else
eHalStatus p2pRemainOnChannel( tHalHandle hHal, tANI_U8 sessionId,
tANI_U8 channel, tANI_U32 duration,
- remainOnChanCallback callback, void *pContext);
+ remainOnChanCallback callback,
+ void *pContext,
+ tANI_U8 isP2PProbeReqAllowed);
#endif
eHalStatus p2pSendAction( tHalHandle hHal, tANI_U8 sessionId,
const tANI_U8 *pBuf, tANI_U32 len,
diff --git a/CORE/SME/inc/smeInside.h b/CORE/SME/inc/smeInside.h
index c885744..e2c09c1 100644
--- a/CORE/SME/inc/smeInside.h
+++ b/CORE/SME/inc/smeInside.h
@@ -112,6 +112,7 @@
tANI_U8 chn;
tANI_U8 phyMode;
tANI_U32 duration;
+ tANI_U8 isP2PProbeReqAllowed;
void* callback;
void* callbackCtx;
}tRemainChlCmd;