ieee802154: atusb: implement .set_frame_retries ops callback
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 5 Dec 2016 13:47:20 +0000 (14:47 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Dec 2016 06:43:29 +0000 (07:43 +0100)
commit5d82288b93db3bc7e943464f89079f1360ac3c50
tree190f7ce269351b3a27c3bdaf8ab50eaff21c1e14
parent6cc33eba232cebc9918c558b21b1e3b5fcab27b7
ieee802154: atusb: implement .set_frame_retries ops callback

From firmware version 0.3 onwards we use the TX_ARET mode allowing for automatic
frame retransmissions. To actually make use of this feature we need to implement
the callback for setting the frame retries.

If the firmware version is to old print a warning and return with invalid value.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/atusb.c