summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-29 21:34:30 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-29 23:07:44 +0100
commitab79be3eebf28be5315e43d0002ebcc05858af0b (patch)
treedc28246ff0b03c5013768705632522b20092f5b4 /drivers/net/ieee802154
parent90a6161df57e7943cdd575ce95c1c62b468407e3 (diff)
downloadlwn-ab79be3eebf28be5315e43d0002ebcc05858af0b.tar.gz
lwn-ab79be3eebf28be5315e43d0002ebcc05858af0b.zip
mac802154: add IEEE802154_HW_ARET hw flag
This patch adds a new IEEE802154_HW_ARET hardware flag for indicating that the transceiver supports ARET handling. Also remove the IEEE802154_HW_FRAME_RETRIES from IEEE802154_HW_CSMA flag. Frame retries handling is part of ARET. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/at86rf230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index b83ad0b38688..005458821c5d 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -1387,7 +1387,7 @@ at86rf230_detect_device(struct at86rf230_local *lp)
lp->hw->extra_tx_headroom = 0;
lp->hw->flags = IEEE802154_HW_OMIT_CKSUM | IEEE802154_HW_AACK |
- IEEE802154_HW_TXPOWER | IEEE802154_HW_CSMA;
+ IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET;
switch (part) {
case 2: