Home
last modified time | relevance | path

Searched refs:pBandWidth (Results 1 – 1 of 1) sorted by relevance

/hardware/ti/wlan/wl1271/stad/src/Data_link/
DTrafficMonitor.c71 static void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS);
72 static TI_UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS);
977 void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS) in TrafficMonitor_updateBW() argument
980 if ( (uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow]) < (SIZE_OF_WINDOW_MS) ) in TrafficMonitor_updateBW()
982 pBandWidth->auWindowCounter[pBandWidth->uCurrentWindow]++; in TrafficMonitor_updateBW()
987 pBandWidth->uCurrentWindow = (pBandWidth->uCurrentWindow + 1) & CYCLIC_COUNTER_ELEMENT; in TrafficMonitor_updateBW()
988 pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow] = uCurrentTS; in TrafficMonitor_updateBW()
989 pBandWidth->auWindowCounter[pBandWidth->uCurrentWindow] = 1; in TrafficMonitor_updateBW()
1004 TI_UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS) in TrafficMonitor_calcBW() argument
1006 TI_UINT32 uTotalTime = uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow]; in TrafficMonitor_calcBW()
[all …]