aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-09-05 17:13:33 +0200
committerlaforge <laforge@gnumonks.org>2019-09-14 15:28:43 +0000
commitcfb6321b88391ff58e5915c67ef0398024572566 (patch)
tree2d8be0aaccca7d9afbaf84b7d4ede5f6db579f9c /src/bts.h
parent5360ef5447e192f20c86a2f92af031c45c724e18 (diff)
Forward ETWS Primary Notification to MS
Receive an Application Information Request from the BTS via PCU interface. Construct a Packet Application Information message from it (3GPP TS 44.060 11.2.47) and send it to all MS with active TBF. The TTCN-3 test infrastructure to test this feature is not quite ready yet, so I've added C unit tests instead. Related: OS#4048 Change-Id: Ie35959f833f46bde5f2126314b6f96763f863b36
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 6d92ae1..6af6d52 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -164,6 +164,11 @@ struct gprs_rlcmac_bts {
/* Are we talking Gb with IP-SNS (true) or classic Gb? */
bool gb_dialect_sns;
+
+ /* Packet Application Information (3GPP TS 44.060 11.2.47, usually ETWS primary message). We don't need to store
+ * more than one message, because they get sent so rarely. */
+ struct msgb *app_info;
+ uint32_t app_info_pending; /* Count of MS with active TBF, to which we did not send app_info yet */
};
#ifdef __cplusplus