path: root/src/common/rsl.c
diff options
authorHarald Welte <laforge@gnumonks.org>2019-09-05 14:00:09 +0200
committerHarald Welte <laforge@gnumonks.org>2019-09-06 11:57:37 +0200
commit2588b2abf6fc53eef581c0c92a62fb37628be276 (patch)
tree68c30139770704a7c129e32229348a129682be92 /src/common/rsl.c
parentf53fde91a36eff2601df9811fddee97b8f89d6ee (diff)
pcu_interface: Forward ETWS Primary Notification to PCU
All MS/UE must be notified of ETWS Primary Notifiations. Depending on their state, the notification goes different paths: * CS dedicated mode: BSC sends it as L3 message over LAPDm / DCCH * CS/PS idle mode: BTS sends paging messages on PCH * PS TBF active: PCU send Packet Application Info This enables the last of the three methods by passing any ETWS Primary Notifications received over RSL via the PCU socket into the PCU. Change-Id: Ic0b3f38b400a0ca7e4089061ceb6548b0695faa6 Related: OS#4047, OS#4048
Diffstat (limited to 'src/common/rsl.c')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 0bcad4c0..056c16d8 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -558,6 +558,11 @@ static int rsl_rx_osmo_etws_cmd(struct gsm_bts_trx *trx, struct msgb *msg)
/* toggle the PNI to allow phones to distinguish new from old primary notification */
bts->etws.pni = !bts->etws.pni;
+ /* forward the request to the PCU, so the PCU can send it over any active TBF
+ * to phones which currently don't listen to the paging channel */
+ pcu_tx_app_info_req(bts, 0, TLVP_LEN(&tp, RSL_IE_SMSCB_MSG),
return 0;