From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DB04C433FF for ; Wed, 14 Aug 2019 17:05:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 014EB208C2 for ; Wed, 14 Aug 2019 17:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802317; bh=U3ubx853wfj/JZfQoe4KRpknfVrDdmgtYqpot3dMBm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kYO+s+tA69LTCOdI8HUVEwrCghR/kietHqIQe91Q0FQ1hnABqiVqY3nch4YHuRKqQ KJNOIoqV5olQeck2PRUFKGKLhKseFVGeKzt6IRb52oOlCV3LbLDtn3bai2Lv8QI3yk 91L1JIVKcf/LNPYzyyGYRjYXtNXH+b9FjXXM2jRY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729400AbfHNRFP (ORCPT ); Wed, 14 Aug 2019 13:05:15 -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