]> git.baikalelectronics.ru Git - kernel.git/commit
ieee80211: add code to obtain and parse 6 GHz operation field
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 May 2020 19:34:27 +0000 (21:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 31 May 2020 09:26:15 +0000 (11:26 +0200)
commit9eb32135c34cb2706ea629683af2ce6147b5aaec
tree3e3c221bf7a54ed2f1ce7a16f7540b3b05ee0614
parente26a19dc94084944ac1ba6ed04473aa3fbfaa04f
ieee80211: add code to obtain and parse 6 GHz operation field

Add some code to obtain and parse the 6 GHz operation field
inside the HE operation element.

While at it, fix the required length using sizeof() the new
struct, which is 5 instead of 4 now.

Link: https://lore.kernel.org/r/20200528213443.42ca72c45ca9.Id74bc1b03da9ea6574f9bc70deeb60dfc1634359@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h