wlan: per AC re-order aging time
Enable configuring different re-order aging times per AC.
CRs-fixed: 576877
Change-Id: I6131018a00e196fe2042a61194f935f64d0ad00e
diff --git a/CORE/TL/src/wlan_qct_tl.c b/CORE/TL/src/wlan_qct_tl.c
index 2ad0053..d1b079f 100644
--- a/CORE/TL/src/wlan_qct_tl.c
+++ b/CORE/TL/src/wlan_qct_tl.c
@@ -235,18 +235,6 @@
/* Maximum value of SNR that can be calculated by the HW */
#define WLANTL_MAX_HW_SNR 35
-/*--------------------------------------------------------------------------
- TID to AC mapping in TL
- --------------------------------------------------------------------------*/
-const v_U8_t WLANTL_TID_2_AC[WLAN_MAX_TID] = { WLANTL_AC_BE,
- WLANTL_AC_BK,
- WLANTL_AC_BK,
- WLANTL_AC_BE,
- WLANTL_AC_VI,
- WLANTL_AC_VI,
- WLANTL_AC_VO,
- WLANTL_AC_VO };
-
/*----------------------------------------------------------------------------
* Type Declarations
* -------------------------------------------------------------------------*/
@@ -561,6 +549,11 @@
pTLCb->tlConfigInfo.ucAcWeights[ucIndex] = pTLConfig->ucAcWeights[ucIndex];
}
+ for ( ucIndex = 0; ucIndex < WLANTL_MAX_AC ; ucIndex++)
+ {
+ pTLCb->tlConfigInfo.ucReorderAgingTime[ucIndex] = pTLConfig->ucReorderAgingTime[ucIndex];
+ }
+
// scheduling init to be the last one of previous round
pTLCb->uCurServedAC = WLANTL_AC_BK;
pTLCb->ucCurLeftWeight = 1;