]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90019bfa2c872664644f3e8f0e385aa79aa5d4f8
tree190f7ce269351b3a27c3bdaf8ab50eaff21c1e14
parent460e4cf2330390cc73b57bd4b20e37fa5497f2d4
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