Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp424434pxb; Thu, 13 Jan 2022 09:09:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwY1sbJF2Fl52AbXuMBiBC4O2SeexhVyuaR+4wNo/Z+hrhf0C63rtI8pZOYTk/2AcZi0BBv X-Received: by 2002:a17:90b:303:: with SMTP id ay3mr6100913pjb.52.1642093795113; Thu, 13 Jan 2022 09:09:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642093795; cv=none; d=google.com; s=arc-20160816; b=Lfky7Zd+Y68vxEd8Zg+CGbZKhqGP3El+nrG/geYu/NQujhKCO0sxCwR40EzWWTrGRz 2u0OgxMWxMaQfvcibCCAYsiiOzF02MgyofVhuTz7C1rUj33HS0MhWAyOPe6E6N2Rjx4A kvmmDDHtB7vzNMu3vBHh7oPeTxIIDLk7UTL2Q6xFaUbcrXYB0V/uYEOe6SNadEBRimlE Xr2Euy8jhN3O2yXwXKV1Igd2byW8R0oM53pMf9+hgFDKZgsxp8/PVkK/WwRG0eVF06aV lq1ve6beGnXndp7+K9c9x24agkMaMyvBnbTI74HFbbQLez6YevZXPyGdHxgTm3Fsu9V7 CLRQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=4TS1bIGzGsdbylWHY+4y0IX2qAkuimN5Mt+gAbvEXX0=; b=nrPLM8jodTX4CuVs/5r1NgcyLK5YR8+C0qZFAJqUI+a9VFyCBalXDj3EILefjDdLsD 2OeEyVjerPkGRSkYBTzj4Br+xPxzFvCcJYoyx/7xPCUBKYvHQAJ31uOEZnj1IIEbn04V 8APyLwNHmSpgYxp9QH54Aqi+KO4CaiD6uPVlyGDPIMva0ySxOlXfI//mvc8imgMUV3FF aKnt6h7u8IZmcjrywMK2P2K78S8vyCDUavelXkrDuuu2yrCyhwccHPzjSoa1YuktEDGM mIaHeDxhZybqAZnhWJo+6lhVNJyQaD3k/VOxNS5dTBOaadK4h9fgzvvdrzoiCxe02llA CkdQ== 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 x17si3388897pgh.478.2022.01.13.09.09.44; Thu, 13 Jan 2022 09:09: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 S231168AbiAMLM3 convert rfc822-to-8bit (ORCPT + 71 others); Thu, 13 Jan 2022 06:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbiAMLM2 (ORCPT ); Thu, 13 Jan 2022 06:12:28 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF137C06173F; Thu, 13 Jan 2022 03:12:27 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 6E1D640002; Thu, 13 Jan 2022 11:12:23 +0000 (UTC) Date: Thu, 13 Jan 2022 12:12:22 +0100 From: Miquel Raynal To: Alexander Aring Cc: Stefan Schmidt , linux-wpan - ML , "David S. Miller" , Jakub Kicinski , "open list:NETWORKING [GENERAL]" , Michael Hennerich , Harry Morris , Varka Bhadram , Xue Liu , Alan Ott , David Girault , Romuald Despres , Frederic Blain , Nicolas Schodet , Thomas Petazzoni , "linux-wireless@vger.kernel.org Wireless" Subject: Re: [wpan-next v2 01/27] net: mac802154: Split the set channel hook implementation Message-ID: <20220113121222.159157ca@xps13> In-Reply-To: References: <20220112173312.764660-1-miquel.raynal@bootlin.com> <20220112173312.764660-2-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Alexander, alex.aring@gmail.com wrote on Wed, 12 Jan 2022 17:53:57 -0500: > Hi, > > On Wed, 12 Jan 2022 at 17:30, Alexander Aring wrote: > > > > Hi, > > > > On Wed, 12 Jan 2022 at 12:33, Miquel Raynal wrote: > > > > > > As it is currently designed, the set_channel() cfg802154 hook > > > implemented in the softMAC is doing a couple of checks before actually > > > performing the channel change. However, as we enhance the support for > > > automatically setting the symbol duration during channel changes, it > > > will also be needed to ensure that the corresponding channel as properly > > > be selected at probe time. In order to verify this, we will need to > > > > no, we don't set channels at probe time. We set the > > current_page/channel whatever the default is according to the hardware > > datasheet. I think this channel should be dropped and all drivers set > > s/channel/patch/ I've dropped the patch and put an additional call to _set_symbol_duration() in the hw registration routine as discussed initially. Thanks, Miquèl