From patchwork Fri Nov 18 22:10:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13048832 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 16870C43217 for ; Fri, 18 Nov 2022 22:11:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231597AbiKRWLU (ORCPT ); Fri, 18 Nov 2022 17:11:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbiKRWKu (ORCPT ); Fri, 18 Nov 2022 17:10:50 -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 5229631F97; Fri, 18 Nov 2022 14:10:46 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 23B51FF803; Fri, 18 Nov 2022 22:10:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668809444; 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=dTlVCjNqg7y+V9nyr2HcMm/ySt8TD7VcTdCsIjfxyEk=; b=bkpjiU4LieZ8FWVsrpD4k+CPoGhm7KnsZmEi7GbcLRYvFHBEkhFPzYk4RJJ5TZDxmKlkmh uvltaoOKpxHAXbghNiUgQRcZOPNkE35OF+EGSTknpxCfK8DyCHlalPAeZiEKgxX5AZ1nMO 5u9fxnqnksrZ8l9DXSE5d+CWRCLyefEOC1bJ3r7z+Q8aNvB90Mt57OzLr5XGKEURdfaAtt Fi4mGmjSL17FUmNc4OpPAtsKQVoXT21l3x0XRUYEOdTZjHpLoVMYy6ZklBMVJN8pvSCYc7 /iBrF7UCIIZd0ea/9YW6erKEEEW2uw6eeilCV3oNKrilRZTjID/ddI1tdHlTKw== 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 v2 0/2] IEEE 802.15.4 PAN discovery handling Date: Fri, 18 Nov 2022 23:10:39 +0100 Message-Id: <20221118221041.1402445-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello, 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 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(+) Acked-by: Alexander Aring