Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp770163rwb; Wed, 26 Jul 2023 02:34:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFsiDUQ4Mcg0mMTUvsbVw8qvvFFfI23NmJV9nvfxN//B+fJ7csCNt2yddAF2QO5cnHJtpVN X-Received: by 2002:a05:6358:5e08:b0:131:127d:4b59 with SMTP id q8-20020a0563585e0800b00131127d4b59mr1369356rwn.23.1690364041603; Wed, 26 Jul 2023 02:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690364041; cv=none; d=google.com; s=arc-20160816; b=fj2SaazZPUfwlpzxnRMP4Qew2Gm+IPU+D8PvWsNEZAkMaguiuTTV0RWWQhHa3WUjCB 7cRWbvh1zUSXWshx7tBAANdQw6Y0NKUyYVrbdhJO5ZOKUsw3vQy6PkoywcXp0K7vL3M2 xTCsCFETr9C/caK8gWM7SB9VQDURXs8/RR8jUhDPFEnnffIEj30GUgkN7a+24WY685xn QBA7c/WSAwG6IanhHc0gIasKpdciOY+GJVnGNp9UAkZhVAJBfEnarbUUJkp9RgoVm5Z9 2yhpXKJmbmR9K+GrNiNtM7DO6DskjDV11Hh6Bxlb7QgNd0cQSiu3fmiWuIu0u7gi61ut nq3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=Kl3HRylIR690JlMAF639v5y5CjyG9sHXaRM30YQP/LI=; fh=MXiEBe39BGvQr4EuIas3ehfmU9VgJUgKUy4wMy7Qjj8=; b=Fr0qRfkEW8U1R2Kb100pv0ent3oROt/vnvZYUuB1ImRt2owZKFt+nJCkjobQchxYYt K4QDwDE+oAimwkRy//7nyXhYZ8r97yuEWyF4MPBZ/JZ21Des1k0RwNi/X3Y3ZLxRciXM hlNJ+IrKj7YRJbtNFGmwuwTqIi//Ik6PgRTbNGUySJEEWTXqn5P9G2zuKj4/60rq1LCr sxhi55JeNkEkcnT/28/hFvq2fU5yC4chmYANIik2fq9fkJu6eB1NBD1qBu/KksUXudmu RJXXWQlRhcFkOIp/G8Eo9WoonrGj+bd2KUbwdCgwQ9y7oQuUNGPOjL2GUMy94uQCDvH2 Ublg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=g7HysjqA; 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 s28-20020a63525c000000b005321c340960si12242576pgl.811.2023.07.26.02.33.52; Wed, 26 Jul 2023 02:34:01 -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=g7HysjqA; 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 S232489AbjGZJUt (ORCPT + 58 others); Wed, 26 Jul 2023 05:20:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbjGZJUd (ORCPT ); Wed, 26 Jul 2023 05:20:33 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1476E12C for ; Wed, 26 Jul 2023 02:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Kl3HRylIR690JlMAF639v5y5CjyG9sHXaRM30YQP/LI=; b=g7HysjqAs4dqBf93tyJ7pe6mlt oAPkolXNc17FVnfMB/Z0qDHwhQ1jGGMkRXeZUHO9dL+CkAYQuagMkzIZXoqZ++8Ut6d1YWRO7czc9 VI6l/lOkFDhJQVbVwqgIGOMrnLgnOpzPJnNOSp/Ako2l1+PcKQVMux8W7EJgYTB6nRB0=; Received: from p4ff134dd.dip0.t-ipconnect.de ([79.241.52.221] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from ) id 1qOadt-001nWM-BO for linux-wireless@vger.kernel.org; Wed, 26 Jul 2023 11:17:13 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 1/3] wifi: mt76: mt7915: remove VHT160 capability on MT7915 Date: Wed, 26 Jul 2023 11:17:02 +0200 Message-ID: <20230726091704.25795-1-nbd@nbd.name> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 The IEEE80211_VHT_CAP_EXT_NSS_BW value already indicates support for half-NSS 160 MHz support, so it is wrong to also advertise full 160 MHz support. Fixes: c2f73eacee3b ("wifi: mt76: mt7915: add back 160MHz channel width support for MT7915") Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7915/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/init.c b/drivers/net/wireless/mediatek/mt76/mt7915/init.c index ee976657bfc3..78552f10b377 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/init.c @@ -414,7 +414,6 @@ mt7915_init_wiphy(struct mt7915_phy *phy) if (!dev->dbdc_support) vht_cap->cap |= IEEE80211_VHT_CAP_SHORT_GI_160 | - IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | FIELD_PREP(IEEE80211_VHT_CAP_EXT_NSS_BW_MASK, 1); } else { vht_cap->cap |= -- 2.41.0