-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
at86rf2xx: Move flags from netdev to radio #9581
Conversation
The flags from the ieee802154 struct are only used in the radio code. there is no advantage of having them in the netdev_ieee802154_t struct if the flags are defined differently per radio driver.
This changes the default flags enabled for the radio ( |
@bergzand I tested and according to |
because AUTOACK is enable on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense to move driver/device specific flags, ACK
Green lights @smlng! |
@bergzand question: what was |
@smlng Looking at changes from a long time ago, this was from when part of what is now handled in netif. I would say similar to the current |
Contribution description
The flags from the ieee802154 struct are only used in the radio code, there is no advantage of having make sense to have them in the netdev struct if their meaning is different per radio driver.
Also fixes a bug where (un)setting the
AUTOACK
flag would (un)set theACK_REQ
flag.Issues/PRs references
Minor cleanup preparing for #7736
Similar PRs are required for the other radio drivers using flags.