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)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:39:41 +0000 (11:39 +0100)
commit6b4e9e893156da326a0071b29c0f0fc311c62932
tree5722927a50ff2596106da812c61c1f6936a7249d
parentbe489ec978d761dc9e9e338f6139b9bc6bd54611
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h