linux/net/mac802154
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
..
cfg.c ieee802154: add ack request default handling 2015-08-10 20:43:06 +02:00
cfg.h mac802154: introduce mac802154_config_ops 2014-11-02 04:51:06 +01:00
driver-ops.h mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
ieee802154_i.h mac802154: Fix memory corruption with global deferred transmit state. 2015-07-30 14:08:55 +02:00
iface.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00
Kconfig mac802154: select CRYPTO when needed 2015-05-19 19:35:48 +02:00
llsec.c mac802154: llsec: fix device deletion from list 2015-09-22 11:51:19 +02:00
llsec.h mac802154: add llsec decryption method 2014-05-16 17:23:41 -04:00
mac_cmd.c mac802154: mac802154_mlme_start_req() optimisation. 2015-05-26 20:26:10 +02:00
main.c mac802154: change frame_retries behaviour 2015-08-10 20:43:06 +02:00
Makefile mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
mib.c mac802154: remove mib lock 2015-05-23 17:57:08 +02:00
rx.c mac802154: fix ieee802154_rx handling 2015-07-23 17:10:50 +02:00
trace.c mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
trace.h mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
tx.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00
util.c mac802154: util: add stop_device utility function 2015-07-23 17:10:49 +02:00