aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-09-03 13:54:37 +0200
committerHarald Welte <laforge@gnumonks.org>2019-09-05 14:30:17 +0200
commitf53fde91a36eff2601df9811fddee97b8f89d6ee (patch)
tree4fab4e91ba2be64871a04406d2d257f4e6f221b8 /src/common/bts.c
parentcb57028d52b711dfbc27dacf0b82c5a12f1f71c2 (diff)
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
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c3
1 files changed, 3 insertions, 0 deletions
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);