Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1117084pxb; Fri, 6 Nov 2020 01:07:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdeDjKTQ5c8jyVEk9huruNjDv53pFXbauq1EucKMTsaCu5jgBZKZVH/15vwiYrydWvfdNF X-Received: by 2002:a17:906:9459:: with SMTP id z25mr1135223ejx.88.1604653662064; Fri, 06 Nov 2020 01:07:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604653662; cv=none; d=google.com; s=arc-20160816; b=0HJK0P3wnSTgNGU4v+cxHRqKCkMv/NMtmiEGqVrfOmEmIA04xcBvFhA1L3PPiiuG4R SVM3KBEOwluFTX2tZir44MKr1o4qZdzTFadXqbdLtKRgrrXvUlrWV3h336O1EDCQfyqP HEuOkdxJpOQT5ZC1+e9UtpGpoREMaXs4vSYPxS0JIUcDxdPIbhGx2Scav37ZcW1Dk72U xcm/SddjSQPnhTRO73/zy+TCVsdhwyKMj0hER0DjcB2GYbCWamrW4hUMy8kG/i3ANQ7X 325ScL3mz/UUpMAPdcRS8KY6QAFQpzntHKpYpXy+yFLOpY0Alyis8EN5QNNr0bU5lhlf Y2kA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=358txZHeohapoKs5/7FaxdsgRTZFQs5hePVtyFgpA8E=; b=RmPeVYh4zWamz41fkrQvBbJvmQ7efuYJGUb77Ax/5y1VperOVrSKm2rq1vE/SF9OD8 sbc09Hke1vzmfDHwR0jdhJbv+3J9IUVJSGAGYKCB+F9WeE5QmGEQyQ4cOqi9pxs5zHlO XOCfVwGMJDSD7Whd49MCV2FNs1qRjqynNAU4U8DPi4w01H+synreCrESQw3g4KkIySGv Sy2aZmztV1DtyTgnLcDWADW0f+CPqmyWnERoDvtxgZdzxbU1YkR9xYf+F/Iu2q2EuaBa bP1GOeOc/PKsZNv1Z9cS2mM9apL83U3BDVjqhRKVdMvzqTDwRa3zF7Hg+D+KB22MJvSm 2ePQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si402074ejj.573.2020.11.06.01.07.18; Fri, 06 Nov 2020 01:07:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725868AbgKFJG7 (ORCPT + 99 others); Fri, 6 Nov 2020 04:06:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbgKFJG7 (ORCPT ); Fri, 6 Nov 2020 04:06:59 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0871C0613CF for ; Fri, 6 Nov 2020 01:06:58 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kaxhw-002BkH-11; Fri, 06 Nov 2020 10:06:56 +0100 Message-ID: Subject: Re: [PATCH] iw: add optional argument to parse 6G band channel From: Johannes Berg To: Arend Van Spriel , Pradeep Kumar Chitrapu Cc: linux-wireless@vger.kernel.org Date: Fri, 06 Nov 2020 10:06:47 +0100 In-Reply-To: (sfid-20201106_100512_161604_5D2BB520) References: <1602283770-8026-1-git-send-email-pradeepc@codeaurora.org> <5c39eaec897af4d7b1005d1f7cb80552c3404e54.camel@sipsolutions.net> (sfid-20201106_100512_161604_5D2BB520) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2020-11-06 at 10:05 +0100, Arend Van Spriel wrote: > On 11/6/2020 9:55 AM, Johannes Berg wrote: > > On Fri, 2020-10-09 at 15:49 -0700, Pradeep Kumar Chitrapu wrote: > > > Channel numbers of 6G band overlaps with those of 2G or 5G bands. > > > Therefore, an optional argument "6G" is added and expected next > > > to channel number to map it to correct 6GHz frequency. If not > > > specified, defaults to matching 2G or 5G frequency. > > > > > > example: > > > iw wlanX set channel 149 6G 80MHz --> maps to 6695 MHz > > > iw wlanX set channel 149 80MHz --> maps to 5745 MHz > > > > Hm. I can't really say I like this much. > > > > Is it _really_ needed? I mean, we mostly specify the frequency today, so > > ... why not just always do that for 6 GHz? > > I suspect there are people preferring channel numbers as much as there > are people preferring frequencies. Personally, I think it is acceptable > to put this limitation on 6G. :) After I sent the message I figured maybe then we should have different syntax, where we say prefix the channel number by the band? iw wlanX set channel 6:149 ... iw wlanX set channel 5:149 ... iw wlanX set channel 2.4:11 ... or so? Seems better than having this optional argument '6G' in one place, and could be supported in a more general fashion. johannes