aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-06-13 19:14:32 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-06-16 19:07:14 +0200
commit2a77f1780f14e9393be37f6619fb00c559d6a1d0 (patch)
tree341445f5b4c8b8c7a50c1e1a4291f014250fe571 /include
parent3ef30f342447ef3d6db6cf4d851829588050d36e (diff)
smscb: Base cell operational life cycle on CBCH being operative
This allows running CBCH/ETWS related procedures only when the CBCH towards MS under that cell is operative. This also allows providing awarness of per-cell status to the CBSP peer as required per specs. Related: SYS#5910 Change-Id: Ia93919be94132fc010acb5bbfef0a6fd51c42981
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/smscb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/bsc/smscb.h b/include/osmocom/bsc/smscb.h
index 03c3bb09e..b4f2e196f 100644
--- a/include/osmocom/bsc/smscb.h
+++ b/include/osmocom/bsc/smscb.h
@@ -9,6 +9,7 @@
struct bsc_cbc_link;
/* smscb.c */
+void smscb_global_init(void);
void bts_smscb_del(struct bts_smscb_message *smscb, struct bts_smscb_chan_state *cstate,
const char *reason);
const char *bts_smscb_msg2str(const struct bts_smscb_message *smscb);
@@ -25,7 +26,9 @@ struct bts_smscb_page *bts_smscb_pull_page(struct bts_smscb_chan_state *cstate);
void bts_smscb_page_done(struct bts_smscb_chan_state *cstate, struct bts_smscb_page *page);
int bts_smscb_rx_cbch_load_ind(struct gsm_bts *bts, bool cbch_extended, bool is_overflow,
uint8_t slot_count);
+void bts_cbch_init(struct gsm_bts *bts);
void bts_cbch_timer_schedule(struct gsm_bts *bts);
+void bts_cbch_timer_cb(void *data);
enum bsc_cbc_link_mode {
BSC_CBC_LINK_MODE_DISABLED = 0,
@@ -64,7 +67,6 @@ int bsc_cbc_link_restart(void);
int cbsp_tx_decoded(struct bsc_cbc_link *cbc, struct osmo_cbsp_decoded *decoded);
void bts_etws_init(struct gsm_bts *bts);
-void bts_etws_bootstrap(struct gsm_bts *bts);
/* smscb_vty.c: */
void smscb_vty_init(void);