Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1067972ybl; Wed, 14 Aug 2019 10:11:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9jwvOM9nZBL+vG6pQl5Bv3fNucGbuoB6rwgCbEyNUm3AhKVZqL+UVyzvkvN4/QpCkwd/E X-Received: by 2002:a17:902:2ae8:: with SMTP id j95mr390208plb.276.1565802668527; Wed, 14 Aug 2019 10:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802668; cv=none; d=google.com; s=arc-20160816; b=v9Ghu1AYS9zkxCKG0AwGEJyqV2a1cQiehEdeHxNRdGyTQbFzEsm7GwfvLnLGHU51UH UsdCGsSWP5ptlyUe2nVrOQ/QDSdbdiKjRsq1FX+mvliNFtugLfofmCMHfYZ5/NMVlVzI jSR7W6YnbXF16N5oTS2m8MpHWZsqRY2jH4fn+HaT/wIpqjNgn++jAhna+J1eO2TZHNKV mxzw2K2/xa91nn/leaLU/Sskus5SUM3pSoC94o/BsHQwHt3ol8Z3Log5afu3a+qUaWpY 5Ox8IKRF7yk84UXgwICF+5EUAcdTwmxGeAHX9BmKyoi2LuDUiLs//VU4SYoVvbEHIpgd u2NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qTPx59rhDUYxyQPhtLawh0hF65C4ym2qjFxsSbXmQdw=; b=p1oTGg+TUxNBElF6/YieiOY7T62/zcG87A+D1L6ZlN8D2fHnSCrAuhbWi67K0Pt6Ss 08u8+LJ5WHTsQjGYBrbco3PFdyDziMGlab0N3lrZLnEgTAhl8MO7qZBz1yy0aPVCSoxV Sz++++XuHMg/bDht4LtUffTeiDs8W4HLDyxUry21zO++pfIwUjyCnfiAm0nyV+EDAlB0 jRK1Py5MAZKHnJUB1FQDfQNicnFuZFh7FILmoVaRwGi5te7e67zaVzkyxJGh/iak+STX nomcQPnJVIqQOtCAMedFcMXopee1VI1RalJ2BQq7AggqWz/nRPu6NrDSLYNSLUHKnm6p PDuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LvOo1bTp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si58797pfd.259.2019.08.14.10.10.52; Wed, 14 Aug 2019 10:11:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LvOo1bTp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730428AbfHNRKJ (ORCPT + 99 others); Wed, 14 Aug 2019 13:10:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:60676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730421AbfHNRKB (ORCPT ); Wed, 14 Aug 2019 13:10:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 22036208C2; Wed, 14 Aug 2019 17:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802600; bh=HuRxaVhQ9x52rb/15XzzPx24nCvuKaL4i2x0kerzk+Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LvOo1bTp74hJEfHp4lZM1jrrndUvtywfHWGIywpoAP+J+vwCUiUtdHhITZ4DwXTeC xX0VPijKun8WcU3LHf/se/HKeYvW8zSr6h6b2Tq1+MEeFusa53c7xAPqbs6H7gtVhW SnXeUMwoYU2T/9sTmsM2+jiQERL/+ousHMLFdIzE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John Crispin , Johannes Berg , Sasha Levin Subject: [PATCH 4.19 45/91] nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN Date: Wed, 14 Aug 2019 19:01:08 +0200 Message-Id: <20190814165751.526332664@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ 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 Link: https://lore.kernel.org/r/20190627095832.19445-1-john@phrozen.org Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- include/uapi/linux/nl80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 7acc16f349427..fa43dd5a7b3dc 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -2732,7 +2732,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 -- 2.20.1