blob: 3fdf45d586d63cde1e4f6793762910f4f390d2af [file] [log] [blame]
Harald Welte9b455bf2010-03-14 15:45:01 +08001#ifndef _GPRS_SGSN_H
2#define _GPRS_SGSN_H
3
Harald Welteeaa614c2010-05-02 11:26:34 +02004#include <stdint.h>
Harald Welted193cb32010-05-17 22:58:03 +02005#include <netinet/in.h>
Pau Espin Pedrol6ec5dc22019-08-28 16:52:56 +02006#include <inttypes.h>
Harald Welted193cb32010-05-17 22:58:03 +02007
Alexander Couzensf7198d72018-05-22 18:29:14 +02008#include <osmocom/core/fsm.h>
Holger Hans Peter Freyther26d0fe32012-01-06 17:29:06 +01009#include <osmocom/core/timer.h>
10
Pablo Neira Ayuso136f4532011-03-22 16:47:59 +010011#include <osmocom/gsm/gsm48.h>
Harald Welteeaa614c2010-05-02 11:26:34 +020012
Harald Welte496aee42010-06-30 19:59:55 +020013#include <osmocom/crypt/gprs_cipher.h>
Harald Welted3fa84d2016-04-20 17:50:17 +020014#include <osmocom/gsm/protocol/gsm_23_003.h>
Neels Hofmeyree6cfdc2017-07-13 02:03:50 +020015#include <osmocom/crypt/auth.h>
Jacob Erlbeckbd0cf112014-12-01 12:33:33 +010016
Pau Espin Pedrolffd6e372023-01-05 17:45:25 +010017#include <osmocom/sgsn/apn.h>
Pau Espin Pedrolc1cf4af2023-01-05 15:43:00 +010018#include <osmocom/sgsn/gprs_subscriber.h>
19
Harald Welte2720e732010-05-17 00:44:57 +020020#define GSM_EXTENSION_LENGTH 15
21
Harald Welte807a5d82010-06-01 11:53:01 +020022struct gprs_llc_lle;
Holger Hans Peter Freythera2730302014-03-23 18:08:26 +010023struct ctrl_handle;
Neels Hofmeyr0e5d8072017-01-10 00:49:56 +010024struct gprs_subscr;
Pau Espin Pedrol5f4736a2023-01-04 21:30:28 +010025struct sgsn_ggsn_ctx;
Pau Espin Pedrol05190c32023-01-05 20:13:13 +010026struct sgsn_pdp_ctx;
Harald Welte807a5d82010-06-01 11:53:01 +020027
Jacob Erlbeck277b71e2015-02-02 18:03:05 +010028enum gsm48_gsm_cause;
29
Harald Weltec2e8cc42010-05-31 20:23:38 +020030enum gprs_mm_ctr {
Harald Welte8acd88f2010-05-18 10:57:45 +020031 GMM_CTR_PKTS_SIG_IN,
32 GMM_CTR_PKTS_SIG_OUT,
33 GMM_CTR_PKTS_UDATA_IN,
34 GMM_CTR_PKTS_UDATA_OUT,
35 GMM_CTR_BYTES_UDATA_IN,
36 GMM_CTR_BYTES_UDATA_OUT,
37 GMM_CTR_PDP_CTX_ACT,
38 GMM_CTR_SUSPEND,
39 GMM_CTR_PAGING_PS,
40 GMM_CTR_PAGING_CS,
41 GMM_CTR_RA_UPDATE,
42};
43
Harald Weltec2e8cc42010-05-31 20:23:38 +020044enum gprs_t3350_mode {
Jacob Erlbeck93eae8e2014-10-28 12:23:29 +010045 GMM_T3350_MODE_NONE,
Harald Weltec2e8cc42010-05-31 20:23:38 +020046 GMM_T3350_MODE_ATT,
47 GMM_T3350_MODE_RAU,
48 GMM_T3350_MODE_PTMSI_REALL,
49};
50
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +020051/* Authorization/ACL handling */
52enum sgsn_auth_state {
53 SGSN_AUTH_UNKNOWN,
Jacob Erlbeck4adb1362014-12-02 09:47:26 +010054 SGSN_AUTH_AUTHENTICATE,
Neels Hofmeyr058cd572017-02-24 06:24:45 +010055 SGSN_AUTH_UMTS_RESYNC,
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +020056 SGSN_AUTH_ACCEPTED,
57 SGSN_AUTH_REJECTED
58};
59
Harald Welte9b455bf2010-03-14 15:45:01 +080060#define MS_RADIO_ACCESS_CAPA
61
Holger Hans Peter Freyther39c430e2015-05-25 12:26:49 +080062enum sgsn_ggsn_lookup_state {
63 SGSN_GGSN_2DIGIT,
64 SGSN_GGSN_3DIGIT,
65};
66
67struct sgsn_ggsn_lookup {
68 int state;
69
70 struct sgsn_mm_ctx *mmctx;
71
72 /* APN string */
73 char apn_str[GSM_APN_LENGTH];
74
75 /* the original data */
76 struct msgb *orig_msg;
77 struct tlv_parsed tp;
78
79 /* for dealing with re-transmissions */
80 uint8_t nsapi;
81 uint8_t sapi;
82 uint8_t ti;
83};
84
Harald Weltef97ee042015-12-25 19:12:21 +010085enum sgsn_ran_type {
86 /* GPRS/EDGE via Gb */
87 MM_CTX_T_GERAN_Gb,
88 /* UMTS via Iu */
89 MM_CTX_T_UTRAN_Iu,
Pau Espin Pedrol05140b82019-08-13 18:38:24 +020090#if 0
91 /* GPRS/EDGE via Iu, not supported */
Harald Weltef97ee042015-12-25 19:12:21 +010092 MM_CTX_T_GERAN_Iu,
Pau Espin Pedrol05140b82019-08-13 18:38:24 +020093#endif
Harald Weltef97ee042015-12-25 19:12:21 +010094};
Pau Espin Pedrolfd815bb2019-08-30 18:32:42 +020095extern const struct value_string sgsn_ran_type_names[];
Harald Weltef97ee042015-12-25 19:12:21 +010096
97struct service_info {
98 uint8_t type;
99 uint16_t pdp_status;
100};
101
Neels Hofmeyra7a39472017-07-05 15:19:52 +0200102struct ranap_ue_conn_ctx;
Harald Weltef97ee042015-12-25 19:12:21 +0100103
Harald Welte9b455bf2010-03-14 15:45:01 +0800104/* According to TS 03.60, Table 5: SGSN MM and PDP Contexts */
Harald Weltef533e132010-05-01 16:45:46 +0200105/* Extended by 3GPP TS 23.060, Table 6: SGSN MM and PDP Contexts */
Harald Welte9b455bf2010-03-14 15:45:01 +0800106struct sgsn_mm_ctx {
107 struct llist_head list;
108
Harald Weltef97ee042015-12-25 19:12:21 +0100109 enum sgsn_ran_type ran_type;
110
Harald Welted3fa84d2016-04-20 17:50:17 +0200111 char imsi[GSM23003_IMSI_MAX_DIGITS+1];
Pau Espin Pedrol31c46572019-09-02 16:45:27 +0200112 struct osmo_fsm_inst *gmm_fsm;
Harald Welteeaa614c2010-05-02 11:26:34 +0200113 uint32_t p_tmsi;
Harald Weltec2e8cc42010-05-31 20:23:38 +0200114 uint32_t p_tmsi_old; /* old P-TMSI before new is confirmed */
Harald Welteeaa614c2010-05-02 11:26:34 +0200115 uint32_t p_tmsi_sig;
Harald Welted3fa84d2016-04-20 17:50:17 +0200116 char imei[GSM23003_IMEISV_NUM_DIGITS+1];
Harald Weltef533e132010-05-01 16:45:46 +0200117 /* Opt: Software Version Numbber / TS 23.195 */
Harald Welte9b455bf2010-03-14 15:45:01 +0800118 char msisdn[GSM_EXTENSION_LENGTH];
119 struct gprs_ra_id ra;
Harald Weltef97ee042015-12-25 19:12:21 +0100120 struct {
121 uint16_t cell_id; /* Gb only */
122 uint32_t cell_id_age; /* Gb only */
123 uint8_t radio_prio_sms;
124
125 /* Additional bits not present in the GSM TS */
126 uint16_t nsei;
127 uint16_t bvci;
128 struct gprs_llc_llme *llme;
129 uint32_t tlli;
130 uint32_t tlli_new;
Alexander Couzens39cbecd2017-02-03 22:16:05 +0100131
Pau Espin Pedrol0b722402019-08-29 19:59:07 +0200132 /* TS 23.060 6.1.1 Mobility Management States (A/Gb mode) */
Pau Espin Pedrol02514bc2019-08-30 16:14:22 +0200133 struct osmo_fsm_inst *mm_state_fsm;
Harald Weltef97ee042015-12-25 19:12:21 +0100134 } gb;
135 struct {
136 int new_key;
137 uint16_t sac; /* Iu: Service Area Code */
138 uint32_t sac_age; /* Iu: Service Area Code age */
139 /* CSG ID */
140 /* CSG Membership */
141 /* Access Mode */
142 /* Seelected CN Operator ID (TS 23.251) */
143 /* CSG Subscription Data */
144 /* LIPA Allowed */
145 /* Voice Support Match Indicator */
Neels Hofmeyra7a39472017-07-05 15:19:52 +0200146 struct ranap_ue_conn_ctx *ue_ctx;
Harald Weltef97ee042015-12-25 19:12:21 +0100147 struct service_info service;
Pau Espin Pedrol0b722402019-08-29 19:59:07 +0200148 /* TS 23.060 6.1.2 Mobility Management States (Iu mode) */
Pau Espin Pedrolccd12522019-08-30 17:06:36 +0200149 struct osmo_fsm_inst *mm_state_fsm;
Harald Weltef97ee042015-12-25 19:12:21 +0100150 } iu;
Alexander Couzensf7198d72018-05-22 18:29:14 +0200151 struct {
152 struct osmo_fsm_inst *fsm;
153
154 /* when a second attach req arrives while in this procedure,
155 * the fsm needs to compare it against old to decide what to do */
156 struct msgb *attach_req;
157 uint32_t id_type;
Alexander Couzens97390672018-09-18 18:16:53 +0200158 unsigned int auth_reattempt; /* tracking UMTS resync auth attempts */
Alexander Couzensf7198d72018-05-22 18:29:14 +0200159 } gmm_att_req;
Harald Welte9b455bf2010-03-14 15:45:01 +0800160 /* VLR number */
Harald Welteeaa614c2010-05-02 11:26:34 +0200161 uint32_t new_sgsn_addr;
Jacob Erlbeckbd0cf112014-12-01 12:33:33 +0100162 /* Authentication Triplet */
163 struct gsm_auth_tuple auth_triplet;
Harald Welte9b455bf2010-03-14 15:45:01 +0800164 /* Kc */
Harald Weltef533e132010-05-01 16:45:46 +0200165 /* Iu: CK, IK, KSI */
Harald Welte9b455bf2010-03-14 15:45:01 +0800166 /* CKSN */
167 enum gprs_ciph_algo ciph_algo;
Eric2f898262021-05-19 18:57:50 +0200168 uint8_t ue_cipher_mask;
Max4011e722016-07-05 15:19:12 +0200169 /* Auth & Ciphering Request reference from 3GPP TS 24.008 § 10.5.5.19: */
170 uint8_t ac_ref_nr_used;
Harald Weltef97ee042015-12-25 19:12:21 +0100171
Harald Welte9b455bf2010-03-14 15:45:01 +0800172 struct {
Harald Welteeaa614c2010-05-02 11:26:34 +0200173 uint8_t len;
Alexander Chemeris84402c02013-07-03 10:12:23 +0400174 uint8_t buf[50]; /* GSM 04.08 10.5.5.12a, extended in TS 24.008 */
Harald Welte9b455bf2010-03-14 15:45:01 +0800175 } ms_radio_access_capa;
Harald Weltef97ee042015-12-25 19:12:21 +0100176 /* Supported Codecs (SRVCC) */
Harald Welte9b455bf2010-03-14 15:45:01 +0800177 struct {
Harald Welteeaa614c2010-05-02 11:26:34 +0200178 uint8_t len;
Alexander Chemeris84402c02013-07-03 10:12:23 +0400179 uint8_t buf[8]; /* GSM 04.08 10.5.5.12, extended in TS 24.008 */
Harald Welte9b455bf2010-03-14 15:45:01 +0800180 } ms_network_capa;
Harald Weltef97ee042015-12-25 19:12:21 +0100181 /* UE Netowrk Capability (E-UTRAN) */
Harald Welteeaa614c2010-05-02 11:26:34 +0200182 uint16_t drx_parms;
Harald Weltef97ee042015-12-25 19:12:21 +0100183 /* Active Time value for PSM */
Harald Welte9b455bf2010-03-14 15:45:01 +0800184 int mnrg; /* MS reported to HLR? */
185 int ngaf; /* MS reported to MSC/VLR? */
186 int ppf; /* paging for GPRS + non-GPRS? */
Harald Weltef97ee042015-12-25 19:12:21 +0100187 /* Subscribed Charging Characteristics */
188 /* Trace Reference */
189 /* Trace Type */
190 /* Trigger ID */
191 /* OMC Identity */
Harald Welte9b455bf2010-03-14 15:45:01 +0800192 /* SMS Parameters */
193 int recovery;
Harald Weltef97ee042015-12-25 19:12:21 +0100194 /* Access Restriction */
195 /* GPRS CSI (CAMEL) */
196 /* MG-CSI (CAMEL) */
197 /* Subscribed UE-AMBR */
198 /* UE-AMBR */
199 /* APN Subscribed */
Harald Welte9b455bf2010-03-14 15:45:01 +0800200
201 struct llist_head pdp_list;
202
Harald Welte8acd88f2010-05-18 10:57:45 +0200203 struct rate_ctr_group *ctrg;
Pablo Neira Ayusobf540cb2011-05-06 12:11:06 +0200204 struct osmo_timer_list timer;
Harald Weltec2e8cc42010-05-31 20:23:38 +0200205 unsigned int T; /* Txxxx number */
206 unsigned int num_T_exp; /* number of consecutive T expirations */
207
208 enum gprs_t3350_mode t3350_mode;
209 uint8_t t3370_id_type;
Jacob Erlbeck93eae8e2014-10-28 12:23:29 +0100210 uint8_t pending_req; /* the request's message type */
211 /* TODO: There isn't much semantic difference between t3350_mode
212 * (refers to the timer) and pending_req (refers to the procedure),
213 * where mm->T == 3350 => mm->t3350_mode == f(mm->pending_req). Check
214 * whether one of them can be dropped. */
Jacob Erlbeck0c06f982014-10-29 22:12:20 +0100215
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +0200216 enum sgsn_auth_state auth_state;
Neels Hofmeyraa4ed672018-04-22 19:29:41 +0200217 enum osmo_sub_auth_type sec_ctx;
Jacob Erlbeck02ab91e2014-11-12 09:53:45 +0100218
Holger Hans Peter Freyther8ee13e22015-05-18 10:00:03 +0200219 /* the string representation of the current hlr */
220 char hlr[GSM_EXTENSION_LENGTH];
221
Holger Hans Peter Freyther39c430e2015-05-25 12:26:49 +0800222 /* the current GGSN look-up operation */
223 struct sgsn_ggsn_lookup *ggsn_lookup;
224
Neels Hofmeyr0e5d8072017-01-10 00:49:56 +0100225 struct gprs_subscr *subscr;
Harald Welte9b455bf2010-03-14 15:45:01 +0800226};
227
Neels Hofmeyraa4ed672018-04-22 19:29:41 +0200228static inline bool sgsn_mm_ctx_is_authenticated(struct sgsn_mm_ctx *ctx)
229{
230 switch (ctx->sec_ctx) {
231 case OSMO_AUTH_TYPE_GSM:
232 case OSMO_AUTH_TYPE_UMTS:
233 return true;
234 default:
235 return false;
236 }
237}
238
Daniel Willmannb15ceec2014-09-03 15:57:49 +0200239#define LOGMMCTXP(level, mm, fmt, args...) \
Jacob Erlbeck5a38f642014-10-21 13:09:55 +0200240 LOGP(DMM, level, "MM(%s/%08x) " fmt, (mm) ? (mm)->imsi : "---", \
241 (mm) ? (mm)->p_tmsi : GSM_RESERVED_TMSI, ## args)
Daniel Willmannb15ceec2014-09-03 15:57:49 +0200242
Pau Espin Pedrol5b6c4b82019-08-14 16:08:15 +0200243#ifdef BUILD_IU
244#define LOGIUP(ue, level, fmt, args...) \
245 LOGP(DMM, level, "UE(0x%x){%s} " fmt, ue->conn_id, osmo_rai_name(&(ue)->ra_id), ## args)
246#else
247#define LOGIUP(ue, level, fmt, args...) \
248 LOGP(DMM, level, "UE(%p){NOTSUPPORTED} " fmt, ue, ## args)
249#endif
250
Pau Espin Pedrol029a70e2019-11-21 13:58:39 +0100251#define LOGGBP(llme, category, level, fmt, args...) \
252 LOGP(category, level, "LLME(%08x/%08x){%s} " fmt, (llme)->old_tlli, \
Pau Espin Pedrol5b6c4b82019-08-14 16:08:15 +0200253 (llme)->tlli, get_value_string_or_null(gprs_llc_llme_state_names, (llme)->state), ## args);
254
255#define LOGGBIUP(llme, msg, level, fmt, args...) \
256 do { \
257 struct ranap_ue_conn_ctx * _ue; \
258 if (llme) { \
Pau Espin Pedrol029a70e2019-11-21 13:58:39 +0100259 LOGGBP(llme, DMM, level, fmt, ## args); \
Pau Espin Pedrol5b6c4b82019-08-14 16:08:15 +0200260 } else if ((msg) && (_ue = MSG_IU_UE_CTX(msg))) { \
261 LOGIUP(_ue, level, fmt, ## args); \
262 } else { OSMO_ASSERT(0); } \
263 } while (0)
264
Harald Welte9b455bf2010-03-14 15:45:01 +0800265/* look-up a SGSN MM context based on TLLI + RAI */
Harald Welteeaa614c2010-05-02 11:26:34 +0200266struct sgsn_mm_ctx *sgsn_mm_ctx_by_tlli(uint32_t tlli,
Harald Welte9b455bf2010-03-14 15:45:01 +0800267 const struct gprs_ra_id *raid);
Harald Welteeaa614c2010-05-02 11:26:34 +0200268struct sgsn_mm_ctx *sgsn_mm_ctx_by_ptmsi(uint32_t tmsi);
Harald Welte9b455bf2010-03-14 15:45:01 +0800269struct sgsn_mm_ctx *sgsn_mm_ctx_by_imsi(const char *imsi);
Daniel Willmann6292c8d2016-05-21 17:35:57 +0200270struct sgsn_mm_ctx *sgsn_mm_ctx_by_ue_ctx(const void *uectx);
Harald Welte9b455bf2010-03-14 15:45:01 +0800271
Jacob Erlbeck5ac4aad2016-01-04 18:43:38 +0100272/* look-up by matching TLLI and P-TMSI (think twice before using this) */
273struct sgsn_mm_ctx *sgsn_mm_ctx_by_tlli_and_ptmsi(uint32_t tlli,
274 const struct gprs_ra_id *raid);
275
Harald Welte9b455bf2010-03-14 15:45:01 +0800276/* Allocate a new SGSN MM context */
Alexander Couzens2b5fb8e2017-02-04 06:01:00 +0100277struct sgsn_mm_ctx *sgsn_mm_ctx_alloc_gb(uint32_t tlli,
Harald Welte9b455bf2010-03-14 15:45:01 +0800278 const struct gprs_ra_id *raid);
Daniel Willmann6292c8d2016-05-21 17:35:57 +0200279struct sgsn_mm_ctx *sgsn_mm_ctx_alloc_iu(void *uectx);
280
Jacob Erlbecke671d252015-01-26 14:43:07 +0100281void sgsn_mm_ctx_cleanup_free(struct sgsn_mm_ctx *ctx);
Harald Welte9b455bf2010-03-14 15:45:01 +0800282
Jacob Erlbeck277b71e2015-02-02 18:03:05 +0100283struct sgsn_ggsn_ctx *sgsn_mm_ctx_find_ggsn_ctx(struct sgsn_mm_ctx *mmctx,
284 struct tlv_parsed *tp,
Holger Hans Peter Freyther39c430e2015-05-25 12:26:49 +0800285 enum gsm48_gsm_cause *gsm_cause,
286 char *apn_str);
Harald Welted193cb32010-05-17 22:58:03 +0200287
Harald Welte96df6062010-06-03 06:37:26 +0200288/* look up PDP context by MM context and NSAPI */
Harald Welted193cb32010-05-17 22:58:03 +0200289struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_nsapi(const struct sgsn_mm_ctx *mm,
290 uint8_t nsapi);
Harald Welte96df6062010-06-03 06:37:26 +0200291/* look up PDP context by MM context and transaction ID */
Harald Welte77289c22010-05-18 14:32:29 +0200292struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_tid(const struct sgsn_mm_ctx *mm,
293 uint8_t tid);
Harald Welte96df6062010-06-03 06:37:26 +0200294
Harald Welted193cb32010-05-17 22:58:03 +0200295extern struct llist_head sgsn_mm_ctxts;
Harald Welted193cb32010-05-17 22:58:03 +0200296
Harald Welte6463c072010-05-18 17:04:55 +0200297uint32_t sgsn_alloc_ptmsi(void);
298
Holger Hans Peter Freythera2730302014-03-23 18:08:26 +0100299/*
300 * ctrl interface related work
301 */
Holger Hans Peter Freythera2730302014-03-23 18:08:26 +0100302int sgsn_ctrl_cmds_install(void);
303
Holger Hans Peter Freyther1768a572014-04-04 12:40:34 +0200304/*
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +0200305 * Authorization/ACL handling
Holger Hans Peter Freyther1768a572014-04-04 12:40:34 +0200306 */
Jacob Erlbeck3b5d4072014-10-24 15:11:03 +0200307struct imsi_acl_entry {
308 struct llist_head list;
Max85386dc2018-12-10 13:26:39 +0100309 char imsi[OSMO_IMSI_BUF_SIZE];
Jacob Erlbeck3b5d4072014-10-24 15:11:03 +0200310};
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +0200311
Jacob Erlbeckd6267d12015-01-19 11:10:04 +0100312#define SGSN_ERROR_CAUSE_NONE (-1)
313
Jacob Erlbeck42755782015-01-08 12:02:12 +0100314#define LOGGSUBSCRP(level, subscr, fmt, args...) \
Jacob Erlbeck9999fd92015-01-15 17:08:30 +0100315 LOGP(DGPRS, level, "SUBSCR(%s) " fmt, \
316 (subscr) ? (subscr)->imsi : "---", \
Jacob Erlbeck42755782015-01-08 12:02:12 +0100317 ## args)
318
Jacob Erlbeck3b5d4072014-10-24 15:11:03 +0200319struct sgsn_config;
320struct sgsn_instance;
Jacob Erlbeckf951a012014-11-07 14:17:44 +0100321extern const struct value_string *sgsn_auth_state_names;
Jacob Erlbeck3b5d4072014-10-24 15:11:03 +0200322
Max2e485762018-12-10 18:01:47 +0100323void sgsn_auth_init(struct sgsn_instance *sgsn);
Max40124c82018-12-10 18:17:21 +0100324struct imsi_acl_entry *sgsn_acl_lookup(const char *imsi, const struct sgsn_config *cfg);
Jacob Erlbeck3b5d4072014-10-24 15:11:03 +0200325int sgsn_acl_add(const char *imsi, struct sgsn_config *cfg);
326int sgsn_acl_del(const char *imsi, struct sgsn_config *cfg);
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +0200327/* Request authorization */
Jacob Erlbecka0b6efb2014-11-13 10:48:39 +0100328int sgsn_auth_request(struct sgsn_mm_ctx *mm);
329enum sgsn_auth_state sgsn_auth_state(struct sgsn_mm_ctx *mm);
330void sgsn_auth_update(struct sgsn_mm_ctx *mm);
Jacob Erlbeck7921ab12014-12-08 15:52:00 +0100331struct gsm_auth_tuple *sgsn_auth_get_tuple(struct sgsn_mm_ctx *mmctx,
332 unsigned key_seq);
Jacob Erlbeck423f8bf2014-10-24 18:09:54 +0200333
334/* Called on subscriber data updates */
Jacob Erlbeck555b2e52015-01-26 13:52:42 +0100335void sgsn_update_subscriber_data(struct sgsn_mm_ctx *mmctx);
Holger Hans Peter Freyther1768a572014-04-04 12:40:34 +0200336
Harald Welte9b455bf2010-03-14 15:45:01 +0800337#endif /* _GPRS_SGSN_H */