]> 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)
commit3ed69f60bd533d30268d39f519559ea5bc8a5723
tree3e3c221bf7a54ed2f1ce7a16f7540b3b05ee0614
parent987b8aaee129f4b7a501caa5a84e7f2b3b80a0f2
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