Wlan: Fix the Probe req aging time and Flush BD's if WDA TX timeout.

In case MC Thread is stalled on transmission of Probe response if
firmware resources (BD/PDU) are stuck in BTQM, too many probe reqs
may get accumulated in PE message queue.

Now when MC thread is scheduled after WDA_TL_TX_FRAME_TIMEOUT,
probe req are processed and eWNI_SME_MGMT_FRM_IND msg is
posted in SME message queue. But unless PE queue is fully processed
SME queue wont be processed.

This will gradually use all vos message wrapper.

To avoid this below changes are done:
1) Change the Probe request aging to 500 msec
   (current value is 50000 msec).
2) Flush the BD's if WDA TX timeout happens.

Change-Id: I43be64c096bf4837bcb04c50998c274b1d74b73b
CRs-Fixed: 942678
diff --git a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
index 80174c5..011df0a 100644
--- a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
+++ b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
@@ -80,7 +80,7 @@
 #include "vos_memory.h"
 
 /* This value corresponds to 500 ms */
-#define MAX_PROBEREQ_TIME 5000
+#define MAX_PROBEREQ_TIME 50
 
 #ifdef WLAN_FEATURE_EXTSCAN
 #define  SIZE_OF_FIXED_PARAM 12
diff --git a/CORE/VOSS/src/vos_api.c b/CORE/VOSS/src/vos_api.c
index c44edf9..bc2b2dc 100644
--- a/CORE/VOSS/src/vos_api.c
+++ b/CORE/VOSS/src/vos_api.c
@@ -1734,8 +1734,7 @@
      */
     if ((WLAN_LOG_INDICATOR_HOST_DRIVER == indicator) &&
         (WLAN_LOG_REASON_SME_COMMAND_STUCK == reason_code ||
-         WLAN_LOG_REASON_SME_OUT_OF_CMD_BUF == reason_code ||
-         WLAN_LOG_REASON_MGMT_FRAME_TIMEOUT == reason_code))
+         WLAN_LOG_REASON_SME_OUT_OF_CMD_BUF == reason_code))
     {
          VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
            "Do SSR for reason_code=%d", reason_code);
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index c6075f5..88eefe1 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -14113,13 +14113,14 @@
       {
          pCompFunc(VOS_GET_MAC_CTXT(pWDA->pVosContext), (vos_pkt_t *)pFrmBuf);
       } */
+
+      WLANTL_TLDebugMessage(WLANTL_DEBUG_FW_CLEANUP);
+
       if (vos_isFatalEventEnabled())
          vos_fatal_event_logs_req(WLAN_LOG_TYPE_FATAL,
                      WLAN_LOG_INDICATOR_HOST_DRIVER,
                      WLAN_LOG_REASON_MGMT_FRAME_TIMEOUT,
                      FALSE, TRUE);
-      else
-         vos_wlanRestart();
 
       if( pAckTxComp )
       {