aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_meas.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 17:01:14 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:13 +0100
commit474685e26ec4574aa2fab782b93bc50c23104905 (patch)
tree92c2559e38b043a344c91091738f9ef66fccb545 /src/gprs_rlcmac_meas.cpp
parentbd449f57a7914f3929a6b5be1cb31271db2ed1c0 (diff)
tbf: Make the tlli "private" and update the updating code
Now all updates to the tlli/tlli_valid are in one place. If we implement the policy to update the matching/linked TBF we can now to do it in a single place. Add a todo item for that as I am waiting for feedback from the mailinglist.
Diffstat (limited to 'src/gprs_rlcmac_meas.cpp')
-rw-r--r--src/gprs_rlcmac_meas.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gprs_rlcmac_meas.cpp b/src/gprs_rlcmac_meas.cpp
index 3229795c..5bb74cd8 100644
--- a/src/gprs_rlcmac_meas.cpp
+++ b/src/gprs_rlcmac_meas.cpp
@@ -100,7 +100,7 @@ int gprs_rlcmac_rssi_rep(struct gprs_rlcmac_tbf *tbf)
return -EINVAL;
LOGP(DRLCMACMEAS, LOGL_INFO, "UL RSSI of TLLI=0x%08x: %d dBm\n",
- tbf->tlli, tbf->meas.rssi_sum / tbf->meas.rssi_num);
+ tbf->tlli(), tbf->meas.rssi_sum / tbf->meas.rssi_num);
return 0;
}
@@ -123,7 +123,7 @@ int gprs_rlcmac_received_lost(struct gprs_rlcmac_tbf *tbf, uint16_t received,
return -EINVAL;
LOGP(DRLCMACMEAS, LOGL_DEBUG, "DL Loss of TLLI 0x%08x: Received: %4d "
- "Lost: %4d Sum: %4d\n", tbf->tlli, received, lost, sum);
+ "Lost: %4d Sum: %4d\n", tbf->tlli(), received, lost, sum);
tbf->meas.dl_loss_received += received;
tbf->meas.dl_loss_lost += lost;
@@ -154,7 +154,7 @@ int gprs_rlcmac_lost_rep(struct gprs_rlcmac_tbf *tbf)
return -EINVAL;
LOGP(DRLCMACMEAS, LOGL_INFO, "DL packet loss of IMSI=%s / TLLI=0x%08x: "
- "%d%%\n", tbf->meas.imsi, tbf->tlli,
+ "%d%%\n", tbf->meas.imsi, tbf->tlli(),
tbf->meas.dl_loss_lost * 100 / sum);
return 0;
@@ -179,7 +179,7 @@ int gprs_rlcmac_dl_bw(struct gprs_rlcmac_tbf *tbf, uint16_t octets)
return 0;
LOGP(DRLCMACMEAS, LOGL_INFO, "DL Bandwitdh of IMSI=%s / TLLI=0x%08x: "
- "%d KBits/s\n", tbf->meas.imsi, tbf->tlli,
+ "%d KBits/s\n", tbf->meas.imsi, tbf->tlli(),
tbf->meas.dl_bw_octets / elapsed);
/* reset bandwidth values timestamp */