From 4d3cb024463b132a044011e3445b2770fd28fe77 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 10 Feb 2016 15:13:28 +0200 Subject: [PATCH] net: Increase the 802.15.4 TX stack to 4096 bytes If application needs to send large packets, the 802.15.4 fragmentation code needs to store the fragments somewhere. Currently this somewhere is stack which means that we need to increase the stack size quite a lot. Change-Id: I9b08563e77c021e5ac103e637e331d7b977563cc Signed-off-by: Jukka Rissanen --- net/ip/net_driver_15_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ip/net_driver_15_4.c b/net/ip/net_driver_15_4.c index aa0bd849329..9591c0426b6 100644 --- a/net/ip/net_driver_15_4.c +++ b/net/ip/net_driver_15_4.c @@ -49,7 +49,7 @@ static char __noinit __stack rx_fiber_stack[STACKSIZE_UNIT * 1]; /* The 802.15.4 loopback test app (test_15_4) needs bigger stack. */ static char __noinit __stack tx_fiber_stack[NET_802154_TX_STACK_SIZE]; #else -static char __noinit __stack tx_fiber_stack[STACKSIZE_UNIT * 3 / 2]; +static char __noinit __stack tx_fiber_stack[STACKSIZE_UNIT * 4]; #endif /* Queue for incoming packets from hw driver */