All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: Alexander Aring <alex.aring@gmail.com>,
	Stefan Schmidt <stefan@datenfreihafen.org>,
	netdev@vger.kernel.org, linux-wpan@vger.kernel.org
Subject: pull-request: ieee802154 for net-next 2023-12-20
Date: Wed, 20 Dec 2023 09:55:56 +0100	[thread overview]
Message-ID: <20231220095556.4d9cef91@xps-13> (raw)

Hello Dave, Jakub, Paolo, Eric.

This is the ieee802154 pull-request for your *net-next* tree.

Thanks,
Miquèl

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/wpan/wpan-next.git tags/ieee802154-for-net-next-2023-12-20

for you to fetch changes up to 2373699560a754079579b7722b50d1d38de1960e:

  mac802154: Avoid new associations while disassociating (2023-12-15 11:14:57 +0100)

----------------------------------------------------------------
This pull request mainly brings support for dynamic associations in the
WPAN world. Thanks to the recent improvements it was possible to
discover nearby devices, it is now also possible to associate with them
to form a sub-network using a specific PAN ID. The support includes
several functions, such as:
* Requesting an association to a coordinator, waiting for the response
* Sending a disassociation notification to a coordinator
* Receiving an association request when we are coordinator, answering
  the request (for now all devices are accepted up to a limit, to be
  refined)
* Sending a disassociation notification to a child
* Users may request the list of associated devices (the parent and the
  children).

Here are a few example of userspace calls that can be made:
iwpan dev <dev> associate pan_id 2 coord $COORD
iwpan dev <dev> list_associations
iwpan dev <dev> disassociate ext_addr $COORD

There are as well two patches from Uwe turning remove callbacks into
void functions.

----------------------------------------------------------------
Miquel Raynal (16):
      ieee802154: Let PAN IDs be reset
      ieee802154: Internal PAN management
      ieee802154: Add support for user association requests
      mac802154: Handle associating
      ieee802154: Add support for user disassociation requests
      mac802154: Handle disassociations
      mac802154: Handle association requests from peers
      ieee802154: Add support for limiting the number of associated devices
      mac802154: Follow the number of associated devices
      mac802154: Handle disassociation notifications from peers
      ieee802154: Give the user the association list
      mac80254: Provide real PAN coordinator info in beacons
      mac802154: Use the PAN coordinator parameter when stamping packets
      mac802154: Only allow PAN controllers to process association requests
      ieee802154: Avoid confusing changes after associating
      mac802154: Avoid new associations while disassociating

Uwe Kleine-König (2):
      ieee802154: fakelb: Convert to platform remove callback returning void
      ieee802154: hwsim: Convert to platform remove callback returning void

 drivers/net/ieee802154/fakelb.c          |   5 +-
 drivers/net/ieee802154/mac802154_hwsim.c |   6 +--
 include/net/cfg802154.h                  |  72 +++++++++++++++++++++++++++++
 include/net/ieee802154_netdev.h          |  60 ++++++++++++++++++++++++
 include/net/nl802154.h                   |  22 ++++++++-
 net/ieee802154/Makefile                  |   2 +-
 net/ieee802154/core.c                    |  24 ++++++++++
 net/ieee802154/nl802154.c                | 249 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 net/ieee802154/pan.c                     | 109 ++++++++++++++++++++++++++++++++++++++++++++
 net/ieee802154/rdev-ops.h                |  30 ++++++++++++
 net/ieee802154/trace.h                   |  38 ++++++++++++++++
 net/mac802154/cfg.c                      | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 net/mac802154/ieee802154_i.h             |  27 +++++++++++
 net/mac802154/main.c                     |   2 +
 net/mac802154/rx.c                       |  36 +++++++++++++--
 net/mac802154/scan.c                     | 407 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 16 files changed, 1227 insertions(+), 37 deletions(-)
 create mode 100644 net/ieee802154/pan.c

             reply	other threads:[~2023-12-20  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  8:55 Miquel Raynal [this message]
2023-12-22 14:20 ` pull-request: ieee802154 for net-next 2023-12-20 Miquel Raynal
2024-01-04 22:31   ` Jakub Kicinski
2024-01-08  7:28     ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231220095556.4d9cef91@xps-13 \
    --to=miquel.raynal@bootlin.com \
    --cc=alex.aring@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stefan@datenfreihafen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.