summaryrefslogtreecommitdiffstats
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
commit4a90d22f5af99dbcb580251002e5096c9ee55ac6 (patch)
treeb862da62cf306a024ff22a2b552a6033f06c6b21
parentb00d1add7584b017470e60489f44a0c0e553e93f (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...
-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 8b5e7dc3..953c364b 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)
{