Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp886730ybb; Wed, 1 Apr 2020 11:27:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuX6h871zLCPLbM0LNUfkgv5YvyLEd0MnC3zawk3HqFYlabZ9IZ+FHW5R9KGakMlgJK6++R X-Received: by 2002:a05:6830:1ad0:: with SMTP id r16mr18309365otc.183.1585765645860; Wed, 01 Apr 2020 11:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585765645; cv=none; d=google.com; s=arc-20160816; b=d/yhg8Zmhj2jc1V2yjridpAjSHZhJN5C/yb/dIhYSLPOKKk035Proy3Cc6b+ZSxV4/ wYqA2jBTrr3ftn69wcqtYpXRoAL1jgSs3EyTdzFNwG/DHMxDbdCeK2VpEmQ+Kkeqpxns 6fRlXbdnYcU8oPG6DIKZFRM1jpKVvKR8qqcx2o//RZOhgOrNMCIfDVQTdhcX7Feo0hAl MBEDtSd/FsUBXF0wj6vus6L3NqRplaYCvrC68HFo69vS5d8YTS4TozdNDaY2f4e0c9/G URdp2pE6CMsl06CjZ3cctRSgIP38xiFcQvd3zTxNwWa1cDKuoNVTia2QJlKfMGJz84kG lVFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/q/k35EcqcV3EosCkLVbrSPBQZ1ooLOGKZ7ovaydMuY=; b=a6F3DgVj4z7jeKoTOTwVmwOfkpW9T2t4iSBpaT84DLEll7+uiY0ZZUD/oIzR7xUW/n lIma9uFkJN/BMRW6syEIB8qTH3jW9YjLpTeo6CRHMkKwXS+jCtE6MICbF647FJbyUEvH A8umvrXvaRu54iGA9G7ntPtw/5ZZQ2+/gkVGcUdeeSMAEyVkzH6Y2z/8cigcMY1Cl1dX kgKNJE+Gn1DV7uxtgxQcff0OLfmEj8haGknDq+UBv8PGrLwUgk0Fg2VAow/9dDCc2mqi vo9GRhy/NjWcYQeHngOk1YmIZy9H8YlXPB04rBkPPqiDbZKmUBVXehRYpsfnPOnUKo+Z 0uow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si1088400ooe.4.2020.04.01.11.27.01; Wed, 01 Apr 2020 11:27:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732435AbgDAS1A (ORCPT + 99 others); Wed, 1 Apr 2020 14:27:00 -0400 Received: from mail.adapt-ip.com ([173.164.178.19]:42944 "EHLO web.adapt-ip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730420AbgDAS1A (ORCPT ); Wed, 1 Apr 2020 14:27:00 -0400 Received: from localhost (localhost [127.0.0.1]) by web.adapt-ip.com (Postfix) with ESMTP id E3B4A4F7A92; Wed, 1 Apr 2020 18:26:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at web.adapt-ip.com Received: from web.adapt-ip.com ([127.0.0.1]) by localhost (web.adapt-ip.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lyTUkriN34k0; Wed, 1 Apr 2020 18:26:57 +0000 (UTC) Received: from [10.1.15.6] (gateway.adapt-ip.com [173.164.178.20]) (Authenticated sender: thomas@adapt-ip.com) by web.adapt-ip.com (Postfix) with ESMTPSA id 59D044F7A8E; Wed, 1 Apr 2020 18:26:57 +0000 (UTC) Subject: Re: [RFC 0/7] add a KHz component to wireless channels To: Johannes Berg Cc: linux-wireless References: <20200401062150.3324-1-thomas@adapt-ip.com> <1fb3634babea0a8bd0021493919d3ebd0e279087.camel@sipsolutions.net> From: Thomas Pedersen Message-ID: <03b79029-c168-06df-2d8e-ef4179bd9ba2@adapt-ip.com> Date: Wed, 1 Apr 2020 11:26:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1fb3634babea0a8bd0021493919d3ebd0e279087.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 4/1/20 12:15 AM, Johannes Berg wrote: > On Tue, 2020-03-31 at 23:21 -0700, Thomas Pedersen wrote: > >> Some cfg80211 and nl80211 internals have been converted to handle units >> of KHz, which is not unprecedented (net/wireless/reg.c), and the >> collateral damage is localized. > > :) > >> One thing which is still unclear is backward compatibility in nl80211. >> If a frequency offset is supplied to an older kernel, it'll just >> silently fail to do the right thing. > > But will it? It mostly requires to have a struct ieee80211_channel > registered with the wiphy for a given frequency, and won't find that? I was worried the wrong ("rounded down") channel would be found, but I think the point is mostly moot since that channel wouldn't exist either. > But speaking of which - I was expecting to see a new *band* here for > S1G, so that you can actually register the channels properly in the > wiphy struct? Or is that just not part of this patchset yet? Yeah just trying to focus on the frequency offset stuff and keep S1G out of it for now. Do you think it would be helpful to cap it with the new S1G band definition? -- thomas