From 4a90d22f5af99dbcb580251002e5096c9ee55ac6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jun 2010 22:11:40 +0800 Subject: [PATCH] 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... --- openbsc/include/openbsc/gprs_ns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {