Change in ...libosmocore[master]: Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Sep 5 10:46:39 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/15416


Change subject: Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability
......................................................................

Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability

As 3GPP doesn't specify how the BSC shall communicate ETWS Primary
Notifications over Abis/RSL, we have to use a vendor-specific RSL
message for this.  And in order to know if the peer supports this
feature, we introduces BTS_FEAT_ETWS_PN.

Change-Id: I89c24a81ada6627694a9632e87485a61cbd3e680
Related: OS#4046, OS#4047
---
M include/osmocom/gsm/bts_features.h
M include/osmocom/gsm/protocol/gsm_08_58.h
M src/gsm/bts_features.c
M src/gsm/rsl.c
4 files changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/16/15416/1

diff --git a/include/osmocom/gsm/bts_features.h b/include/osmocom/gsm/bts_features.h
index e84f95b..7ead020 100644
--- a/include/osmocom/gsm/bts_features.h
+++ b/include/osmocom/gsm/bts_features.h
@@ -23,6 +23,7 @@
 	BTS_FEAT_SPEECH_F_EFR,
 	BTS_FEAT_SPEECH_F_AMR,
 	BTS_FEAT_SPEECH_H_AMR,
+	BTS_FEAT_ETWS_PN,
 	_NUM_BTS_FEAT
 };
 
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 72e9de6..da55a8d 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -237,7 +237,7 @@
 	RSL_MT_IPAC_DLCX_ACK,
 	RSL_MT_IPAC_DLCX_NACK,
 
-	RSL_MT_OSMO_ETWS_CMD		= 0xf0,
+	RSL_MT_OSMO_ETWS_CMD		= 0x7f,
 };
 
 /*! Siemens vendor-specific RSL message types */
diff --git a/src/gsm/bts_features.c b/src/gsm/bts_features.c
index 4ec24fa..e4ff76c 100644
--- a/src/gsm/bts_features.c
+++ b/src/gsm/bts_features.c
@@ -38,6 +38,7 @@
 	{ BTS_FEAT_SPEECH_F_EFR,	"Fullrate speech EFR" },
 	{ BTS_FEAT_SPEECH_F_AMR,	"Fullrate speech AMR" },
 	{ BTS_FEAT_SPEECH_H_AMR,	"Halfrate speech AMR" },
+	{ BTS_FEAT_ETWS_PN,		"ETWS Primary Notification via PCH" },
 	{ 0, NULL }
 };
 
diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c
index 3be0111..5534aa2 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -389,6 +389,7 @@
 	{ RSL_MT_TFO_REP,		"TFO_REP" },
 	{ RSL_MT_TFO_MOD_REQ,		"TFO_MOD_REQ" },
 	{ RSL_MT_LOCATION_INFO,		"LOCATION_INFO" },
+	{ RSL_MT_OSMO_ETWS_CMD,		"OSMO_ETWS_CMD" },
 	{ 0,				NULL }
 };
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/15416
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I89c24a81ada6627694a9632e87485a61cbd3e680
Gerrit-Change-Number: 15416
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190905/ed8dc7d1/attachment.htm>


More information about the gerrit-log mailing list