From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDF86C61DA3 for ; Fri, 24 Feb 2023 13:58:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbjBXN6E (ORCPT ); Fri, 24 Feb 2023 08:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjBXN6D (ORCPT ); Fri, 24 Feb 2023 08:58:03 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E82D193D3; Fri, 24 Feb 2023 05:58:01 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C57D040003; Fri, 24 Feb 2023 13:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1677247079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VoPzW7n5a+mXABqnPHMAAB9/qWEnlbkkwf/8DgTN3FU=; b=XdCbTgT372HdJ3JHLYf2HkanE6+aO7f0ytg/Q+lUid4cg1mTGtxvC3in+G9nEfONx3f1Ii ojqkHxeaWRMAhmUfGkiPHa+nayznc5NSGFW0Axn6MC5lcLz22ZJIMfaG3CaevnkGoITzsb jteh+SyF7T148q8xbhw/14y/Pp6PS7n2Paj3xCeqjhCjqd0kz6QpYP+BbeEoX/NmFhbhj2 Kb3FxjheW474N18VPwcJ7AO3MMFUXVVzKq2KOB46EXHM1ZV+/veC9PL6i9bi8UtPl66/VJ WJ+tLkuxrFnfnszzkCyPE4TZ6B6OWR2L6o5qMgLnKzL/pdR5a6znrKfhyXJnCQ== Date: Fri, 24 Feb 2023 14:57:56 +0100 From: Miquel Raynal To: Alexander Aring Cc: Alexander Aring , Stefan Schmidt , linux-wpan@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , netdev@vger.kernel.org, David Girault , Romuald Despres , Frederic Blain , Nicolas Schodet , Guilhem Imberton , Thomas Petazzoni Subject: Re: [PATCH wpan-next 1/6] ieee802154: Add support for user scanning requests Message-ID: <20230224145756.39349d29@xps-13> In-Reply-To: References: <20221129160046.538864-1-miquel.raynal@bootlin.com> <20221129160046.538864-2-miquel.raynal@bootlin.com> <20230206101235.0371da87@xps-13> <20230210182129.77c1084d@xps-13> <20230213111553.0dcce5c2@xps-13> <20230214152849.5c3d196b@xps-13> <20230217095251.59c324d0@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Alexander, aahringo@redhat.com wrote on Mon, 20 Feb 2023 21:54:41 -0500: > Hi, >=20 > On Fri, Feb 17, 2023 at 3:53 AM Miquel Raynal = wrote: > ... > > > > > > ok, I am curious. Probably it is very driver/device specific but yea, > > > HardMAC needs to at least support what 802.15.4 says, the rest is > > > optional and result in -ENOTSUPP? =20 > > > > TBH this is still a gray area in my mental model. I'm not sure what > > these devices will really offer in terms of interfaces. =20 >=20 > ca8210 is one. They use those SAP-commands (MCPS-SAP and MLME-SAP) > which are described by 802.15.4 spec... there is this cfg802154_ops > structure which will redirect netlink to either SoftMAC or HardMAC it > should somehow conform to this... Absolutely. > However I think it should be the minimum functionality inside of this, > there might be a lot of optional things which only SoftMAC supports. > Also nl802154 should be oriented to this. >=20 > Are you agreeing here? Yes. That support can also be improved if we ever have to support advanced functionalities with "new" and compatible HardMAC devices. Thanks, Miqu=C3=A8l