diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2016-09-02 15:44:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-09-23 02:42:46 +0000 |
commit | ba34a2fd73e9803d7e13e90c4fd7e803ce5dedaa (patch) | |
tree | a00dfb9cf41bdb71f8e777a0ef615b41c9aa0aa9 /include | |
parent | 38d232ee5d2ceb045d9ad6d3a23afcb4972523f7 (diff) |
gprs: Increase NS_ALLOC_SIZE to 3k
2k can be insufficient when responding with a STATUS message to a long LLC
packet because the original message is included in the STATUS.
Change-Id: I6f76751cfadf61e87ce4367a38907083e1c98562
Ticket: SYS#2967
Sponsored-by: On-Waves ehf
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gprs/gprs_ns.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/gprs/gprs_ns.h b/include/osmocom/gprs/gprs_ns.h index 7c3b23c1..130d8c0f 100644 --- a/include/osmocom/gprs/gprs_ns.h +++ b/include/osmocom/gprs/gprs_ns.h @@ -23,7 +23,8 @@ "Alive Timer (Tns-alive) timeout\n" \ "Alive Timer (Tns-alive) number of retries\n" -#define NS_ALLOC_SIZE 2048 +/* Educated guess - LLC user payload is 1500 bytes plus possible headers */ +#define NS_ALLOC_SIZE 3072 #define NS_ALLOC_HEADROOM 20 enum ns_timeout { |