Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp236601pxb; Wed, 22 Sep 2021 00:35:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfuOkqJbxaenjQVP5+ghR2Yhir6YfFlomnqKVn3/C3epgsyFqzqG3rlj0A4uMGmIZiFHdM X-Received: by 2002:a05:6638:41a2:: with SMTP id az34mr3597949jab.4.1632296120134; Wed, 22 Sep 2021 00:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632296120; cv=none; d=google.com; s=arc-20160816; b=GIzvh7//bfOuWZVKIpOQwM932ehTYl+5E4u0cc0GTQiAispuwpsxVRwtGnCzlchPN7 QY8WzluGPN7a4bB5dI/SK+lTPSmvpLLPlqeKePVkPhRB9ljUuc7OT8PLzVZKRbSv2kpF jVPqjQaEp7DVT7LscLj8Gk5R5oltHTWia4m3cEtnXrL+cuHt6AugeNayFfqxsenCehfE CEOQtHhjOKqtszs8u/KHllIj6E9TA4bnl2OEuZaS4QuhqV2v7jKB0o4oErj3/qAhRtcG rEcT3yHP4Xku5ROsTIzLNATvc6Qcpe2obU+Efd/tTdBNEt5bXBHQFPQb4vpUsATn7lW/ YqpQ== 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:dkim-signature; bh=9AY8F16aIJoBespGhpIqcYrXI4qFapt3L2VJxzUtRcw=; b=wC+hxi5pwUGznfZtprONrpeuI5Q/dGC3yPMb+wSqDHFaNf67OFDx3wc/MJEJj8FvI9 mj2hFEcoFbk3hYaU3ZG4fYRVq1rnviPGbnvYGQsvdRB/hAz5DFDYaOMN6yRKXuvkg/3r 3nB0mr7D/P2HXsbvY3+NKaAiajs4kuO/BQmWB5GMO1ZXLgctRFrl0Men4wDDyUydTC4M NIAYuWE3QtPoJXjumFjlXLtOLN8ZtE8YKc6tVOO/c/cqGVP12IxFHe9e0UskdvWYXOmy aFKunazmw8G6LEqy7J2lS4vNg0AO+sxArvkq5HwYs2XyqaA3UmHC6nfpnJ+c3qMD2+lS 7t4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=uL+8G9BJ; 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=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si1512981ila.156.2021.09.22.00.35.04; Wed, 22 Sep 2021 00:35:20 -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=pass header.i=@sipsolutions.net header.s=mail header.b=uL+8G9BJ; 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=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233290AbhIVHfg (ORCPT + 78 others); Wed, 22 Sep 2021 03:35:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbhIVHfg (ORCPT ); Wed, 22 Sep 2021 03:35:36 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 846FBC061574; Wed, 22 Sep 2021 00:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=9AY8F16aIJoBespGhpIqcYrXI4qFapt3L2VJxzUtRcw=; t=1632296046; x=1633505646; b=uL+8G9BJdNnflVui72S/UFRPGdPpibVKacv9sdfFtCBJvm9 r7WOkC8DsJy6gUqePqokQqqkh7L+31IrKUv5QCqHkp2jJTJWx3ug3OVl/pyw9jws/ws1QlPYQYPeQ /YhILgz/GTRNPaK8kU+njjiHzmXqUw3FeLUn+o/SpvGvYFxDLDuwrsHaNdtnLqTnH6R6HZFJx9mp4 gwQbgXgV5Rq/VvyCrX9eUA2sVYjPhdt4Oe1zKGT2mziJUj58qEcRRHFFxcr45ppZ/0oihiEmXwyev WGMCnMKOGc8p9mSRb7xQuUOxuNgW1uPhx1xIwUpbxBke1J+2uG8qJDYLy+rpF99w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95-RC2) (envelope-from ) id 1mSwlR-00ACry-SN; Wed, 22 Sep 2021 09:33:58 +0200 Message-ID: Subject: Re: [EXTERNAL] Re: [PATCH] [v15] wireless: Initial driver submission for pureLiFi STA devices From: Johannes Berg To: Kalle Valo , Srinivasan Raju Cc: Mostafa Afgani , "David S. Miller" , Jakub Kicinski , open list , "open list:NETWORKING DRIVERS (WIRELESS)" , "open list:NETWORKING DRIVERS" Date: Wed, 22 Sep 2021 09:33:56 +0200 In-Reply-To: <87ee9iun4o.fsf@codeaurora.org> References: <20210226130810.119216-1-srini.raju@purelifi.com> <20210818141343.7833-1-srini.raju@purelifi.com> <87o88nwg74.fsf@codeaurora.org> <87ee9iun4o.fsf@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) 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 Tue, 2021-09-21 at 15:30 +0300, Kalle Valo wrote: > > > > Yes, I agree, As LiFi is not standardized yet we are using the > > existing wireless frameworks. For now, piggy backing with 2.4GHz is > > seamless for users. We will undertake band and other wider change once > > IEEE 802.11bb is standardized. > > I don't see why the IEEE standard needs to be final before adding the > band. Much better to add a band which is in draft stage compared to > giving false information to the user space. I tend to agree, but looking at the current draft (D0.6), that's ... vague? Maybe it's obvious to somebody familiar with the technology, but I really don't understand how 800-1000nm infrared band maps to 21 MHz + channel offset? Isn't the frequency there a couple hundred THz? Regardless, if the channelisation plan says 21 MHz + n_ch * 5 MHz, then I think we can just define NL80211_BAND_LC and the driver advertises those channels - that even gets you easy access to all the defined channels (apparently today all the odd channels from 1-61, split into 20/40/80/160 MHz bandwidth). I guess I'm really not sure how that maps to the actual infrared, but reusing all the 20/40/80/160 machinery from VHT means we can actually do a lot of things in mac80211/etc. without much changes, which isn't bad. Anyway, I'd feel more comfortable defining an LC band here, even if it potentially changes later. Or maybe especially if the actual channels there change later. johannes