]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ieee802154/atusb: Mark driver as AACK enabled in hardware.
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 21 May 2015 14:51:36 +0000 (16:51 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 21 May 2015 15:52:23 +0000 (17:52 +0200)
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>
drivers/net/ieee802154/atusb.c

index 9d07dd720bbbe47f3ace104380d1a6b66b49e9c1..eef1d8aa0269c48c2a318a36c5072785dd34e7f7 100644 (file)
@@ -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 */