diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-05-01 10:59:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-05-01 15:35:52 +0200 |
commit | 3b922064a478f3a403d3a40d3f22c9a5675390fa (patch) | |
tree | 4dc1ebe04dcb343ce606925762bae300f2c4f9a8 /openbsc/src/gprs/gprs_sgsn.c | |
parent | 5b3fd465d16547f1175b211dd5366123f260fedb (diff) |
SGSN: Use PDP Context NSAPI as RAB ID
As Dieter has pointed out, the RANAP spec requires the RAB ID to be
equal to the NSAPI of the PDP context for which it is established.
Diffstat (limited to 'openbsc/src/gprs/gprs_sgsn.c')
-rw-r--r-- | openbsc/src/gprs/gprs_sgsn.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c index 76ddd9199..70b0358e6 100644 --- a/openbsc/src/gprs/gprs_sgsn.c +++ b/openbsc/src/gprs/gprs_sgsn.c @@ -105,11 +105,6 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_by_ue_ctx(const void *uectx) return NULL; } -uint8_t rab_id_from_mm_ctx(struct sgsn_mm_ctx *mm) -{ - return mm->iu.rab_id++; -} - /* look-up a SGSN MM context based on TLLI + RAI */ struct sgsn_mm_ctx *sgsn_mm_ctx_by_tlli(uint32_t tlli, const struct gprs_ra_id *raid) @@ -208,7 +203,6 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_alloc_iu(void *uectx) ctx->ran_type = MM_CTX_T_UTRAN_Iu; ctx->iu.ue_ctx = uectx; - ctx->iu.rab_id = 1; ctx->iu.new_key = 1; ctx->mm_state = GMM_DEREGISTERED; ctx->auth_triplet.key_seq = GSM_KEY_SEQ_INVAL; |