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
This commit is contained in:
Pau Espin 2022-07-14 19:59:24 +02:00
parent f3a4844f04
commit a7e5f1613a
1 changed files with 2 additions and 0 deletions

View File

@ -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 */
}