diff options
author | Max <msuraev@sysmocom.de> | 2017-12-13 18:47:52 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-14 12:20:53 +0100 |
commit | 25a3ca4e59a0ea03067a04ff3fe459a9ba00efd1 (patch) | |
tree | ebf056b14be4fbdaaec97662f90037d5103b695e /src/tbf.cpp | |
parent | ead08aae35ba282ef0fab0b982fe7877fee361da (diff) |
TBF: move EGPRS enablement into (U|D)L-TBF
This is preparation patch for transition to separate UL/DL window
variables instead of current shared generic window. The setting of
window parameters is performed in functions specific to UL/DL TBFs but
the general EGPRS flag remains the same and is set via the same function
which is now marked as protected since it's only meant to be used by
UL/DL subclasses.
Related: OS#1759
Change-Id: I6056194b28a1eb9d69093d1dfdc65a11bc1fc579
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r-- | src/tbf.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index 7b609c84..98005dc6 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -862,7 +862,6 @@ struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_tbf(struct gprs_rlcmac_bts *bts, if (egprs_ms_class > 0 && bts->egprs_enabled) { tbf->enable_egprs(); - tbf->m_window.set_sns(RLC_EGPRS_SNS); setup_egprs_mode(bts, ms); LOGP(DRLCMAC, LOGL_INFO, "Enabled EGPRS for %s, mode %s\n", tbf->name(), GprsCodingScheme::modeName(ms->mode())); @@ -956,7 +955,6 @@ struct gprs_rlcmac_dl_tbf *tbf_alloc_dl_tbf(struct gprs_rlcmac_bts *bts, if (egprs_ms_class > 0 && bts->egprs_enabled) { tbf->enable_egprs(); - tbf->m_window.set_sns(RLC_EGPRS_SNS); setup_egprs_mode(bts, ms); LOGP(DRLCMAC, LOGL_INFO, "Enabled EGPRS for %s, mode %s\n", tbf->name(), GprsCodingScheme::modeName(ms->mode())); |