aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sgsn
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-09-11 03:38:14 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2020-02-04 10:21:12 +0100
commit91a8bbd5db47bae83c4b63f58536eeae73738b4a (patch)
tree28a6e2823993427c8058dc8cd10c7ed0569f8ebf /include/osmocom/sgsn
parentd999e54aa264254a66de425ccf7edcd68f8420f2 (diff)
gprs_gmm_fsm.c: Implement RAT change between 2g and 3g
Diffstat (limited to 'include/osmocom/sgsn')
-rw-r--r--include/osmocom/sgsn/gprs_gmm_fsm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_gmm_fsm.h b/include/osmocom/sgsn/gprs_gmm_fsm.h
index fd5b4bff9..f10851e5c 100644
--- a/include/osmocom/sgsn/gprs_gmm_fsm.h
+++ b/include/osmocom/sgsn/gprs_gmm_fsm.h
@@ -1,6 +1,8 @@
#pragma once
#include <osmocom/core/fsm.h>
+#include <osmocom/sgsn/gprs_sgsn.h>
+
/* 3GPP TS 24.008 ยง 4.1.3.3 GMM mobility management states on the network side */
enum gmm_fsm_states {
@@ -23,6 +25,12 @@ enum gmm_fsm_events {
E_GMM_SUSPEND,
E_GMM_RESUME,
E_GMM_CLEANUP,
+ E_GMM_RAT_CHANGE,
+};
+
+struct gmm_rat_change_data {
+ enum sgsn_ran_type new_ran_type;
+ struct gprs_llc_llme *llme;
};
static inline bool gmm_fsm_is_registered(struct osmo_fsm_inst *fi)