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)
commit3f3c4bb5ec7c645d1151e1e8d6e56c71a050cf85
tree65b5dff1a80792cd74d3f29a05f2dd61bc51264e
parent022d07e3d89157bf787e462bbce7b9ed47c3b563
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