From da0a285612dae28d7e358141808a18ddc33cb4b2 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 1 Oct 2020 23:24:07 +0200 Subject: ns2: status ind: add additional flags (first and persistent) Both flags are required to allow the NS user to sent BVC RESET for persistent NSE. On persistent NSE with persistent NS alive configuration (no RESET/UNBLOCK/BLOCK) the PCU can't detect if the SGSN has restartet or crashed. Change-Id: Iaad7b53d44338e5dd81dc2202f23bdcb715af804 --- include/osmocom/gprs/gprs_ns2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/osmocom/gprs/gprs_ns2.h') diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index 6b88c723..036c594e 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -78,6 +78,12 @@ struct osmo_gprs_ns2_prim { enum gprs_ns2_affecting_cause cause; /* 48.016 5.2.2.6 transfer capability */ int transfer; + /* osmocom specific */ + /* Persistent NSE/NSVC are configured by vty */ + bool persistent; + /* Only true on the first time it's available. + * Allow the BSSGP layer to reset persistent NSE */ + bool first; } status; } u; }; -- cgit v1.2.3