Commit 5b520bbb authored by Phoebe Buckheister's avatar Phoebe Buckheister Committed by David S. Miller
Browse files

ieee802154: default to AACK in at86rf230

The current IEEE802.15.4 stack assumes that a radio will never deliver
packets with a bad CRC into the stack, as required by the standard.
at86rf230 driven radios violates this assumption because of another
incompatibility: devices are required to send ACKs if requested by a
sender, but RF2xx will only send ACKs from a special receive mode that
is currently not used by the driver.

Enable this receive mode to fix both bugs. Frames with bad CRCs will not
be received at all, and ACKs will be sent if so requested.

Signed-off-by: default avatarPhoebe Buckheister <>
Signed-off-by: default avatarDavid S. Miller <>
parent 8fad346f
...@@ -567,7 +567,7 @@ at86rf230_start(struct ieee802154_dev *dev) ...@@ -567,7 +567,7 @@ at86rf230_start(struct ieee802154_dev *dev)
if (rc) if (rc)
return rc; return rc;
return at86rf230_state(dev, STATE_RX_ON); return at86rf230_state(dev, STATE_RX_AACK_ON);
} }
static void static void
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment