Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1a71886 authored by Stefan Schmidt's avatar Stefan Schmidt Committed by Marcel Holtmann
Browse files

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: default avatarStefan Schmidt <stefan@osg.samsung.com>
Acked-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 33a238ae
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 */