Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1308667pxk; Mon, 31 Aug 2020 16:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpux33I2VRaR7/q7QVoCYQgBb7hMHwbSmEZwgD96kBqjwzq+yGbWJ6VDmOlUApfhFQA/pU X-Received: by 2002:a50:eb92:: with SMTP id y18mr3032666edr.373.1598914815267; Mon, 31 Aug 2020 16:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914815; cv=none; d=google.com; s=arc-20160816; b=D/WJc9eDm7YYhYVDbFhfm3/Ecolg5/Hu6ann1iaC2yJTxxyI2PNJY9HliO/g5/kinR qRQw2m5O40b8MVATQ4KgXtXUjUWfafEnbt/kGoTSeB4ZmPq1pF/8XYDlpt/jn1+UbUeE 4uGs3Wk+oYt6ucRxxrjJclPXwHM1mLUfhShZkBWcgaGj1cpRU9g861St3U+NZTufzUfU NxjDizeKVum9sk3utsoNcYKneOwnb8059FvE3o6KoiApaejBWNoOt+OhX01qBmVp0JO3 oNs+CApkZyMVONNlUQeK5iSdPjfo9gmGRR9Lv98AXQBuXs9VsdIgqf1UGhs9RNxHNsNW Y5Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version:dkim-signature; bh=S/W6MJIH1316lNORgWWc62+LiCFTcBERqqOm4uya8IQ=; b=vOs9YDK2vWn5AXmWUFqw5QHtZiEvYy/mgS3RVie3PhQOWn7pciL0VnyMsZxR6z+8xb JWm8z71qLTgwbz7hlfsvTwjg1JzB/pFn8KTgRLAcjKFBGCuwvnjqIyOE76VMoCP2CqVU wc3yYB93MovV2WXxv579i51E05SXO2/nhj4HiiiKn2Buf0RDzrXlq/JJL4nnJ3wU5Uw5 UjVq+E3I4mR0FgFMycUpycCQkEat6uNMqILkLXCESbWOxzxENP3QhuUBcAF//uwfToYn W5PCd9lBMnOXI5sUhwYMlnrl9SoawiqRuYs3tvrIamgEu4sQfxEEjh30oi6QYs1qarrY nhag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sZMNnyyo; 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 f22si5802647ejw.397.2020.08.31.15.59.51; Mon, 31 Aug 2020 16:00:15 -0700 (PDT) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sZMNnyyo; 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 S1730266AbgHaV30 (ORCPT + 99 others); Mon, 31 Aug 2020 17:29:26 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:45948 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728352AbgHaV3Z (ORCPT ); Mon, 31 Aug 2020 17:29:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598909364; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Type: MIME-Version: Sender; bh=S/W6MJIH1316lNORgWWc62+LiCFTcBERqqOm4uya8IQ=; b=sZMNnyyogcrmXYG123YvZwYsdV2ZMZo9M58HajZxxcsc3rhajOKhSpBWDYs023qIGAcEtMQB 27BT/GMGct8+ue3j4dMWxA6FEQem92+QYUVnx4W26Y5M4+VpLLN/x9ZS74++RQeOPKgMJtkz kBKz+xagKV1tW2a/UWT4E0E3K/8= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 5f4d6bb39f3347551fde02b7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 31 Aug 2020 21:29:23 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B6E68C43391; Mon, 31 Aug 2020 21:29:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: asinghal) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1A962C433C6; Mon, 31 Aug 2020 21:29:22 +0000 (UTC) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_960ed62951f7d6a649521c4bb8cbae36" Date: Mon, 31 Aug 2020 14:29:22 -0700 From: asinghal@codeaurora.org To: Johannes Berg Cc: Pradeep Kumar Chitrapu , linux-wireless@vger.kernel.org, jouni@codeaurora.org Subject: Re: [PATCH] cfg80211: fix 6ghz starting frequency In-Reply-To: <11e817f5fd8b5042b281d4e575c24a8433d07d8a.camel@sipsolutions.net> References: <1592807869-781-1-git-send-email-pradeepc@codeaurora.org> <11e817f5fd8b5042b281d4e575c24a8433d07d8a.camel@sipsolutions.net> Message-ID: X-Sender: asinghal@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --=_960ed62951f7d6a649521c4bb8cbae36 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed hi Johannes, We see you accepted the attached patch. But following small piece is still missing, that should be applied to the mac80211 tree, in fn. ieee80211_channel_to_freq_khz: case NL80211_BAND_6GHZ: /* see 802.11ax D6.1 27.3.23.2 */ if (chan == 2) return MHZ_TO_KHZ(5935); - if (chan <= 253) + if (chan <= 233) return MHZ_TO_KHZ(5950 + chan * 5); rgds Amar On 2020-06-22 00:26, Johannes Berg wrote: > On Mon, 2020-06-22 at 00:20 -0700, Pradeep Kumar Chitrapu wrote: >> On 2020-06-21 23:37, Pradeep Kumar Chitrapu wrote: >> > Fixes channel to frequency mappings per latest specification >> > IEEE P802.11ax/D6.1 >> > >> > Fixes: d1a1646c ("cfg80211: adapt to new channelization of the 6GHz >> > band") >> > Signed-off-by: Pradeep Kumar Chitrapu >> > --- >> Please ignore this patch.. >> Just observed similar patch which is already in review >> https://patchwork.kernel.org/patch/11615085/ > > I also already merged > > https://lore.kernel.org/r/edf07cdd-ad15-4012-3afd-d8b961a80b69@broadcom.com > > If any further changes are needed, please base them on mac80211-next... > > johannes --=_960ed62951f7d6a649521c4bb8cbae36 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-cfg80211-Adjust-6-GHz-frequency-to-channel-conversio.patch Content-Disposition: attachment; filename=0001-cfg80211-Adjust-6-GHz-frequency-to-channel-conversio.patch; size=1384 RnJvbSAyZDliNTU1MDg1NTZjY2VlNjQxMDMxMGZiOWVhMjQ4MmZkMzMyOGViIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbWFyIFNpbmdoYWwgPGFzaW5naGFsQGNvZGVhdXJvcmEub3Jn PgpEYXRlOiBGcmksIDE5IEp1biAyMDIwIDEzOjUyOjAxIC0wNzAwClN1YmplY3Q6IFtQQVRDSF0g Y2ZnODAyMTE6IEFkanVzdCA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