diff options
author | Thomas Pedersen <thomas@adapt-ip.com> | 2020-09-08 22:03:02 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-09-18 13:27:27 +0300 |
commit | 37050e3ab0b3f02819e3d70ab01d97addb810b28 (patch) | |
tree | bb8e5e6433ef343656048767612817c2b1bf6dd7 /net | |
parent | 4b7afb52c8e2b4bf0d72a8f0bfe9024ff7391c5c (diff) | |
download | linux-37050e3ab0b3f02819e3d70ab01d97addb810b28.tar.xz |
ieee80211: redefine S1G bits with GENMASK
The S1G capability fields were defined by ORing BITS()
together, and expecting a custom macro to use the _SHIFT
definitions. Use the Linux kernel GENMASK for the
definitions now, and FIELD_{GET,PREP} to access the fields
in the future.
Take the chance to rename eg. S1G_CAPAB_B0 to the more
compact S1G_CAP0.
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200908190323.15814-2-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions