Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10574244rwp; Fri, 21 Jul 2023 01:07:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHCRMvHDpWsV88ONfFk0KdL3S87p8i1kAViqGOD3qz8Ij3r5iQJCq3pVHfGsiiflB7KEml+ X-Received: by 2002:a17:907:a06b:b0:994:1eb4:6896 with SMTP id ia11-20020a170907a06b00b009941eb46896mr1343075ejc.25.1689926828229; Fri, 21 Jul 2023 01:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689926828; cv=none; d=google.com; s=arc-20160816; b=PwmFZq5eCGWHkoVztVSZq+J5HSaHY8ti6WOVkEH61CZmRmtceH3wrmFSZJrbzwEC5J eH1zupjn9tV01oZsWx50kxaoRFJLG79u749x+SfP7hC3LVHpL4+2Q3o7raLKXp/xA/4m D2GFQm9mWepdx5ctHAvlkZ8X3vK3rC++Pn0XqMlN0FzKXxgLoE7d36k3Cs6HsxCp7f9d Ix+4jN1D2uQ89cmRa6FtxkSsTpxDVvSnKwOFD/coPDHHhLTG+2HkWrrb2so17iicsdSv uanr7x4vtZ/Vj79DMD8rODtZZ/Bij0RwO9JnBf+q+jTNavngSZGHyWqeoal0agg2oYLj dJ9Q== 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:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=5aObg4Rh5qEJeJ8tTIo3XUeRpbH8XsDqwD/4y5QHoas=; fh=FYq7jsxf3xxbhaS3RHAAqOhkrXDBfmuWSUQ8SumnMBk=; b=ezC/OejzE0tjygsPYvTpW9Y3buU/52/xIuitmIFQLOh6lwukMDaOrt/zxWmwUyuNsh Kp4M7S9WeINMaFhsIHkgXXTOFNoUa5wj9AEiioM7ePmmR1tOOZqF+kL+I1j0PaiB7WRX 9tM8jTT395qF7mdluiU31xTO1SW618rU3nl4IHoyVPh7w7s5+2Naeu1d+By/kOA+5l6M PNAWZjis14EqvxrCQvgqDRwtrVqElPIJhJmqN9HkTgXB1ow6k0u1sG+OwYC49DVnzfb1 fZxf5bX+BWt4PsbdLZJp+yu+kJ8k2UPkqb/hSuve8jPgLJMlG8/ow7Bay00SX1LCZK9u eBUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=ePWcXIwz; 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 c12-20020a170906694c00b0099399ac6fdesi1954834ejs.79.2023.07.21.01.06.44; Fri, 21 Jul 2023 01:07:08 -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=ePWcXIwz; 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 S231252AbjGUIEM (ORCPT + 58 others); Fri, 21 Jul 2023 04:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbjGUIEL (ORCPT ); Fri, 21 Jul 2023 04:04:11 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 831E82706; Fri, 21 Jul 2023 01:04:10 -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=5aObg4Rh5qEJeJ8tTIo3XUeRpbH8XsDqwD/4y5QHoas=; b=ePWcXIwzt+RNEgOZKYQH8qXMiO 4KnaWZdeCy3jTxoOndr8CECc1s7RsE20nrWnYyEWsLK1Eoz3t6kNLKxugTA4+YRjIlGMIE6Fp2lKa mq1kKxzsPU6Etd6cMHVyPiVEIIh8fMIOSWOTE1E4+22B8nb7SBKr9t2A9iFHBY67HgJU=; Received: from [217.114.218.24] (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 1qMl78-003Cex-6Z; Fri, 21 Jul 2023 10:03:50 +0200 Message-ID: <00a2f5ba-7f46-641c-2c0e-e8ecb1356df8@nbd.name> Date: Fri, 21 Jul 2023 10:03:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC) To: Paul Fertser , linux-wireless@vger.kernel.org Cc: Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Rani Hod , stable@vger.kernel.org References: <20230605073408.8699-1-fercerpav@gmail.com> Content-Language: en-US From: Felix Fietkau Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7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4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN In-Reply-To: <20230605073408.8699-1-fercerpav@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 On 05.06.23 09:34, Paul Fertser wrote: > On DBDC devices the first (internal) phy is only capable of using > 2.4 GHz band, and the 5 GHz band is exposed via a separate phy object, > so avoid the false advertising. > > Reported-by: Rani Hod > Closes: https://github.com/openwrt/openwrt/pull/12361 > Fixes: 7660a1bd0c22 ("mt76: mt7615: register ext_phy if DBDC is detected") > Cc: stable@vger.kernel.org > Signed-off-by: Paul Fertser Acked-by: Felix Fietkau Jakub, could you please pick this one up for 6.5? Thanks, - Felix