From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE75FC433E0 for ; Tue, 19 May 2020 15:12:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0D8D20825 for ; Tue, 19 May 2020 15:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589901132; bh=em25szXdtZK2RR5pD26erJ6INoBREuJbq5qd9DHazRg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vyHP4WXR8k7IPG8MSeDRyN/W3MsdS8/r5Y+1ezGYNKOQ+PIFraf1M3ZemgBG4lWOk F7HKOAu37Ib8SrFFX7c/cq1PReExzd3bAMUco3i+67d6A5ls6gxANGu4mLBTrvw7ez 06S69NWqddYmGg80YD6ueQ3c1r9Fh8phuR+CWSuo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729218AbgESPMM (ORCPT ); Tue, 19 May 2020 11:12:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:60220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728775AbgESPML (ORCPT ); Tue, 19 May 2020 11:12:11 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB2FF207FB; Tue, 19 May 2020 15:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589901131; bh=em25szXdtZK2RR5pD26erJ6INoBREuJbq5qd9DHazRg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jiZiBdZ91SCPzYVRTVYwYgcAQzgd+eMvx4PGxt0aUOtzdH35lFvG+INCWrLeJ1k4k uxJBsSduXbkp77wAoHUWv9MGilOmh9MMzsDNld1lIHBiBsyrf25lLljOQpes9YDBGp t22aj/i7ZBdgDUKwmAHuau7GZDbkBLzH327zavCs= Received: by pali.im (Postfix) id 81FDB6F0; Tue, 19 May 2020 17:12:08 +0200 (CEST) Date: Tue, 19 May 2020 17:12:08 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: David Lin , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Steve deRosier , Kalle Valo , Johannes Berg , Chor Teck Law , James Lin , Pete Hsieh Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH v9] Add new mac80211 driver mwlwifi. Message-ID: <20200519151208.g35qpxdtroedjma7@pali> References: <3e57f30c29254db4a906e3e71ac36da5@SC-EXCH02.marvell.com> <8492870c897543a1b3c635a96f1066cb@SC-EXCH02.marvell.com> <4b33da1fb23a476ca5bc21eb74f1ffd2@SC-EXCH02.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wednesday 21 November 2018 09:24:55 Rafał Miłecki wrote: > On Wed, 8 Feb 2017 at 08:55, David Lin wrote: > > > From: Rafał Miłecki [mailto:zajec5@gmail.com] worte: > > > On 8 February 2017 at 08:28, David Lin wrote: > > > >> From: Rafał Miłecki [mailto:zajec5@gmail.com] worte: > > > >> Sent: Wednesday, February 08, 2017 3:24 PM On 8 February 2017 at > > > >> 07:30, David Lin wrote: > > > >> > steve.derosier@gmail.com [mailto:steve.derosier@gmail.com] wrote: > > > >> >> On Tue, Feb 7, 2017 at 10:15 PM, David Lin wrote: > > > >> >> >> Rafał Miłecki [mailto:zajec5@gmail.com] wrote: > > > >> >> >> Please use ieee80211-freq-limit: > > > >> >> >> https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git > > > >> >> >> /co > > > >> >> >> mmi > > > >> >> >> t/?id=b3 > > > >> >> >> 30b25eaabda00d74e47566d9200907da381896 > > > >> >> >> > > > >> >> >> Most likely with wiphy_read_of_freq_limits helper: > > > >> >> >> https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git > > > >> >> >> /co > > > >> >> >> mmi > > > >> >> >> t/?id=e6 > > > >> >> >> 91ac2f75b69bee743f0370d79454ba4429b175 > > > >> >> > > > > >> >> > I already replied meaning of these parameters: > > > >> >> > is used to disable 2g band. > > > >> >> > is used to disable 5g band. > > > >> >> > is used to specify antenna number (if > > > >> >> > default number > > > >> >> is suitable for you, there is no need to use this parameter). > > > >> >> > should not be used for chip with device > > > >> >> > power > > > >> table. > > > >> >> In fact, this parameter should not be used any more. > > > >> >> > > > > >> >> > > > >> >> David, I think you're not understanding the comment, or at least > > > >> >> that's what it looks like to me. Yes, you did reply as to the meaning. > > > >> >> And, your reply, while informative, didn't tell us you understood > > > >> >> and were willing to fix the problem. I doubt you meant it this > > > >> >> way, but it feels defensive and like a brush-off. > > > >> >> > > > >> >> First off, you will still have to document any DT bindings you're > > > >> >> adding. Just because you answer the question in the review doesn't > > > >> >> mean you're not responsible for doing so. > > > >> >> > > > >> >> And second off, I think that Rafal (and sorry about my spelling, > > > >> >> looks like there's some sort of accent on the l that I don't know > > > >> >> how to make my keyboard do) is saying: there's already some > > > >> >> generic bindings that can be used to disable the 2g or 5g bands. > > > >> >> Granted they're even newer than your patch, but I do think if said > > > >> >> bindings exist and > > > >> are appropriate, you should use them. > > > >> >> > > > >> >> - Steve > > > >> > > > > >> > These parameters are marvell proprietary parameters, I don't think > > > >> > it should > > > >> be added to DT bindings. > > > >> > > > >> Steve is correct. > > > >> > > > >> You have to document new properties, just because they are Marvell > > > >> specific doesn't change anything. You just document them in a proper > > > place. > > > >> > > > > > > > > All right. I will do that. > > > > > > > >> > > > >> > BTW, and are only used for mwlwifi to > > > >> > report > > > >> supported bands, it is not related to limitation of frequency. > > > >> > > > >> How reporting a single band doesn't limit reported frequencies? You > > > >> can achieve exactly the same using generic property, so there is no > > > >> place for Marvell specific ones. > > > >> > > > >> In fact there were drivers of 3 vendors requiring band/freq-related > > > >> description in DT: Broadcom, Marvell & Mediatek. This property was > > > >> discussed & designed to support all limitation cases we found > > > >> possible to make it usable with > > > >> (hopefully) all drivers. > > > >> > > > > > > > > I only need simple way to disable 2g or 5g band. I will follow your suggestion > > > to document these marvell proprietary parameters. > > > > > > Seriously? Refusing to use generic binding because you think marvell,5ghz; is > > > simpler than ieee80211-freq-limit = <2402000 2482000>; (not to mention your > > > property seems reversed!)? > > > > > > I don't know how else to explain this to you. We don't want duplicated > > > properties where one can work. Just use existing one. Don't add new one even > > > if documented. > > > > > > > All right. I will check and let patch v10 to use it. For previous parameters, they will only be used by previous OpenWrt projects. > > Hi David, how are things going? Could we get v10? Hello! I would like to ask, is there any plan for future updates for this mwlwifi softmac driver?