Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1111439pxb; Fri, 6 Nov 2020 00:56:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBOcOHhnGfTPko7IecPFnbaJmVQmnUO+AcfR0ccv77IOMV+V7dZcMZ3wEZXUfZ9GkrwkuN X-Received: by 2002:a17:906:3958:: with SMTP id g24mr1063966eje.360.1604653015705; Fri, 06 Nov 2020 00:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604653015; cv=none; d=google.com; s=arc-20160816; b=UffOhK2FRGV09ZLdKLidFqtRzeORBrDZe6IEl8S8udqrinKGM95T45UP1+coTTBhkZ BTRPsCXOUmweZespJ27ewIzC3H+SxreCYiUvcUZ5rY/I4NI5PAS+C9ucgvxWj4MqZXkf VAEU+uEbNjhgvjzgQDPfL6FQQK+WP86hWvB9X6JnvbJI8++HZxo0o5stI4NXWSO1wdqR V+4tuPnmh3JlB1lYVfOJcyjuJVJTdjs2XrsMrHhaS/2zPjNGJA6Oy4ReD9ip75JUsSh9 rRnDcdsY+dyvzx83kNWsw6MybaP9pCXpkTC9dMj29p4cbIiv0EIeuF9gvWLQEeHpSmYY m6rw== 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=3YZJLGdsHm2ImI6ZUdPvDOygjxMiipQPhMuAHhz0H54=; b=xHERvf4gRSEtjpyp+8iuSKaG2eKzPPFahdtQK1EFeKpLk192z+7iH+x6kagbzdkgAP krSJaoNpaD0r0x2QJ4d0GYO38Z0YyL/w8xM/0JmXBJYO3oZ3hBz1MUr2PMyV/sGK2Dnm HXxARGBLQx31ZK8GRKEC6BCnmEZmuyEAy5zHMV1awny5w19nbfDl4kKhGMcUawPOu2CM kZVW4vG/l3ygY73shp6bPg9wpZBFBbFqFAY1UsT6PSue7EGNqjGV+cf2cRwPxWM8jYxS YcEmUqDwVrHISH96ssO1DtS8Ollv62i16ncpNO/cZDF2mao3+d4ZLTYZlz7hP42Eo5CY izYg== 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 j62si513780edd.159.2020.11.06.00.56.23; Fri, 06 Nov 2020 00:56:55 -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 S1725924AbgKFIzs (ORCPT + 99 others); Fri, 6 Nov 2020 03:55:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbgKFIzs (ORCPT ); Fri, 6 Nov 2020 03:55:48 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D998CC0613CF for ; Fri, 6 Nov 2020 00:55:47 -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 1kaxX6-002BV4-E5; Fri, 06 Nov 2020 09:55:44 +0100 Message-ID: <5c39eaec897af4d7b1005d1f7cb80552c3404e54.camel@sipsolutions.net> Subject: Re: [PATCH] iw: add optional argument to parse 6G band channel From: Johannes Berg To: Pradeep Kumar Chitrapu Cc: linux-wireless@vger.kernel.org Date: Fri, 06 Nov 2020 09:55:30 +0100 In-Reply-To: <1602283770-8026-1-git-send-email-pradeepc@codeaurora.org> References: <1602283770-8026-1-git-send-email-pradeepc@codeaurora.org> 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-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? johannes