Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2680794rwl; Mon, 27 Mar 2023 03:56:36 -0700 (PDT) X-Google-Smtp-Source: AKy350Zc+XaG1/Tj1OOjfU1iaLDDfiF1ac3VjDWuBmU/O24RCMR5CSFZMlU7pkbcyhSozF/UmkIR X-Received: by 2002:a17:90a:1997:b0:234:b964:5708 with SMTP id 23-20020a17090a199700b00234b9645708mr12452581pji.5.1679914595908; Mon, 27 Mar 2023 03:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679914595; cv=none; d=google.com; s=arc-20160816; b=bqff32QL1wPmogZi2DSC2mO36aStbiha2jPqh3W9SlyvJrIMCXR2X8nO3Dt8UMxHcO Zd02G6HgYIfJqD2+uzf2kMW8lJzd67rxRfp6gFrIyYHSyI3vD++99cQXqOvQwENvJJrn +coJ6BiNcJyHQJqTb0rrjGSCP/SB0CrklSOTgJzJcqgCoVxKa/ltnkqpG+gU3ViC+MwJ N2l6+SVb5zyDvhiTHUMFVV1VtNXMo/Lrnj4qAiKgKcpsVXShfUBp46lGCIFXbAYblRuR d6PTBW63KF5Yk8vLGkcv1qg1Wp/MZ8hcCsQn+z9EW80RXqwr/PbBqoHMW6Zkb62TxpUd sXlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JJpWt9s21SkDzN868Ycl9scKYBZabhvtSuX4N4znx2I=; b=YsWe1Em8ph+VvggtBePUMJlTFDgECkeFg0Qe5+N4KN9K5PV72n2ZioeTO+YL1Vb3P8 ei3EGc3gsMR6gt/LDVBcYQhaOKUXstpqOgBM6kKu+Cq239s3eCtIXUiNeeRytjPr5PcN dp1w2KbJ6iw1NEdcqLPUxyXk0yJhUQPMLHLkVLrFbrn8CHMJ/ZjCqF9vFGCefV80Dqxq AMYX/bAHp548SMBLtiCqE8YBaCjivGkkKjXXc27UxX0/jAgQkf8AQI1VQF7uzANFvjPP p92dt8FQeKfaFOy4Tp1Ky4eXgVfwnSh1a7Kv/Lu/PfldQoAnEV73YvXIRZrcHYv52BPa OWGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="idn/xQ8T"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a17090acf0b00b002406d55224fsi4365881pju.178.2023.03.27.03.56.25; Mon, 27 Mar 2023 03:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="idn/xQ8T"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232391AbjC0KsA (ORCPT + 60 others); Mon, 27 Mar 2023 06:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbjC0Kr7 (ORCPT ); Mon, 27 Mar 2023 06:47:59 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2770AB5 for ; Mon, 27 Mar 2023 03:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JJpWt9s21SkDzN868Ycl9scKYBZabhvtSuX4N4znx2I=; b=idn/xQ8Tep2xKzfY9XGvXOygkX W/SF2/UmHZOvnurQK09hDdpGrIEcrmgAxQjh4bNL1nVrm15g3NwCKZvkoHGRiYXObHIrKNi94T1g+ LW5K92tB4qafZxRWPCM72gwmkgBKyAy+eVXvTST9xABzeTenVozQLPayktwJRcCm5qIM=; Received: from p54ae9730.dip0.t-ipconnect.de ([84.174.151.48] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pgkOH-007LUO-7z; Mon, 27 Mar 2023 12:47:53 +0200 Message-ID: <1da4680e-d7b9-dc17-0bff-3edfa046a357@nbd.name> Date: Mon, 27 Mar 2023 12:47:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] wifi: mac80211: enable EHT mesh support Content-Language: en-US To: Ryder Lee , Johannes Berg Cc: Shayne Chen , Evelyn Tsai , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org References: <6088d99492ce29f1075b3a22b2c2e5d010196e51.1679891359.git.ryder.lee@mediatek.com> From: Felix Fietkau In-Reply-To: <6088d99492ce29f1075b3a22b2c2e5d010196e51.1679891359.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 27.03.23 06:37, Ryder Lee wrote: > @@ -4903,7 +4974,7 @@ u8 ieee80211_ie_len_eht_cap(struct ieee80211_sub_if_data *sdata, u8 iftype) > &eht_cap->eht_cap_elem, > is_ap); > return 2 + 1 + > - sizeof(he_cap->he_cap_elem) + n + > + sizeof(eht_cap->eht_cap_elem) + n + > ieee80211_eht_ppe_size(eht_cap->eht_ppe_thres[0], > eht_cap->eht_cap_elem.phy_cap_info); > return 0; This looks like it should be a separate fix, right? - Felix