Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2554461pxb; Sun, 24 Apr 2022 18:50:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUw5HUs5VmP+3SAL5Nag/xj5UxU3pM/QCnRsG/EU3Ai4SORT9q+eJ06Uf8q6oZV8FDsO54 X-Received: by 2002:a17:907:7f1c:b0:6eb:c702:7f4e with SMTP id qf28-20020a1709077f1c00b006ebc7027f4emr14148145ejc.496.1650851441339; Sun, 24 Apr 2022 18:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650851441; cv=none; d=google.com; s=arc-20160816; b=vsSdJ4qgpzPVraBJ7H9KLJd0LunxzcTSCnF4cI5WpMJMJvIgC+DCYJH6uLkPs9nkKO A4XMWGF/NC9wPIMqE5QwfyhKrt+yJNM/eYMjLhR2xmMMf912WG7QPL7HFvxNxRKRLwhQ rVA+UoNWid8ER7E/DJAx1UF5lg772EfkScqMYVnUz9/aHj1f+DxhrCp25Ayq2n27+aCA pJN2xU2iSMKpzMgDqyTAb3EyPpGdc3Ip0hI+eiqeRNwJljU/mDgwyckBeXu6DVf1W0rl rJss4+CS//p2z3pPPOymVyclFut9XysbIoDZOpl2s/yUWBNwuVAALIYq7KcIEYbGxB7O 9vig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BpAGnTX3cRjgnnULh2igVvCZe9Ph4m0kRJX8wZHboPs=; b=cLV5wr9lOFlTZNVtwOU6K080+qyLYDSBTMW+9qKn83YcL4JM71jGtSPgOIHxsYVSNj XGxF4UqvGGa+0n71z1/UlnFkZHlWruDfWUdyM/K8DPa9oc/izPrmd7KYik7Chy7ADBXi 96sRzNV2ybK30hKkqQRB34nNX9ra2juV0fSPd6sgsH6JDSHX2SiLwm6HKmd5VSq0a0m/ +9qXYiaSsFfDbJG6YT4q5LcIUh0jsyOWyaTPycHNDe9Z2saszaAFGC3ioQPFRv4HFV7Z z13bBg7j09tUp3+IqxHsadqiqMr9+mG+BKOF/tSVB/zXYip49i7fdwblU8Lx181SMmmO ZPLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OjepdWkx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a056402320b00b00425ed902ba4si543903eda.373.2022.04.24.18.50.16; Sun, 24 Apr 2022 18:50:41 -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=pass header.i=@lunn.ch header.s=20171124 header.b=OjepdWkx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239727AbiDXWIJ (ORCPT + 67 others); Sun, 24 Apr 2022 18:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234833AbiDXWII (ORCPT ); Sun, 24 Apr 2022 18:08:08 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD78B66; Sun, 24 Apr 2022 15:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=BpAGnTX3cRjgnnULh2igVvCZe9Ph4m0kRJX8wZHboPs=; b=OjepdWkxMDhQkjCYvK5WcLdOD7 plwpZj68/QrAIacyZeRmOYPusW3y90m2LobTaSBsKZHuM3NUZQZQza+tYV7A+PhKr49OdDFOTXCph 0oMxEtWZ+B9HnVXGzKwcnlOdHl166Oy3eyr5tztbOEasY4wqHA8VTuR7X12xFFg3JLgE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nikLg-00HJQn-Sw; Mon, 25 Apr 2022 00:04:56 +0200 Date: Mon, 25 Apr 2022 00:04:56 +0200 From: Andrew Lunn To: Hermes Zhang Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , "David S. Miller" , Jakub Kicinski , Paolo Abeni , kernel@axis.com, Hermes Zhang , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] brcmfmac: of: introduce new property to allow disable PNO Message-ID: References: <20220424022224.3609950-1-chenhui.zhang@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220424022224.3609950-1-chenhui.zhang@axis.com> 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_PASS,SPF_PASS, 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 Sun, Apr 24, 2022 at 10:22:24AM +0800, Hermes Zhang wrote: > From: Hermes Zhang > > Some versions of the Broadcom firmware for this chip seem to hang > if the PNO feature is enabled when connecting to a dummy or > non-existent AP. > Add a new property to allow the disabling of PNO for devices with > this specific firmware. If you know the specific version of the firmware which is broken, why do you need a DT property? Why not just check the firmware version and disable it automatically? It does not seem like you are describing hardware here, which is what DT is for. Andrew