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)
commitcbde8123f6c18f34781de3a5095fb58e951326f4
treee206581ecd6f598bc7645f33ae0e0c4969176cb2
parentc17277f7d7c502afe1062587913d47881ba0f116
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