Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1084711ybl; Wed, 14 Aug 2019 10:26:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqydWyWBpBqZIhTJ6pNmqRilKfkIU0jII2iTeNScJHHhpKB7cxfPQJeRgToRG8gCCG6YZMbs X-Received: by 2002:a17:90a:19c2:: with SMTP id 2mr751234pjj.13.1565803606165; Wed, 14 Aug 2019 10:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803606; cv=none; d=google.com; s=arc-20160816; b=GYgNeVDX/GTWpeIPBttRZBcpDJB4D2K0DIP9zXRqs/B3TNIDU5F8Xl8wxHTEB4477L RqAqo0sh0TGq+Cgj9pJeNSAO30AmbHYV7It/WR9kE6Nf2CHmPLC+qTfe3CAnwd+V2nDB S+6GKVl+dV76HW2aW2kd05NDYQoP2b8kSTMJDsVCFJov8mvogn49NO53FeLfmgDphg1T tzAsXwdlYNWN4mvZy9JlQE94qELsYNZ8XyR3yEVEV17i/GOF3Yy/4UjfkOaahCJB2V/4 BYyujz1D4cIJ7dyDXehqkl+a8zLPzIQbXtvxIpy7wmLn8eufi6cvNoLDF0mAMhANlleJ ELGA== 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=N5zxXvD+AdGtqoFNxYtygTJJvfiaR/0Ykl2MAHxDN4Y=; b=mbacx2xHXGV1M0YnPhqoRNl06LHdRtCp3SKBFsj3x+SzWIbRMnR4eqoECtJkG8MAdP Ks7vmsfrvzkwIJEQJJCWZ6fMRJRpcSYwOVsbqFg3wQSF7/i6fYeQCLzKDxNdg+BAKeBi c/Cn+i5bfSUzyJmftANftYPx+so0hPIM9XhjZKt+zUU7BJTXYheMKODUATKYUcGuit6h 4OvNjm4RSk1z0yNID2E8v4wFAyjZYUleWp0mAIpGN7L+ZXcry3er9TtC6aif9G0gg7Dm hH1BB4zMOxvUyVDyjxN72LwB7oG8HMy3hNo+aghDplOU+5iieTbhhKvwXmgUBTtCMaA8 QE0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xyXKDvgQ; 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 o33si271959plb.408.2019.08.14.10.26.30; Wed, 14 Aug 2019 10:26:46 -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=xyXKDvgQ; 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 S1729396AbfHNRFO (ORCPT + 99 others); Wed, 14 Aug 2019 13:05:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:54054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbfHNRFK (ORCPT ); Wed, 14 Aug 2019 13:05:10 -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 3521F2084D; Wed, 14 Aug 2019 17:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802309; bh=U3ubx853wfj/JZfQoe4KRpknfVrDdmgtYqpot3dMBm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xyXKDvgQwnAhrjhgUZ+ijvpMI1pRCbXkUl1aliF7l5eyOkgqrJsuxOcOxdLPf8xJx YVgQVVH3BHfekHb+SvXCPQ4RWbjyIalpnAgtNAHx3aPZI/HvKzzvI5DbZKV48KDTo2 z1uhnMKxThZRWcyg5yB4Cuik3DJmU7guLqKwLlpc= 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 5.2 075/144] nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN Date: Wed, 14 Aug 2019 19:00:31 +0200 Message-Id: <20190814165802.991800221@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@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 6f09d1500960d..70da1c6cdd073 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 -- 2.20.1