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)
commit821273a5a502eebaae005557907d122d1e9b7b98
tree3e3c221bf7a54ed2f1ce7a16f7540b3b05ee0614
parent372b38ea5911fc2500f0291b00140e80a26c0e36
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