aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_gmm.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_gmm.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_gmm.h')
-rw-r--r--openbsc/include/openbsc/gprs_gmm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gprs_gmm.h b/openbsc/include/openbsc/gprs_gmm.h
index 0d03dd91f..2cea6f419 100644
--- a/openbsc/include/openbsc/gprs_gmm.h
+++ b/openbsc/include/openbsc/gprs_gmm.h
@@ -1,11 +1,14 @@
#ifndef _GPRS_GMM_H
#define _GPRS_GMM_H
+#include <osmocore/msgb.h>
+#include <openbsc/gprs_sgsn.h>
+
int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid,
uint8_t cause, uint8_t pco_len, uint8_t *pco_v);
int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp);
int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp);
-int gsm0408_gprs_rcvmsg(struct msgb *msg);
+int gsm0408_gprs_rcvmsg(struct msgb *msg, struct gprs_llc_llme *llme);
#endif /* _GPRS_GMM_H */