diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-06-01 11:53:01 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-01 11:57:13 +0200 |
commit | 02f7325b9fb2f487d054b63e67df3615a4bac9cd (patch) | |
tree | e849ad99e01f412109c39ddc974a8f43c8134622 | |
parent | 2f94683320c3b34caa6b733fb17c4af1c3287838 (diff) |
[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.
-rw-r--r-- | openbsc/src/gprs/gprs_bssgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |