aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_ns.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-14 22:11:40 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-14 22:11:40 +0800
commit2844144afd1bd2b99b8c4f2016d57b4d92eee1e3 (patch)
treea2f5bbb0b35bf06c954e66cf0b5ac9d12f30daed /openbsc/include/openbsc/gprs_ns.h
parentabcddf1152dc9adca62bfb93df6439e1bc07f8a7 (diff)
GPRS: Increase the NS msg size to 2048
According to the GPRS NS spec the maximum framesize is 1600 octets for FrameRelay, it can be bigger if configured to be so. Make it 2048 octets to have some space available...
Diffstat (limited to 'openbsc/include/openbsc/gprs_ns.h')
-rw-r--r--openbsc/include/openbsc/gprs_ns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gprs_ns.h b/openbsc/include/openbsc/gprs_ns.h
index 8b5e7dc31..953c364b8 100644
--- a/openbsc/include/openbsc/gprs_ns.h
+++ b/openbsc/include/openbsc/gprs_ns.h
@@ -222,7 +222,7 @@ void gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause);
/* Add NS-specific VTY stuff */
int gprs_ns_vty_init(struct gprs_ns_inst *nsi);
-#define NS_ALLOC_SIZE 1024
+#define NS_ALLOC_SIZE 2048
#define NS_ALLOC_HEADROOM 20
static inline struct msgb *gprs_ns_msgb_alloc(void)
{