aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-12-02 20:45:03 +0100
committerAlexander Couzens <lynxis@fe80.eu>2016-12-02 20:49:32 +0100
commit88b24f5350b6c6a93d2049d1a717a14cf44c54e2 (patch)
tree3209f9f7f00dad88d86054c21b260b34cef80d86
parentd635a0481e489f20bf7e0a879a3e22aac2fb4467 (diff)
HACK: bts: page the MS before send an immediate assign
-rw-r--r--src/bts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index aa9837ac..1af3a38e 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -745,12 +745,15 @@ void BTS::trigger_dl_ass(
/* start timer */
tbf_timer_start(dl_tbf, 0, Tassign_pacch);
} else {
+ uint32_t tlli = dl_tbf->tlli();
LOGP(DRLCMAC, LOGL_DEBUG, "Send dowlink assignment for %s on PCH, no TBF exist (IMSI=%s)\n", tbf_name(dl_tbf), dl_tbf->imsi());
dl_tbf->was_releasing = dl_tbf->state_is(GPRS_RLCMAC_WAIT_RELEASE);
/* change state */
dl_tbf->set_state(GPRS_RLCMAC_ASSIGN);
dl_tbf->state_flags |= (1 << GPRS_RLCMAC_FLAG_CCCH);
/* send immediate assignment */
+ /* FIXME TLLI != P-TMSI, but our sgsn use TLLI == P-TMSI */
+ gprs_rlcmac_paging_request((uint8_t *)&tlli, sizeof(dl_tbf->tlli()), dl_tbf->imsi());
dl_tbf->bts->snd_dl_ass(dl_tbf, 0, dl_tbf->imsi());
dl_tbf->m_wait_confirm = 1;
/* start timer */