pull-request: ieee802154 for net-next 2023-12-20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx: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





[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux