[riot-notifications] [RIOT-OS/RIOT] sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR (#15397)

Francisco notifications at github.com
Fri Nov 6 18:25:11 CET 2020

### Contribution description

This pr adds adds a `IEEE802154_RADIO_INDICATION_CRC_ERROR` cap for radios that support it. It adds it handling to the current users as well. 

I'm wandering if this should be a compile time flag now since it adds some extra switching time ifinvalid CRC frames would just want to be dropped.

I have currently only tested the `openwsn` usage, I'll test the others once I get feedback on the implementation.

### Testing procedure

- `tests/ieee802154_hal` should still work

- `tests/ieee802154_submac` should still work

- `tests/pkg_openwsn` should still work

### Issues/PRs references

Related to https://github.com/RIOT-OS/RIOT/pull/13943
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
  * pkg/openwsn: use IEEE802154_RADIO_INDICATION_CRC_ERROR
  * tests/ieee802154_hal: add CRC_ERROR handling
  * sys/ieee802154/submac: add handling of invalid CRC frames

-- File Changes --

    M cpu/cc2538/radio/cc2538_rf_radio_ops.c (19)
    M cpu/nrf52/radio/nrf802154/nrf802154_radio.c (3)
    M drivers/include/net/netdev/ieee802154_submac.h (5)
    M drivers/netdev_ieee802154_submac/netdev_ieee802154_submac.c (8)
    M pkg/openwsn/contrib/radio_hal.c (5)
    M sys/include/net/ieee802154/radio.h (37)
    M sys/include/net/ieee802154/submac.h (7)
    M sys/net/link_layer/ieee802154/submac.c (8)
    M tests/ieee802154_hal/main.c (18)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201106/ccde9b53/attachment-0001.htm>

More information about the notifications mailing list