From patchwork Fri Jun 3 18:21:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 12869300 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 BF8C7CCA473 for ; Fri, 3 Jun 2022 18:34:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347633AbiFCSeN (ORCPT ); Fri, 3 Jun 2022 14:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347303AbiFCSeC (ORCPT ); Fri, 3 Jun 2022 14:34:02 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E893715FCA; Fri, 3 Jun 2022 11:21:46 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id F40E720002; Fri, 3 Jun 2022 18:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1654280505; 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=rk+/DEwzRe428tJYay7QpSriG8FWWAXiVMpdZZdxlDM=; b=gYD52ffGv2baRvcze/VuYQIDR/P0e/atk21IlbwLPkKefQO2DXvi78K8x99rc0qVHu7JPU Lha2x3f7Q7RlIhfVdmBVKUeMFYtUlMYWahT+z1/psb98dh9VaW7/ppAomLzPQlirIToiW9 JAEhSuB7F2hMO+/dkHBOubifgkpnOZb2QOjt+oXO3xc0EsrRP9G07owtQz4kR6zk+AlDqS fMzuIMNabWRSsv/CxvULFI657hm5I7W+fGP2tJcyqUa3WniSQtFsKKBZF/YpNQLT4mUoGX dCVw+NlB9TxJFuumjIHUW4ubpk1ol6yBRY+OiuKWjSuwbD9YDYYa3uI0M+RRSA== From: Miquel Raynal To: Alexander Aring , Stefan Schmidt , linux-wpan@vger.kernel.org Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, David Girault , Romuald Despres , Frederic Blain , Nicolas Schodet , Thomas Petazzoni , Miquel Raynal Subject: [PATCH wpan-next 0/6] net: ieee802154: PAN management Date: Fri, 3 Jun 2022 20:21:37 +0200 Message-Id: <20220603182143.692576-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 step before adding scan support, we need to introduce a proper PAN description (with its main properties) and PAN management helpers. This series provides generic code to do simple operations on PANs and PAN coordinators. Thanks, Miquèl David Girault (1): net: ieee802154: Trace the registration of new PANs Miquel Raynal (5): net: ieee802154: Drop coordinator interface type net: ieee802154: Add support for internal PAN management net: ieee802154: Create a node type net: ieee802154: Add the PAN coordinator information net: ieee802154: Full PAN management include/net/cfg802154.h | 31 +++++ include/net/nl802154.h | 61 +++++++++- net/ieee802154/Makefile | 2 +- net/ieee802154/core.c | 2 + net/ieee802154/core.h | 42 +++++++ net/ieee802154/nl802154.c | 232 ++++++++++++++++++++++++++++++++++- net/ieee802154/pan.c | 246 ++++++++++++++++++++++++++++++++++++++ net/ieee802154/trace.h | 25 ++++ 8 files changed, 636 insertions(+), 5 deletions(-) create mode 100644 net/ieee802154/pan.c