Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1869139ybd; Thu, 27 Jun 2019 03:00:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDsi66p1UXmk7KqfMomuvFF9EEPNgyqbkAo1jTo1TBjUPpoDb/RwaFw+8x1x0EP8FTUMF3 X-Received: by 2002:a63:78c3:: with SMTP id t186mr3061881pgc.340.1561629635479; Thu, 27 Jun 2019 03:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561629635; cv=none; d=google.com; s=arc-20160816; b=ZjkTnzNureMesbFyyemUKj7iFH53pftpxNkMoqQu27drX7pHUzctC67KWbHv1xuRkM 3aeabwol0/OdfdfrYRh2PsRO0zxEE/DXKJdZywSSN9wqxApEnwPbqCiva6Le7SYEXZ51 1p8EjUDi+suHyNkw7z+rRvLYzDbAV/Ha6TjohChwWbgPB5onmOEppqzIz3MB0esPZKmg fzSS17kQT3xwygScrdII7V1QI9ACqXBeaWIhoDjslwD5t3bYMnu8l5chOr7AYzr2ub8Y 7+2+OltworSMXIbXCDadjihRaACfS2/1lCcEftNbYpk8LfUWNnfVsrgpbQE6wPuS8zvS i9ig== 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 :message-id:date:subject:cc:to:from; bh=m+pl5pISR12BrvC4soyXBtl72G1te6D9WnDRiW1Dts0=; b=wDpHzJ0ZFaPM1He07n80be+LsGouRaJViBXZgDufQ9oOa3CUv3teoIdrmRW5A0KC0+ 9KgIyVzoz+MMFwgN6stJh6pnwUEPcRzphyI1wcUwWNArGeuLQtNRKQFEWbdxIu1kQNQv xoPYVYNQhF3poPGRv5FrvRHa42eYySWELZVZW3y1GJ0fJU1n8XSWZrcIieIaFBIg9Lgi t3EKrL6PPyweLDBHpZlAlaWQg+utf5CwyouLOW5iVM/2VRXiG9ANuFAIUPPybj1qZTQl 4YAExIb2bW9aENJp4lTo9ofu8WkiXzJ1LPp8Rkci52ypS2NkVw/CXLgiEGTuXYHYIEDq Q+5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 m5si1902986plt.167.2019.06.27.03.00.17; Thu, 27 Jun 2019 03:00:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbfF0J6l (ORCPT + 99 others); Thu, 27 Jun 2019 05:58:41 -0400 Received: from nbd.name ([46.4.11.11]:44908 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbfF0J6l (ORCPT ); Thu, 27 Jun 2019 05:58:41 -0400 Received: from pd95fd902.dip0.t-ipconnect.de ([217.95.217.2] helo=bertha.datto.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hgRAt-0002NF-5S; Thu, 27 Jun 2019 11:58:39 +0200 From: John Crispin To: Johannes Berg Cc: linux-wireless@vger.kernel.org, John Crispin Subject: [PATCH] nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN Date: Thu, 27 Jun 2019 11:58:32 +0200 Message-Id: <20190627095832.19445-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 --- 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 68ee35cbd75e..ceae54ea0ddf 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -2868,7 +2868,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