aboutsummaryrefslogtreecommitdiffstats
path: root/gtp/pdp.h
diff options
context:
space:
mode:
authorYann BONNAMY <yann_bonnamy@yahoo.fr>2010-10-29 17:07:44 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-29 17:07:44 +0200
commit944dce3e66f3bc5b74f24dfbbee2370a231a39a9 (patch)
treea7450adfa49d387929c5f5dc97313d60737a53db /gtp/pdp.h
parent87490d7fa9052ca1fe1b67ba01c46611f9925ded (diff)
Add support for GTP IE's from 3GPP R7
This adds support for the followng new GTP Information Elements: RAT_TYPE, USER_LOC, MS_TZ, IMEI_SV Furthermore, it allows to specify those fields as sgsnemu command line arguments.
Diffstat (limited to 'gtp/pdp.h')
-rw-r--r--gtp/pdp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtp/pdp.h b/gtp/pdp.h
index 624c4ac..d826d77 100644
--- a/gtp/pdp.h
+++ b/gtp/pdp.h
@@ -188,6 +188,14 @@ struct pdp_t {
struct ul255_t pco_req; /* Requested packet control options. */
struct ul255_t pco_neg; /* Negotiated packet control options. */
uint32_t selmode; /* Selection mode. */
+ struct ul255_t rattype; /* Radio Access Technology Type */
+ int rattype_given; /* Radio Access Technology Type given*/
+ struct ul255_t userloc; /* User Location Information */
+ int userloc_given; /* User Location Information given*/
+ struct ul255_t mstz; /* MS Time Zone */
+ int mstz_given; /* MS Time Zone given*/
+ struct ul255_t imeisv; /* IMEI Software Version */
+ int imeisv_given; /* IMEI Software Version given*/
/* Additional parameters used by library */