Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1124759pxb; Fri, 6 Nov 2020 01:22:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL1ofKXfwPIivo5E0C+pK8pEashPBjSVZelPxjKYBp8kgDDUxlLumznoGjtJ9SgxrrHRUJ X-Received: by 2002:a17:906:738a:: with SMTP id f10mr1175093ejl.236.1604654570830; Fri, 06 Nov 2020 01:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604654570; cv=none; d=google.com; s=arc-20160816; b=VVs5qwqowpQWbCH61FoV5S6vUbsOz3GEL5bdLQbGRX+cPYtSybEoKgC5XLNrLqseem wSG7+llgRX03YV2eISkfJAXaSgqU4dvwvSxW66KaYDNluELjI5/R0CT8SL8ywqD2+u5/ 6Ut4MZPlZGhao5EGw4g5O5A/YFXsfbS3aLlaQPx2uCjz32KE1KZyzaZOn4ozwt/649qP j1Ob/PN8TszbP4NUmogvkFCUyOlfEd0rGojj1kg09qYm9OAVcxN6Fv0H6OnKDOutCKrX gkpCOvFt5m4fUnPcAdyHu1E/GThd/PSk4uefb1f5+uRn32SVA43lItzx1in3rrUTAll/ gqjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=qC9lzQJbcu0rjpzOUURDYUAlWZMG9yWo+Zh+ZOlIggw=; b=FEsm9lE33lmXqC1eoyO4/O3hPhG0vvJNWB5TpN3SQXIGMCSRW/zhk/l7SAYZDTUdoH 74Qf55o5BGOVuRGeXq5hECsKzgIc5g+w3O/utwH07ovVUd8iswD+DURJII7qdKRpslfu Sr8I9Bi9LNBz83OKK2ohF3mde4BHFaEse6Iair5jRHABTsW3lzBc+TLnISvqMXL59ipa dV3rh7l5KPZHCm7eSJieNCRKMPb9QISAnOy/uxh5TCWLj6j0PTUPHfzVWX1WIynanL4h KIpqOZdnV/AKGZmWPnYg5aIkkJjhZdDz+KR4ZzimsqClSh1jn2yRVP1P1Xd9lFwaII0A /X9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=NJq7frAS; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si441865eju.299.2020.11.06.01.22.25; Fri, 06 Nov 2020 01:22:50 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=NJq7frAS; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbgKFJT6 (ORCPT + 99 others); Fri, 6 Nov 2020 04:19:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726711AbgKFJTt (ORCPT ); Fri, 6 Nov 2020 04:19:49 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58489C0613CF for ; Fri, 6 Nov 2020 01:19:49 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id f38so490994pgm.2 for ; Fri, 06 Nov 2020 01:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=qC9lzQJbcu0rjpzOUURDYUAlWZMG9yWo+Zh+ZOlIggw=; b=NJq7frASSqMDStnM4QjF5utRE/mWimch5MajG3d3wUpgcSvHEoA4gop4QSXVa9fUWK wLJQuc76GLzJPhMVJJn5GiEaun/vnozoto/yevJUXtP9n5wk8CaseJQIdPz8CcVSf+1u XcaVQ4E+b0ekMvPdgYxz877BBKAsD0Hg+0XmQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=qC9lzQJbcu0rjpzOUURDYUAlWZMG9yWo+Zh+ZOlIggw=; b=hYKJk4rnaJ9K0D+XFbQSVNb0yeBP/l++JuexbVHjEKasN8o/2g+VrjdusvXV5Ow3ui IAwp2hl8MwvSysydcTBzj5Qap9wcrqhIMgQimMJCZ3jOu2eGafJZ5lOgI9tmscQLzDIK gO0V5m5dia1nQwHIGAEQzfXyOVaTe+72JEICQkevBiup1vN8HBIw+WAgjRzMhIBt0x+t Ofr+lQjvJgtElRaMsuAMGdXJaY5PXVbQyFjVNCDmfp3ub1kW618ljU2lFkWln4e8XFGI arE/QLzcMLukEfRhXgRbl3lZuTEUIiUf8fK2w82FD2FbqnQgTAZAXYXWShX/ZAyAkj9f pZYA== X-Gm-Message-State: AOAM530r35ciWZwP59k9lM1SScv4QDpxfavkdN1FeWae3QuevOSZa2ag U8g/XEplcLQToOSYuWqTCMX3havw0TyAGT4Pm54Gs+I57k3z6ycikB2/gp+UZvtYGQY2UcSR7QX JcSF9K/7GWoScWW6/UE4SjkFMY+l8wkOOl6QOEoyQXwbVQ9psPx0QF9RzOWF2bUAlToklBgaKzf tB9jvgwZJZeTQYnZDe X-Received: by 2002:a17:90a:a107:: with SMTP id s7mr1488383pjp.208.1604654388466; Fri, 06 Nov 2020 01:19:48 -0800 (PST) Received: from [10.230.33.93] ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id e7sm1117486pgj.19.2020.11.06.01.19.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Nov 2020 01:19:47 -0800 (PST) Subject: Re: [PATCH] iw: add optional argument to parse 6G band channel To: Johannes Berg , Pradeep Kumar Chitrapu Cc: linux-wireless@vger.kernel.org References: <1602283770-8026-1-git-send-email-pradeepc@codeaurora.org> <5c39eaec897af4d7b1005d1f7cb80552c3404e54.camel@sipsolutions.net> <4bbc1e91-ba41-7e05-cb53-baa74232388d@broadcom.com> <02802f0fc1b3e4941ce137fcf6a637c32a756a4a.camel@sipsolutions.net> From: Arend Van Spriel Message-ID: Date: Fri, 6 Nov 2020 10:19:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: <02802f0fc1b3e4941ce137fcf6a637c32a756a4a.camel@sipsolutions.net> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d6729f05b36cb61b" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --000000000000d6729f05b36cb61b Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/6/2020 10:12 AM, Johannes Berg wrote: > On Fri, 2020-11-06 at 10:12 +0100, Arend Van Spriel wrote: >> On 11/6/2020 10:06 AM, Johannes Berg wrote: >>> 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 ... >> >> Do you want to make that band: prefix required or optional. > > That's a good question. Probably should be optional, otherwise > everything breaks ... Right. >> btw. starts >> to look like the format we use with our wl utility ;-) > > Hah! Maybe you have a better idea there? :) Not really. The above format seems fine as is. Gr. AvS --000000000000d6729f05b36cb61b Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQTAYJKoZIhvcNAQcCoIIQPTCCEDkCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2hMIIE6DCCA9CgAwIBAgIOSBtqCRO9gCTKXSLwFPMwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UE CxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMT Ckdsb2JhbFNpZ24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQGEwJC RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xvYmFsU2lnbiBQZXJzb25h bFNpZ24gMiBDQSAtIFNIQTI1NiAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA tpZok2X9LAHsYqMNVL+Ly6RDkaKar7GD8rVt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