Skip to content

drivers/radios: remove default event reporting flags [backport 2018.07]#9601

Closed
bergzand wants to merge 4 commits intoRIOT-OS:2018.07-branchfrom
bergzand:2018.07/pr/netdev/rem_default_tell_opts
Closed

drivers/radios: remove default event reporting flags [backport 2018.07]#9601
bergzand wants to merge 4 commits intoRIOT-OS:2018.07-branchfrom
bergzand:2018.07/pr/netdev/rem_default_tell_opts

Conversation

@bergzand
Copy link
Copy Markdown
Member

@bergzand bergzand commented Jul 18, 2018

Backport of #9577

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).

  • GNRC
    • cc2420
    • at86rf2xx
    • kw2xrf
    • mrf24j40
  • LwIP
  • emb6
  • openthread

@miri64 Did I miss a network stack that uses one of the modified 802.15.4 radios in this list?

@bergzand bergzand added Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation Area: drivers Area: Device drivers Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 18, 2018
@bergzand bergzand requested a review from PeterKietzmann July 18, 2018 15:34
@bergzand
Copy link
Copy Markdown
Member Author

Should be retested before merging

@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 19, 2018
@PeterKietzmann
Copy link
Copy Markdown
Member

I've re-tested everything except openthread

@PeterKietzmann
Copy link
Copy Markdown
Member

@jia200x mind to check openthread again?

@jia200x
Copy link
Copy Markdown
Member

jia200x commented Jul 23, 2018

@bergzand @PeterKietzmann I confirm OpenThread is working (tested via IotLAB)

@PeterKietzmann
Copy link
Copy Markdown
Member

@bergzand please rebase

@bergzand
Copy link
Copy Markdown
Member Author

@PeterKietzmann I was thinking of pushing the fixes from #9606 directly onto this backport PR. The commits from that PR fix some issues with the original version of this PR.

We can also build a separate backport PR for those fixes, but I prefer to bundle them with this PR for the backport

@PeterKietzmann
Copy link
Copy Markdown
Member

@cladmi here is your ping. Please guide @bergzand how to proceed for the release.

@cladmi
Copy link
Copy Markdown
Contributor

cladmi commented Aug 1, 2018

Yes please someone, @bergzand or @PeterKietzmann push the fixes from #9606 here.
I will then update the PR description to say it's both PRs together for future read.

@PeterKietzmann
Copy link
Copy Markdown
Member

I don't know how I can push to this PR so I opened #9679 instead.

PeterKietzmann added a commit that referenced this pull request Aug 2, 2018
gnrc_netif & radios: event reporting flags  [backport 2018.07] for #9601 #9606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants