diff options
author | Max <msuraev@sysmocom.de> | 2018-01-04 15:13:27 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-01-12 15:29:41 +0100 |
commit | ea98b7d7846ea196508401919ff0da2ff4a3e9a0 (patch) | |
tree | 4a401c7040fc987986d3b1d1687f07ea1981d370 /src/tbf.cpp | |
parent | 7d32f55e4ef44adc3a3ed5234eaad135f660ed11 (diff) |
TBF: move window parameters to UL/DL level
The UL and DL TBF use different classes implementing window
management. Hence it's better to use it explicitly instead of using the
common window management superclass inside common TBF superclass. While
at it, also remove the direct access to window class - use accessor
functions instead.
Related: OS#1759
Change-Id: I0b55aa8947db65f7206adcf53ea32b74a831d9e6
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r-- | src/tbf.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index 6847e181..48cfb6f3 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -1491,6 +1491,11 @@ bool gprs_rlcmac_tbf::is_control_ts(uint8_t ts) const return ts == control_ts; } +gprs_rlc_ul_window *gprs_rlcmac_ul_tbf::window() +{ + return &m_window; +} + struct gprs_rlcmac_ul_tbf *handle_tbf_reject(struct gprs_rlcmac_bts *bts, GprsMs *ms, uint32_t tlli, uint8_t trx_no, uint8_t ts) { |