]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: Increase tx_buffer_len
authorAlan Ott <alan@signal11.us>
Wed, 3 Apr 2013 04:00:57 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 21:06:43 +0000 (17:06 -0400)
commit3ac39564424d7c0ca379a1327afdd3ba1c0248e0
tree4885a511f62ca7bcf7d41f51acccd633f53587ad
parentb191fc9fcf94a06aac9a865a33ac7df4a680f178
mac802154: Increase tx_buffer_len

Increase the buffer length from 10 to 300 packets. Consider that traffic on
mac802154 devices will often be 6LoWPAN, and a full-length (1280 octet)
IPv6 packet will fragment into 15 6LoWPAN fragments (because the MTU of
IEEE 802.15.4 is 127).  A 300-packet queue is really 20 full-length IPv6
packets.

With a queue length of 10, an entire IPv6 packet was unable to get queued
at one time, causing fragments to be dropped, and making reassembly
impossible.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/wpan.c