aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 15:59:40 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:13 +0100
commit870c601f1d7079ee1d0a1bf2a1bc1ccccbe4327b (patch)
treec868aae9abf5dd7220fe52b7086b30cedd54296c
parent6b88cddc21b5a145e4772dcbf20855eae8b813ed (diff)
tbf: TODO:Mark TLLI changes as todo item in the code
The TLLI can change when a new P-TMSI is assigned to the phone, e.g. during a (periodic) routing area update. When the TLLI changes we need to update all TBFs and maybe even register the timing advance for the new TLLI..
-rw-r--r--src/bts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 491ddd3e..9518b197 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -703,6 +703,7 @@ int gprs_rlcmac_pdch::rcv_data_block_acknowledged(uint8_t *data, uint8_t len, in
"TLLI, but no TLLI received yet\n", rh->tfi);
return 0;
}
+#warning "Silent TLLI change possible.. Should update TA.."
rc = Decoding::tlli_from_ul_data(data, len, &tbf->tlli);
if (rc) {
bts()->decode_error();
@@ -883,6 +884,7 @@ void gprs_rlcmac_pdch::rcv_control_ack(Packet_Control_Acknowledgement_t *packet,
if (tlli != tbf->tlli) {
LOGP(DRLCMAC, LOGL_INFO, "Phone changed TLLI to "
"0x%08x\n", tlli);
+#warning "Silent TLLI changes... update TA.. and other structs"
tbf->tlli = tlli;
}
LOGP(DRLCMAC, LOGL_DEBUG, "RX: [PCU <- BTS] TFI: %u TLLI: 0x%08x Packet Control Ack\n", tbf->tfi, tbf->tlli);