aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-23 23:00:21 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-23 23:37:55 +0100
commit985263e55f3b78cf3c67b2dc39edab4c6bf62ad4 (patch)
treede5cf265be09bf5e9dc7a04694b3d3a8f52f923c
parent082b01f18ea56d24e63878e89a3ef33e26860e64 (diff)
GPRS: enhance msgb headroom/tailroom for SGSN (GMM)
In the GPRS NS protocol stack, the amount of NS/BSSGP headers like MS RADIO CAPA INFO can be quite long. In order to fit the full user message and those headers, we have to enlarge the head/tailroom of the msgb allocations.
-rw-r--r--openbsc/include/openbsc/gsm_04_08.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_04_08.h b/openbsc/include/openbsc/gsm_04_08.h
index 15ac1b3fa..fe88d1d88 100644
--- a/openbsc/include/openbsc/gsm_04_08.h
+++ b/openbsc/include/openbsc/gsm_04_08.h
@@ -13,8 +13,8 @@ struct gsm_network;
struct gsm_trans;
struct gsm_subscriber_connection;
-#define GSM48_ALLOC_SIZE 1024
-#define GSM48_ALLOC_HEADROOM 128
+#define GSM48_ALLOC_SIZE 2048
+#define GSM48_ALLOC_HEADROOM 256
static inline struct msgb *gsm48_msgb_alloc(void)
{