aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gprs/gprs_ns2.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-10-01 23:24:07 +0200
committerlaforge <laforge@osmocom.org>2020-10-03 07:19:48 +0000
commitda0a285612dae28d7e358141808a18ddc33cb4b2 (patch)
tree2932a00c5693523a891283854124f4817331970a /include/osmocom/gprs/gprs_ns2.h
parentbf95f0fb2e63098f95864f3fa1fec1c3bc20091b (diff)
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
Diffstat (limited to 'include/osmocom/gprs/gprs_ns2.h')
-rw-r--r--include/osmocom/gprs/gprs_ns2.h6
1 files changed, 6 insertions, 0 deletions
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;
};