diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-27 20:57:35 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:13 +0100 |
commit | 5464c9baf274950b051cbe7a597001343f4f5c07 (patch) | |
tree | 320de9c63da9135c3baf04cdde2edf5dad6d87d4 /src/gprs_rlcmac_meas.cpp | |
parent | 34f6e5ebe63f46ccf4ce97899c66a83f6f39d355 (diff) |
tbf: Have one imsi field and assign it through a function
Have one IMSI field per TBF and assign through a function call.
The IMSI should be used to look-up the TBF on the SGSN->PCU
direction.
Diffstat (limited to 'src/gprs_rlcmac_meas.cpp')
-rw-r--r-- | src/gprs_rlcmac_meas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_meas.cpp b/src/gprs_rlcmac_meas.cpp index 5bb74cd8..dd9de5af 100644 --- a/src/gprs_rlcmac_meas.cpp +++ b/src/gprs_rlcmac_meas.cpp @@ -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->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->imsi(), tbf->tlli(), tbf->meas.dl_bw_octets / elapsed); /* reset bandwidth values timestamp */ |