drivers/radios: remove default event reporting flags#9577
drivers/radios: remove default event reporting flags#9577PeterKietzmann merged 4 commits intoRIOT-OS:masterfrom
Conversation
|
I hit the cc2420 checkbox even though that device has some issues that do not relate to this PR (will report separately) |
|
Thanks for expanding @PeterKietzmann. I believe that it should not be necessary to check every radio changed here, but it doesn't hurt either. |
|
@bergzand this might break OpenThread, but it wouldn't be this PR's fault. If that happens, I will open a PR with the fix |
|
@bergzand the events are initialized in the netdev_init function. So, I confirm this PR doesn't affect OpenThread ;) |
|
(just marked OpenThread) |
But did you test it? I'd like to detect any issues regarding the event flags here and fix them before merging this PR. |
Yes, via IoT-LAB. It works as expected |
Ok, thanks for testing! |
|
@cladmi should this be backported? |
|
From an offline clarification I would say yes it makes sense. |
|
Backport provided in #9601 |
Contribution description
Now that all network stacks set the required netdev event flags on init, these defaults can be removed from the radios. This prevents the radios from reporting events that are not handled by the network stack anyway.
Issues/PRs references
#9467, #9553, #9555, #9556
Testing
All current network stacks should be tested with at least one of the changed drivers to ensure that all required events for that network stack still work (testing on native (with socket_zep) is not enough).
txtsndbetween 2 z1 nodesping6between samr21-xpro and pba-d-01-kw2xping6between samr21-xpro and nucleo-l476rg+mrf24j40ipandudpcommands and 4 samr21-xpro nodesping6andudpcommands and 4 iotlab-m3 nodes@miri64 Did I miss a network stack that uses one of the modified 802.15.4 radios in this list?