-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
wireless/80211: update the 80211 header #5755
Conversation
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.
This update is quite strange to me because many of structures that are in Linux header file (pointed in PR description) have __packed
attribute while similar named structures i this PR are not equipped with packed
.
54cb998
to
22928a5
Compare
We cannot have a GPL header from Linux that has just been reformatted and had the Apache header slapped on it. Unless I am not understanding correctly this needs to be deleted ASAP. |
The original file is introduced in:
So there is no problem with that. The issue is only about adding the changes from GPL taken as a source |
@btashton in my understanding those definitions come from the standard and were implemented in linux. We will have the same definitions from the same standard even if we do not take them from the linux header. I think that we should filter out if there is something specific to linux in this header. |
@pkarashchenko here is an example of BSD header |
Ok. I will take a look into BSD variant ASAP |
@jerpelea @xiaoxiang781216 @anchao |
Seems like initial file was taken from OpenBSD http://fxr.watson.org/fxr/source/net80211/ieee80211.h?v=OPENBSD |
@pkarashchenko I updated ieee80211.h from freebsd, please review again. |
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.
Only one major comment about missing end_packed_struct
. Other are minor style. In general LGTM
Upstream from: https://github.com/freebsd/freebsd-src/blob/main/sys/net80211/ieee80211.h Signed-off-by: chao.an <anchao@xiaomi.com>
All addressed! Thank you! |
macOS ci always fail to "wget --quiet https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin.tar.gz". |
Summary
wireless/80211: update the 80211 header
Upstream from:
https://github.com/freebsd/freebsd-src/blob/main/sys/net80211/ieee80211.h
Signed-off-by: chao.an anchao@xiaomi.com
Impact
N/A
Testing
CI-check