Fix to enable/disable BMPS during peer discovery

Make the device out of BMPS before sending any discovery
request to the TDLS peer.
Introduce discovery rsp timeout timer and discovery_sent_count
to put the device into BMPS if discovery sent count is zero
either when we receive discovery response from peer or the
discover response timeout happens.

CRs-Fixed: 464212
Change-Id: Ib048f4e113f7119faa7a3734327d95ab86765b7a
diff --git a/CORE/SME/inc/sme_Api.h b/CORE/SME/inc/sme_Api.h
index c561b64..e804f20 100644
--- a/CORE/SME/inc/sme_Api.h
+++ b/CORE/SME/inc/sme_Api.h
@@ -2523,6 +2523,13 @@
     \- return VOS_STATUS_SUCCES
     -------------------------------------------------------------------------*/
 VOS_STATUS sme_DeleteTdlsPeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac);
+/* ---------------------------------------------------------------------------
+    \fn sme_IsPmcBmps
+    \brief  API to Check if PMC state is BMPS.
+
+    \- return v_BOOL_t
+    -------------------------------------------------------------------------*/
+v_BOOL_t sme_IsPmcBmps(tHalHandle hHal);
 #endif
 #ifdef FEATURE_WLAN_TDLS_INTERNAL
 typedef struct smeTdlsDisResult