aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
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-14 19:59:27 +0200
commita7e5f1613aa7478bd51af42a2dea0767e128845d (patch)
treea6e796f89340f63f8bea464bf053cb22c00ec3a0 /src/osmo-bsc
parentf3a4844f04906b38d521da150ed8aadedf8b917b (diff)
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
Diffstat (limited to 'src/osmo-bsc')
-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 */
}