Skip to content

Commit

Permalink
ieee802154/atusb: Mark driver as AACK enabled in hardware.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Schmidt authored and Marcel Holtmann committed May 21, 2015
1 parent 33a238a commit f1a7188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ieee802154/atusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f1a7188

Please sign in to comment.