]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: at86rf230: add hw flags and merge ops
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:43 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:24 +0000 (21:29 -0700)
commit183d84a0c05788fa6bc340655b72944a062a3651
tree6dc4ea00259a32766483c436aabe2a581bdee1e7
parent083dc3cac1bd6473aa13a19d45ee9ebd84f792d2
mac802154: at86rf230: add hw flags and merge ops

This patch adds new mac802154 hw flags for transmit power, csma and
listen before transmit (lbt). These flags indicates that the transceiver
supports these features. If the flags are set and the driver doesn't
implement the necessary functions, then ieee802154_register_device
returns -ENOSYS "Function not implemented".

This patch merges also all at86rf230 operations into one operations structure
and set the right hw flags for the at86rf230 transceivers.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c
include/net/mac802154.h
net/mac802154/ieee802154_dev.c