linux/net/ieee802154/6lowpan
Alexander Aring 87a93e4ece ieee802154: change needed headroom/tailroom
This patch cleanups needed_headroom, needed_tailroom and hard_header_len
fields for wpan and lowpan interfaces.

For wpan interfaces the worst case mac header len should be part of
needed_headroom, currently this is set as hard_header_len, but
hard_header_len should be set to the minimum header length which xmit
call assumes and this is the minimum frame length of 802.15.4.
The hard_header_len value will check inside send callbacl of AF_PACKET
raw sockets.

For lowpan interfaces, if fragmentation isn't needed the skb will
call dev_hard_header for 802154 layer and queue it afterwards. This
happens without new skb allocation, so we need the same headroom and
tailroom lengths like 802154 inside 802154 6lowpan layer. At least we
assume as minimum header length an ipv6 header size.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-09-22 11:51:20 +02:00
..
6lowpan_i.h ieee820154: 6lowpan: dispatch evaluation rework 2015-09-17 13:20:03 +02:00
core.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00
Kconfig ieee802154: create 6lowpan sub-directory 2015-01-08 07:25:59 +01:00
Makefile ieee802154: 6lowpan: fix Makefile entry 2015-01-08 15:48:06 +01:00
reassembly.c ieee820154: 6lowpan: dispatch evaluation rework 2015-09-17 13:20:03 +02:00
rx.c ieee802154: 6lowpan: use correct ESC value for dispatch 2015-09-17 13:20:04 +02:00
tx.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00