]> git.baikalelectronics.ru Git - kernel.git/commit
mrf24j40: Enable link-layer acknowledgement and retry
authorAlan Ott <alan@signal11.us>
Fri, 5 Apr 2013 10:34:51 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 16:09:18 +0000 (12:09 -0400)
commitadf6347387ce14d8cc654401f871f47a6cfce050
treee206581ecd6f598bc7645f33ae0e0c4969176cb2
parent811eb7ad671d19a868b6ca9344ca381bc1813689
mrf24j40: Enable link-layer acknowledgement and retry

On the MRF24J40, link-layer acknowledgment request and retry must be
turned on explicitly for each packet.  Turn this on in the hardware based
on the FC_ACK_REQ bit being set in the packet.

Also, now that failure to receive an ACK will cause the hardware to report
failure of transmission, change the log level for this failure to debug
level.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/mrf24j40.c