aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_sgsn.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-01 11:53:01 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-01 11:57:13 +0200
commit807a5d8264cd18cb2978145944e12017db43e135 (patch)
treeae9af28a241ad17cf80761b750373bab82dcc889 /openbsc/include/openbsc/gprs_sgsn.h
parent1371f7dd2fca97012869f5cce4867d0133d375da (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.
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index a6ad3ca00..d14c128bc 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -10,6 +10,8 @@
#define GSM_IMEI_LENGTH 17
#define GSM_EXTENSION_LENGTH 15
+struct gprs_llc_lle;
+
/* TS 04.08 4.1.3.3 GMM mobility management states on the network side */
enum gprs_mm_state {
GMM_DEREGISTERED, /* 4.1.3.3.1.1 */
@@ -92,7 +94,9 @@ struct sgsn_mm_ctx {
struct llist_head pdp_list;
/* Additional bits not present in the GSM TS */
+ struct gprs_llc_llme *llme;
uint32_t tlli;
+ uint32_t tlli_new;
uint16_t nsei;
uint16_t bvci;
struct rate_ctr_group *ctrg;