From 447a448829deafedb116491caa2c197823e2f9a5 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 14 Jul 2022 19:59:24 +0200 Subject: smscb: Tx Failure and Restart Ind for each Bcast Msg Type 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) --- src/osmo-bsc/smscb.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ } -- cgit v1.2.3