Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2879488rdb; Fri, 22 Sep 2023 10:46:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFeir1whjIxXrnRpl3LL298Rb8/qQUHsgamlMa5MLgHWly3soHUliXuQ8Cp+zeVsYjZPe16 X-Received: by 2002:a05:6a00:1a8d:b0:68f:b3ed:7d56 with SMTP id e13-20020a056a001a8d00b0068fb3ed7d56mr98926pfv.34.1695404772171; Fri, 22 Sep 2023 10:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695404772; cv=none; d=google.com; s=arc-20160816; b=XY37d8EbFWn1K2Hfhf2JkCSqyNy1hif5NiitVQirJdpU0q+CJRHrZbNIQrNK9ikpEQ QI6k3b+XJVUcRHzamaIzjzoRAXSrdfpHrahx9yaZg7z5snMywChpj1mrTc8UkjwQAzqF 7WhWvOx62RYUEX4hHIlWq9R7eDt+AYdjbIe/C+gDugWgfdKRJj0OdmYc8MLApCD3fIn7 90di2YqCyERXNKewiC0Ylzka42fsuUb5+ATgjkSH1tXKCbfujbHlu10J/1DazILKMxuV kvl47BqTf86IJQ+7UyLA67Fk0uKSe6iqE6Fo0uUCLFL3CLzxHcwHv8gy+Bi9g2TQ+E1T XhPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=CBBr2jfDzLMCIhDU0Px248rD/FOXEfErM7/x99M3aDM=; fh=cO/5bJ9ojQ5zL4HWDQ3f3n7+kszHl9NdL8/Xz+fvDY0=; b=cQYdMwpawIjDCOnugf0qRoTGWCKHxD1lyO+6hvrCwPDLF8eSC2VV46DSC8/PhrNjjU Z9dmHT3a7AFCH0A7kAZ7Bu3qB/ohsc+em8kZtKrl0IQyYAXJZTetRKc489PRKFbqqWrQ a8qsCL7YMahjV+bGGLsnWeV9ZSzwxzUNb5nhAqVRJftuOsEDDrhOqPrTcA5rP0ZGHpWl Xww7aKUPDV/Vv1vmfTTHTnXfgVVPDaIfYbh+uzKSuMdRLAlZmA+p3qHJRfIvsayVGNI1 n9gg+ldiG7qWGOZWofMBlPF084vvzmFvqQX0TzIyggBn/qtPESAXzAHITZbw8EXV9s5Y VOdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=GLaqSqG4; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t24-20020aa79398000000b00690228b1d45si3882446pfe.342.2023.09.22.10.46.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 10:46:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=GLaqSqG4; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 95D8B83470DE; Thu, 21 Sep 2023 15:26:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233335AbjIUW0O (ORCPT + 56 others); Thu, 21 Sep 2023 18:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233059AbjIUWZg (ORCPT ); Thu, 21 Sep 2023 18:25:36 -0400 X-Greylist: delayed 3334 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 21 Sep 2023 10:59:07 PDT Received: from vulcan.natalenko.name (vulcan.natalenko.name [104.207.131.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90313A59C5; Thu, 21 Sep 2023 10:59:06 -0700 (PDT) Received: from spock.localnet (unknown [94.142.239.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 206D3150AC2D; Thu, 21 Sep 2023 07:02:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1695272574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CBBr2jfDzLMCIhDU0Px248rD/FOXEfErM7/x99M3aDM=; b=GLaqSqG4vq2RFzSGUNB2nPqN50JbIQHga5A+ZnDQ/pAvQdCnf1TdR4oZPjneXPUjbkJssh NewB0E7ctuCiZaYC0f+Mvif8TAXhgY7vzca3GrvyUJrzFGCXj0rSgdp1M/dhyYwQerXSyJ dqRjguWNaJQwTrl8VyJBhSwjfIudnJs= From: Oleksandr Natalenko To: linux-wireless@vger.kernel.org Cc: Felix Fietkau , Sasha Levin , Greg Kroah-Hartman , stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] wifi: mt76: mt7915: remove VHT160 capability on MT7915 Date: Thu, 21 Sep 2023 07:02:41 +0200 Message-ID: <12289744.O9o76ZdvQC@natalenko.name> In-Reply-To: <20230726091704.25795-1-nbd@nbd.name> References: <20230726091704.25795-1-nbd@nbd.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5713149.DvuYhMxLoT"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 21 Sep 2023 15:26:16 -0700 (PDT) --nextPart5713149.DvuYhMxLoT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Oleksandr Natalenko To: linux-wireless@vger.kernel.org Date: Thu, 21 Sep 2023 07:02:41 +0200 Message-ID: <12289744.O9o76ZdvQC@natalenko.name> In-Reply-To: <20230726091704.25795-1-nbd@nbd.name> References: <20230726091704.25795-1-nbd@nbd.name> MIME-Version: 1.0 Hello Felix. On st=C5=99eda 26. =C4=8Dervence 2023 11:17:02 CEST Felix Fietkau wrote: > The IEEE80211_VHT_CAP_EXT_NSS_BW value already indicates support for half= =2DNSS > 160 MHz support, so it is wrong to also advertise full 160 MHz support. >=20 > Fixes: c2f73eacee3b ("wifi: mt76: mt7915: add back 160MHz channel width s= upport for MT7915") > Signed-off-by: Felix Fietkau > --- > drivers/net/wireless/mediatek/mt76/mt7915/init.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/init.c b/drivers/n= et/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 |=3D > 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 |=3D >=20 =46or some reason this got backported into the stable kernel: ``` $ git log --oneline v6.5.2..v6.5.4 -- drivers/net/wireless/mediatek/mt76/mt= 7915/ c43017fbebcc3 wifi: mt76: mt7915: fix power-limits while chan_switch edb1afe042c74 wifi: mt76: mt7915: fix tlv length of mt7915_mcu_get_chan_mib= _info 9ec0dec0baea3 wifi: mt76: mt7915: remove VHT160 capability on MT7915 0e61f73e6ebc0 wifi: mt76: mt7915: fix capabilities in non-AP mode 6bce28ce28390 wifi: mt76: mt7915: fix command timeout in AP stop period 7af917d4864c6 wifi: mt76: mt7915: rework tx bytes counting when WED is acti= ve feae00c6468ce wifi: mt76: mt7915: rework tx packets counting when WED is ac= tive 70bbcc4ad6544 wifi: mt76: mt7915: fix background radar event being blocked ``` and this broke my mt7915-based AP. However, if I remove `[VT160]` capability from the hostapd config, things g= o back to normal. It does seem that 160 MHz still works even. Is this expected? Please check. Thanks. =2D-=20 Oleksandr Natalenko (post-factum) --nextPart5713149.DvuYhMxLoT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZUOOw5ESFLHZZtOKil/iNcg8M0sFAmULznEACgkQil/iNcg8 M0vrVxAAr2A2S5y3K3KZCf6eC4XHPkTxvLb/VNZfY4NVE+mHkgFZU9lFxYIw5D6y XxfukONRVtusbi5M2gHCGPQEpNCAeSr2P9P/v8KRaYOoT54lrOvQquyliuoujuYC jeO2XtIJUWxIpz5+BoXYrroD7z5k9sHIXf/xDuAmHa2IGy/bpU6yYb1V+dwEvzbi 43QoscmGzjAbZvrZiufetU3hUq4/oyZycwdUDK0/9cbEliQ8NkM6JiTFBQylgnmP NI2iy0SZlHVcf/AWgps6TZwx3Frb12OvNAmnGWga2axpkXRm5pPkFEjxOreLteps uSFcV12ZmTEsaHsAQOd+demq75/H3f9tJPMy1gz06oixO/3k9tUpdxVNiFgOuyg9 iKGUWTb5ETjufpJe6dpnnuhpHU2i+npAgs0tf8gVux/DZncvYbaYxb6iEIefwfXk yUENnOzfud2aEFM/WJ8W9B8X+qGzsJD17YKV0VYKi0M6BQRdGFKP82EWAoTizTPj 0oSswygE9pf9ApswpOm0kq+3/iywejIchCNNjNFxvlrIMZCTtUSBeoUdNGitzcjE 7qOtBUpB5TikczCJt5ut4R9i51xCRrRi681XGx89zepc42DwpSj5qkORYOkGtWap e8C01yUtMwdenAIJBYikBhNLtilZYg6epSuf7HhpGcn7fQDXwTM= =VAkp -----END PGP SIGNATURE----- --nextPart5713149.DvuYhMxLoT--