Skip to content

Commit 5b520bb

Browse files
Phoebe Buckheisterdavem330
authored andcommitted
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: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8fad346 commit 5b520bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/ieee802154/at86rf230.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ at86rf230_start(struct ieee802154_dev *dev)
567567
if (rc)
568568
return rc;
569569

570-
return at86rf230_state(dev, STATE_RX_ON);
570+
return at86rf230_state(dev, STATE_RX_AACK_ON);
571571
}
572572

573573
static void

0 commit comments

Comments
 (0)