瀏覽代碼

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>
Stefan Schmidt 10 年之前
父節點
當前提交
f1a71886c5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/net/ieee802154/atusb.c

+ 2 - 1
drivers/net/ieee802154/atusb.c

@@ -568,7 +568,8 @@ static int atusb_probe(struct usb_interface *interface,
 		goto fail;
 		goto fail;
 
 
 	hw->parent = &usb_dev->dev;
 	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_page = 0;
 	hw->phy->current_channel = 11;	/* reset default */
 	hw->phy->current_channel = 11;	/* reset default */