From 02f7325b9fb2f487d054b63e67df3615a4bac9cd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 1 Jun 2010 11:53:01 +0200 Subject: [GPRS] Major LLC / TLLI handling fixes * separate the LLME and LLE state in the LLC layer * introduce gprs_llgmm_assign() function for LLGMM-ASSIGN.req primitive * change QoS profile to match 'real' SGSN * Update the new TLLI when assigning a P-TMSI The result now is that the LLC layer is notified of TLLI changes, which in turn means it doesn't allocate a new LLE structure every TLLI change, which again in turn means that the UI frame sequence number does not reset to zero. As a result, MS should no longer ignore frames based on wrong UI sequence number. --- openbsc/src/gprs/gprs_bssgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c index 58ade4d2..89b78662 100644 --- a/openbsc/src/gprs/gprs_bssgp.c +++ b/openbsc/src/gprs/gprs_bssgp.c @@ -693,7 +693,7 @@ int gprs_bssgp_tx_dl_ud(struct msgb *msg, struct sgsn_mm_ctx *mmctx) uint8_t llc_pdu_tlv_hdr_len = 2; uint8_t *llc_pdu_tlv, *qos_profile; uint16_t pdu_lifetime = 1000; /* centi-seconds */ - uint8_t qos_profile_default[3] = { 0x00, 0x00, 0x21 }; + uint8_t qos_profile_default[3] = { 0x00, 0x00, 0x20 }; uint16_t msg_len = msg->len; uint16_t bvci = msgb_bvci(msg); uint16_t nsei = msgb_nsei(msg); -- cgit v1.2.3