summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-05-21 16:51:36 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-05-21 17:52:23 +0200
commitf1a71886c59f1d981d3848c744e617d2f7e4149e (patch)
treedd5a5f64b0a6697cd7e6caa0ffb1b35e5dd93bc8 /drivers/net/ieee802154
parent33a238ae65cee561b3eb78694a41cd3e196fe59c (diff)
downloadlinux-f1a71886c59f1d981d3848c744e617d2f7e4149e.tar.bz2
ieee802154/atusb: Mark driver as AACK enabled in hardware.
Since firmware version 0.2 we use AACK handling directly in the firmware. Inform the stack that the hardware supports and uses it. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Acked-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/atusb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/atusb.c b/drivers/net/ieee802154/atusb.c
index 9d07dd720bbb..eef1d8aa0269 100644
--- a/drivers/net/ieee802154/atusb.c
+++ b/drivers/net/ieee802154/atusb.c
@@ -568,7 +568,8 @@ static int atusb_probe(struct usb_interface *interface,
goto fail;
hw->parent = &usb_dev->dev;
- hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AFILT;
+ hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AFILT |
+ IEEE802154_HW_AACK;
hw->phy->current_page = 0;
hw->phy->current_channel = 11; /* reset default */