aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs_ms.cpp')
-rw-r--r--src/gprs_ms.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gprs_ms.cpp b/src/gprs_ms.cpp
index fe560e86..b40e1eac 100644
--- a/src/gprs_ms.cpp
+++ b/src/gprs_ms.cpp
@@ -90,7 +90,8 @@ GprsMs::GprsMs(BTS *bts, uint32_t tlli) :
m_is_idle(true),
m_ref(0),
m_list(this),
- m_delay(0)
+ m_delay(0),
+ m_nack_rate_dl(0)
{
LOGP(DRLCMAC, LOGL_INFO, "Creating MS object, TLLI = 0x%08x\n", tlli);
@@ -383,6 +384,8 @@ void GprsMs::update_error_rate(gprs_rlcmac_tbf *tbf, int error_rate)
/* TODO: Check for TBF direction */
/* TODO: Support different CS values for UL and DL */
+ m_nack_rate_dl = error_rate;
+
if (error_rate > bts_data->cs_adj_upper_limit) {
if (m_current_cs_dl > 1) {
m_current_cs_dl -= 1;