aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-12-28 14:07:21 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-01 13:58:13 +0100
commit8e323b39f99b7dd1be6ecd335c0620546ca0bfd8 (patch)
tree74319b7ed6f67e389b9731a22552ac7375195596
parent869449cdd0d4fd85279226a009aafb71ef3332cb (diff)
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
-rw-r--r--src/tbf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 670d633..86d99ac 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);