From f53fde91a36eff2601df9811fddee97b8f89d6ee Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 3 Sep 2019 13:54:37 +0200 Subject: ETWS Primary Notification via P1 Rest Octets The ETWS (Earthquake and Tsunami Warning System) uses a so-called ETWS Primary Notification which is sent * to phones in dedicated mode (via DCCH from the BSC) * to phones in idle mode (via P1 Rest Octets on PCH/CCCH) This patch implements the second part of the functionality, i.e. transmitting the related ETWS Primary Notification via PCH. As 3GPP doesn't specify how this is communicated over Abis, we use a new, vendor-specific RSL message type. Closes: OS#4047 Depends: libosmocore I89c24a81ada6627694a9632e87485a61cbd3e680 Depends: libosmocore I36fc2ffc22728887d1cb8768c7fcd9739a8ec0fc Change-Id: I18c60cdb86b9c19e09f5ec06d66e9b91608880e6 --- src/common/bts.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/bts.c') diff --git a/src/common/bts.c b/src/common/bts.c index 5c415e86..73631ae6 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -192,6 +192,9 @@ int bts_init(struct gsm_bts *bts) tall_rtp_ctx = talloc_pool(tall_bts_ctx, 262144); osmo_rtp_init(tall_rtp_ctx); + /* features implemented in 'common', available for all models */ + gsm_bts_set_feature(bts, BTS_FEAT_ETWS_PN); + rc = bts_model_init(bts); if (rc < 0) { llist_del(&bts->list); -- cgit v1.2.3