提交 2ac0f3a3 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

at86rf230: deliver with checksum

This patch indicates that the at86rf230 driver deliver with checksum
instead drop the crc before delivering.
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 05f7de67
...@@ -819,7 +819,7 @@ at86rf230_rx_read_frame_complete(void *context) ...@@ -819,7 +819,7 @@ at86rf230_rx_read_frame_complete(void *context)
len = IEEE802154_MTU; len = IEEE802154_MTU;
} }
at86rf230_rx(lp, buf + 2, len - 2, buf[2 + len]); at86rf230_rx(lp, buf + 2, len, buf[2 + len]);
} }
static void static void
...@@ -1414,7 +1414,7 @@ at86rf230_detect_device(struct at86rf230_local *lp) ...@@ -1414,7 +1414,7 @@ at86rf230_detect_device(struct at86rf230_local *lp)
} }
lp->hw->extra_tx_headroom = 0; lp->hw->extra_tx_headroom = 0;
lp->hw->flags = IEEE802154_HW_OMIT_CKSUM | IEEE802154_HW_AACK | lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK |
IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET | IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS; IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册