]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: separate omit tx/rx flags
authorAlexander Aring <alex.aring@gmail.com>
Wed, 29 Oct 2014 20:34:34 +0000 (21:34 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 22:07:45 +0000 (23:07 +0100)
commit51862ee59e4ae903e6b27f02ac8c7ee1ef60bf11
treef8aa328bee0f9c5e5eae8eb0c45066a8f648ab55
parent8f7c8d8c3d2bfe1a84ab59d623fa43fe07347fbd
mac802154: separate omit tx/rx flags

This patch splits the IEEE802154_HW_OMIT_CKSUM hardware flag into
IEEE802154_HW_TX_OMIT_CKSUM and IEEE802154_HW_RX_OMIT_CKSUM. This is
useful to deliver the received crc from the driver layer to the monitor
interface. At the moment we can't do that without change the xmit
handling.

The received checksum should be visible in monitor mode only.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h
net/mac802154/rx.c
net/mac802154/tx.c