wlan: Do not count frames to start BA session too early

Should not count transmit frames to determine whether to start a Block
Ack (BA) session if the connection is not yet authenticated.  Don't want
to do an ADDBA operation in the middle of security negotiation.

Change-Id: I601593ad800d9086e75cc8916ba91387d9d76351
CR-Fixed: 405481
diff --git a/CORE/TL/inc/wlan_qct_tl.h b/CORE/TL/inc/wlan_qct_tl.h
index b5ebae6..cb661d7 100644
--- a/CORE/TL/inc/wlan_qct_tl.h
+++ b/CORE/TL/inc/wlan_qct_tl.h
@@ -1105,6 +1105,51 @@
 
 /*===========================================================================
 
+  FUNCTION    WLANTL_GetSTAState
+
+  DESCRIPTION
+
+    Returns connectivity state of a particular STA.
+
+  DEPENDENCIES
+
+    A station must have been registered before its state can be retrieved.
+
+
+  PARAMETERS
+
+    IN
+    pvosGCtx:       pointer to the global vos context; a handle to TL's
+                    control block can be extracted from its context
+    ucSTAId:        identifier of the station
+
+    OUT
+    ptlSTAState:    the current state of the connection to the given station
+
+
+  RETURN VALUE
+
+    The result code associated with performing the operation
+
+    VOS_STATUS_E_INVAL:  Input parameters are invalid
+    VOS_STATUS_E_FAULT:  Station ID is outside array boundaries or pointer to
+                         TL cb is NULL ; access would cause a page fault
+    VOS_STATUS_E_EXISTS: Station was not registered
+    VOS_STATUS_SUCCESS:  Everything is good :)
+
+  SIDE EFFECTS
+
+============================================================================*/
+VOS_STATUS
+WLANTL_GetSTAState
+(
+  v_PVOID_t             pvosGCtx,
+  v_U8_t                ucSTAId,
+  WLANTL_STAStateType   *ptlSTAState
+);
+
+/*===========================================================================
+
   FUNCTION    WLANTL_STAPktPending
 
   DESCRIPTION