From patchwork Tue Nov 29 13:55:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13058595 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 DC3EFC4321E for ; Tue, 29 Nov 2022 13:55:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232415AbiK2Nzr (ORCPT ); Tue, 29 Nov 2022 08:55:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230129AbiK2Nzq (ORCPT ); Tue, 29 Nov 2022 08:55:46 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB87B56EEF; Tue, 29 Nov 2022 05:55:41 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D39CBFF808; Tue, 29 Nov 2022 13:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669730140; 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; bh=b1hvMzyDfgcapMhR9y1z+djtVZr7gypeYyBgGbCnvPY=; b=Jk/Txl+6Gu70L/hNZynkv0GkE03Jwz4YEwvT2cJMAaYBfVH8OoDGZxbl9pHLpp0wwveJMa 3tgOXNpv/xnYs1j+Wa/v1SVNm+r/V7cyYuSInAzj557w/dYgk6M898eoC5ZMepUq7IasBc SBvlAacJ5qZjdqbXzAzCTwV1K8xS1V89+pdmbmveKGovqC1YdBZr/s+nHWlgwiOR9ACsJ6 M+j5VuIQz4VXT/Qpw+6bvwvRl0D8h3PqLCIVClSW+bkeD52O49xxQSSrvAynWctp+0bWNr p6S38j2n2MdjKO10W+SCriVnhrdhlWXyCPF6562A0p0Ktluh3tGydrjyImvKTA== From: Miquel Raynal To: Alexander Aring , Stefan Schmidt , linux-wpan@vger.kernel.org Cc: "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 , Miquel Raynal Subject: [PATCH wpan-next v3 0/2] IEEE 802.15.4 PAN discovery handling Date: Tue, 29 Nov 2022 14:55:33 +0100 Message-Id: <20221129135535.532513-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Hello, >>> Just a resent of the v2, rebased <<< Last preparation step before the introduction of the scanning feature (really): generic helpers to handle PAN discovery upon beacon reception. We need to tell user space about the discoveries. In all the past, current and future submissions, David and Romuald from Qorvo are credited in various ways (main author, co-author, suggested-by) depending of the amount of rework that was involved on each patch, reflecting as much as possible the open-source guidelines we follow in the kernel. All this effort is made possible thanks to Qorvo Inc which is pushing towards a featureful upstream WPAN support. Cheers, Miquèl Changes in v3: * Rebased on wpan-next/master. Changes in v2: * Dropped all the logic around the knowledge of PANs: we forward all beacons received to userspace and let the user decide whether or not the coordinator is new or not. * Changed the coordinator descriptor address member to a proper structure (not a pointer). David Girault (1): mac802154: Trace the registration of new PANs Miquel Raynal (1): ieee802154: Advertize coordinators discovery include/net/cfg802154.h | 18 +++++++ include/net/nl802154.h | 43 ++++++++++++++++ net/ieee802154/nl802154.c | 103 ++++++++++++++++++++++++++++++++++++++ net/ieee802154/nl802154.h | 2 + net/mac802154/trace.h | 25 +++++++++ 5 files changed, 191 insertions(+)