diff options
Diffstat (limited to 'gtp')
-rw-r--r-- | gtp/gtp.c | 6 | ||||
-rw-r--r-- | gtp/pdp.h | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1049,6 +1049,12 @@ extern int gtp_create_context_req(struct gsn_t *gsn, struct pdp_t *pdp, sizeof(pdp->imsi), (uint8_t*) &pdp->imsi); } + /* Section 7.7.3 Routing Area Information */ + if (pdp->rai_given == 1) + gtpie_tv0(&packet, &length, GTP_MAX, GTPIE_RAI, + pdp->rai.l, (uint8_t*) &pdp->rai.v); + + /* Section 7.7.11 */ gtpie_tv1(&packet, &length, GTP_MAX, GTPIE_RECOVERY, gsn->restart_counter); @@ -192,6 +192,8 @@ struct pdp_t { 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 rai; /* Routing Area Information */ + int rai_given; /* Routing Area Information given*/ struct ul255_t mstz; /* MS Time Zone */ int mstz_given; /* MS Time Zone given*/ struct ul255_t imeisv; /* IMEI Software Version */ |