]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: correct max sifs size handling
authorAlexander Aring <alex.aring@gmail.com>
Wed, 4 Mar 2015 20:19:59 +0000 (21:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Mar 2015 16:11:30 +0000 (17:11 +0100)
commitc0328cb46abcf0d3a0f04ca8ee87adb0241e3304
tree65b5dff1a80792cd74d3f29a05f2dd61bc51264e
parent7c0b5f806a943903b5e0ccabf69d59aea3861b28
mac802154: correct max sifs size handling

This patch fix the max sifs size correction when the
IEEE802154_HW_TX_OMIT_CKSUM flag is set. With this flag the sk_buff
doesn't contain the CRC, because the transceiver will add the CRC
while transmit.

Also add some defines for the max sifs frame size value and frame check
sequence according to 802.15.4 standard.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h
net/mac802154/util.c