From 8e323b39f99b7dd1be6ecd335c0620546ca0bfd8 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 28 Dec 2015 14:07:21 +0100 Subject: edge: Set the EGPRS window parameters Currently the GPRS parameters are used, which is ok for the WS but not for the SNS. This commit uses RLC_EGPRS_SNS and RLC_EGPRS_MIN_WS for the window configuration. Sponsored-by: On-Waves ehf --- src/tbf.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/tbf.cpp b/src/tbf.cpp index 670d6335..86d99acc 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -622,6 +622,8 @@ struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_tbf(struct gprs_rlcmac_bts *bts, /* TODO: only for 8PSK, otherwise the GPRS MS class has to be used */ ms_class = egprs_ms_class; tbf->enable_egprs(); + tbf->m_window.set_sns(RLC_EGPRS_SNS); + tbf->m_window.set_ws(RLC_EGPRS_MIN_WS); } rc = setup_tbf(tbf, ms, use_trx, ms_class, egprs_ms_class, single_slot); -- cgit v1.2.3