wlan: Update Tx counters using correct TDLS station Id.
Setup of BA session on TDLS link. BA session is setup only if there is
any tx activity on a link and this is obtained by looking at the Tx
counter mainatined in TL.
Change-Id: I04a1e5ba14ea7c914d701bdfd09a3c7232490293
CR-Fixed: 431762
diff --git a/CORE/TL/src/wlan_qct_tli.h b/CORE/TL/src/wlan_qct_tli.h
index a9fbf98..078748e 100644
--- a/CORE/TL/src/wlan_qct_tli.h
+++ b/CORE/TL/src/wlan_qct_tli.h
@@ -1262,7 +1262,11 @@
IN
pTLCb: TL control block
+#ifdef FEATURE_WLAN_TDLS
+ *pucStaId Returns the staId used in case of TDLS
+#else
ucStaId: station ID
+#endif
IN/OUT
vosDataBuff: vos data buffer, will contain the new header on output
@@ -1276,6 +1280,19 @@
SIDE EFFECTS
============================================================================*/
+#ifdef FEATURE_WLAN_TDLS
+VOS_STATUS
+WLANTL_Translate8023To80211Header
+(
+ vos_pkt_t* vosDataBuff,
+ VOS_STATUS* pvosStatus,
+ WLANTL_CbType* pTLCb,
+ v_U8_t *pucStaId,
+ v_U8_t ucUP,
+ v_U8_t *ucWDSEnabled,
+ v_U8_t *extraHeadSpace
+);
+#else
VOS_STATUS
WLANTL_Translate8023To80211Header
(
@@ -1287,7 +1304,7 @@
v_U8_t *ucWDSEnabled,
v_U8_t *extraHeadSpace
);
-
+#endif
/*==========================================================================
FUNCTION WLANTL_Translate80211To8023Header