Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1119902pxb; Fri, 6 Nov 2020 01:13:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUKC7kuT8nG0jyqdsvM6i2VZPknPsaqAHOo2vIj4l5qg1VFOv9V6xA1e4r8AirSwP7sEee X-Received: by 2002:a50:85c6:: with SMTP id q6mr1069011edh.126.1604654000302; Fri, 06 Nov 2020 01:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604654000; cv=none; d=google.com; s=arc-20160816; b=wW8iewz4nSSWAiGotAyKRHq774NhV+OTUcwqILafJHUAdrtbyq1NJ2zhllSXDEwCQV g+l4FACsXE8iSSNUVIEKN5N0q2itTHhrgdeulBgr8fIb7LvxPKKuQtobbPVy4WJmWpx4 P1iijRaVjzhRI+S9rAaseIpI1A9gIEG9Jrsmmr+1x3OmtgbeVeeRoQ9kazvYZ0Ayg81Z HoQBwFfaM2nqVuRFP5rgCCaPlzidnidpcJxB+aqEfO0v5yvFfIytyUfAmEe2MP/zR/pR v1hhwcqTZ3Ra+fzeTJB510yDri2mVilx1FUDdYSS5oUmovFr74AXUBM9nACtlhYm9mwF FOCA== 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=AqCvMFeGZR5t+4WM8YjcUUQs01QLFH88Y5ZTwlMvi/c=; b=GlV/kuXF21lyuUWVftXxAVE0CSKGFkDoFEaTDmIN/8yYThrQQlfplPvq4+neycpCmo tl6hd4qquW5WlvjR23eFMQAhwspTNm77qrjsWZXPcNpk7l00Stn379ZVtkhWPHdABELA 6hR/IincQcSK6NQEpdLvJVXvLF5q/GNW0xgpnnW+IrDxpBEFmS+IVWArHD99GaWDWBMG TYSs21t5Y9bBpNfSSkQZ8gJ6pY+Tuk/J+xsure8+teGYcZ8y778tr6paIbqeFdDWu3bl i6/gKMa6gdu6PGdiUWr9IuAe4fW26re0AHa4Do/JMMIeNUTE35bCtRjxjts07ONyQXXX 1bNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=IaH+ElXN; 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 dj4si518237edb.64.2020.11.06.01.12.55; Fri, 06 Nov 2020 01:13:19 -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=IaH+ElXN; 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 S1726027AbgKFJMQ (ORCPT + 99 others); Fri, 6 Nov 2020 04:12:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbgKFJMQ (ORCPT ); Fri, 6 Nov 2020 04:12:16 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FB6BC0613CF for ; Fri, 6 Nov 2020 01:12:16 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id r10so451338pgb.10 for ; Fri, 06 Nov 2020 01:12:16 -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=AqCvMFeGZR5t+4WM8YjcUUQs01QLFH88Y5ZTwlMvi/c=; b=IaH+ElXNrAExIYBsjVbHqdxXUk4JCeExUdHQfowEZ2lnzOZnG4Hiq0CW8Brj9MSSaz u+r+MFlOqwg8SKsb8gjdONByP86W5HLwr6piP+OzrBPUFHLEIdIUCeIUE6vA+8PFeMoB mzM5f6J0WCLKeg1edrhgKaBBkMr66AlvWSY6c= 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=AqCvMFeGZR5t+4WM8YjcUUQs01QLFH88Y5ZTwlMvi/c=; b=gRDvEqN/6frqYCGLcMCEHUMBUHIpnYb471K34SayH3LtEMqkWHtlPIxq9EuC9lxctF w1dcPNGdmYULqs8p/bSkurXb4tT45TW+ivkigeRyZtN++3YISEfnQ185bCsmKkVZxXXC Z3UqPi7qDXOpIqRRLOOrpq16F4fsc9X8ZbI9LFCDiqMXLQRoz3bdexfcPdrWahs9rDHo bkoSzGq3Xv/WYUS4NL60KVaVY8vZEDSGtCPptdXDUjOB78SSEi3lEGYCWRBkP5PeUgPT c7sCuDvZ3KNlykqBBh5C+ZQQxll2KysRaBqeqgfZgyMzCEC3ehbQToLsmm9oGVMrNrZq KYmQ== X-Gm-Message-State: AOAM533YCXxHgPsdmAl7TFkLwRHOKGA4e+zyFvThTrgspuThD/1oBrUE YF78JLDM+yX3HBKi82v9G/P5r1yYlc27xAaHCbB7TPxU8sJN5P4AZJqqj2MqXnvW2U5xdFDmuxq MYpANx4PC4jCzL0tHDlFQHQpJswe/srww4SJISZxz+3cTykRtOZqnVSAEgOJalAEfTuWqKnIdPo F6+tqnfNcFwLlIoaYq X-Received: by 2002:a17:90a:b397:: with SMTP id e23mr1405205pjr.96.1604653935414; Fri, 06 Nov 2020 01:12:15 -0800 (PST) Received: from [10.230.33.93] ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id x15sm1544091pjh.21.2020.11.06.01.12.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Nov 2020 01:12:14 -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> From: Arend Van Spriel Message-ID: <4bbc1e91-ba41-7e05-cb53-baa74232388d@broadcom.com> Date: Fri, 6 Nov 2020 10:12:12 +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: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d5f95805b36c9b1c" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --000000000000d5f95805b36c9b1c Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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. btw. starts to look like the format we use with our wl utility ;-) Regards, Arend --000000000000d5f95805b36c9b1c 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+Ly6RDkaKar7GD8rVtb9nw6tzPFnvXGeOEA4X5xh9wjx9sScVpGR5wkTg1 fgJIXTlrGESmaqXIdPRd9YQ+Yx9xRIIIPu3Jp/bpbiZBKYDJSbr/2Xago7sb9nnfSyjTSnucUcIP ZVChn6hKneVGBI2DT9yyyD3PmCEJmEzA8Y96qT83JmVH2GaPSSbCw0C+Zj1s/zqtKUbwE5zh8uuZ p4vC019QbaIOb8cGlzgvTqGORwK0gwDYpOO6QQdg5d03WvIHwTunnJdoLrfvqUg2vOlpqJmqR+nH 9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