summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-06-27 11:58:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-16 10:11:02 +0200
commitc60ab146fa9e99c52f2a5bbc2193241d4272e67c (patch)
tree57ac48b6be75f771b0c9806172ae68fdfcdad886 /include
parent7744a5521d24bbed1c737bbf711c331fd3a2242c (diff)
downloadlinux-stable-c60ab146fa9e99c52f2a5bbc2193241d4272e67c.tar.gz
linux-stable-c60ab146fa9e99c52f2a5bbc2193241d4272e67c.tar.bz2
linux-stable-c60ab146fa9e99c52f2a5bbc2193241d4272e67c.zip
nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN
[ Upstream commit 5edaac063bbf1267260ad2a5b9bb803399343e58 ] NL80211_HE_MAX_CAPABILITY_LEN has changed between D2.0 and D4.0. It is now MAC (6) + PHY (11) + MCS (12) + PPE (25) = 54. Signed-off-by: John Crispin <john@phrozen.org> Link: https://lore.kernel.org/r/20190627095832.19445-1-john@phrozen.org Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nl80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 6f09d1500960..70da1c6cdd07 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -2844,7 +2844,7 @@ enum nl80211_attrs {
#define NL80211_HT_CAPABILITY_LEN 26
#define NL80211_VHT_CAPABILITY_LEN 12
#define NL80211_HE_MIN_CAPABILITY_LEN 16
-#define NL80211_HE_MAX_CAPABILITY_LEN 51
+#define NL80211_HE_MAX_CAPABILITY_LEN 54
#define NL80211_MAX_NR_CIPHER_SUITES 5
#define NL80211_MAX_NR_AKM_SUITES 2