From db916bfd8dcceaeb0414ea0628e99a8e7955e660 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 1 May 2016 13:36:48 +0200 Subject: iu_rab_act_ps: Use GGSN-side TEI in RAB Assignment Requeset When we send the RAB Assignment Request to the RNC, we need to tell it the GGSN-side TEI for data, not "our" (SGSN side) TEID. In the RAB-Assignment.req we inform the RNC of the TEID on the GGSN side, and in the RAB-Assignment.resp the RNC informs us of the TEID on the RNC side. --- openbsc/src/libiu/iu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c index 7d1de0702..757b2ca79 100644 --- a/openbsc/src/libiu/iu.c +++ b/openbsc/src/libiu/iu.c @@ -209,11 +209,11 @@ int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp, bool use_x213_nsap) ggsn_ip = htonl(ggsn_ip); LOGP(DRANAP, LOGL_DEBUG, "Assigning RAB: rab_id=%d, ggsn_ip=%x," - " teid_own=%x, use_x213_nsap=%d\n", - rab_id, ggsn_ip, pdp->lib->teid_own, use_x213_nsap); + " teid_gn=%x, use_x213_nsap=%d\n", + rab_id, ggsn_ip, pdp->lib->teid_gn, use_x213_nsap); msg = ranap_new_msg_rab_assign_data(rab_id, ggsn_ip, - pdp->lib->teid_own, use_x213_nsap); + pdp->lib->teid_gn, use_x213_nsap); msg->l2h = msg->data; return iu_rab_act(uectx, msg); } -- cgit v1.2.3