aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-07-14 19:59:24 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-07-15 16:11:33 +0200
commit447a448829deafedb116491caa2c197823e2f9a5 (patch)
tree5fc325759059d1d2dd198cbb340f57837a85d869
parent7d37261be4071f7ba38b7be6a2a5a5ae3c0b7d8a (diff)
smscb: Tx Failure and Restart Ind for each Bcast Msg Type2022q2
As described in 3GPP TS 48.049: 7.8.2: "The RESTART message is sent once per broadcast message type as indicated by the Broadcast Message Type IE." 7.9.2: "The FAILURE message is sent once per broadcast message type as indicated by the Broadcast Message Type IE." Related: SYS#5910 Change-Id: I6668b55868cf534a3b59da5e11542abb8131d604 (cherry picked from commit a7e5f1613aa7478bd51af42a2dea0767e128845d)
-rw-r--r--src/osmo-bsc/smscb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/smscb.c b/src/osmo-bsc/smscb.c
index 32f8f98a6..8e1c6348e 100644
--- a/src/osmo-bsc/smscb.c
+++ b/src/osmo-bsc/smscb.c
@@ -1131,6 +1131,7 @@ static int nm_sig_cb(unsigned int subsys, unsigned int signal,
bts_cbch_timer_schedule(trx->bts);
/* Start ETWS/PWS Primary Notification, if active */
bts_etws_bootstrap(trx->bts);
+ cbsp_tx_restart_bts(bts->network->cbc, true, bts);
cbsp_tx_restart_bts(bts->network->cbc, false, bts);
}
} else {
@@ -1138,6 +1139,7 @@ static int nm_sig_cb(unsigned int subsys, unsigned int signal,
/* If timer is ongoing it means CBCH was available */
LOG_BTS(bts, DCBS, LOGL_INFO, "BTS becomes unavailable for CBCH\n");
osmo_timer_del(&bts->cbch_timer);
+ cbsp_tx_failure_bts(bts->network->cbc, true, bts);
cbsp_tx_failure_bts(bts->network->cbc, false, bts);
} /* else: CBCH was already unavailable before */
}