Skip to content

ieee802154: interface registration and perm address support

Alexander Aring linux-wpan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18ieee802154: rework wpan_phy index assignmentinclude/net/cfg802154.h net/ieee802154/core.c net/ieee802154/core.h+14 -200 replies
2/18ieee802154: remove nl802154 unused functionsMAINTAINERS include/net/nl802154.h net/ieee802154/nl-mac.c +1 more+6 -3100 replies
3/18mac802154: move interface del handling in ifacenet/mac802154/cfg.c net/mac802154/ieee802154_i.h net/mac802154/iface.c +1 more+16 -180 replies
4/18mac802154: move interface add handling in ifacenet/mac802154/cfg.c net/mac802154/ieee802154_i.h net/mac802154/iface.c +1 more+72 -680 replies
5/18mac802154: move dev_hold out of ieee802154_if_addnet/ieee802154/nl-phy.c net/mac802154/iface.c+1 -10 replies
6/18ieee802154: rework interface registrationinclude/net/cfg802154.h net/mac802154/cfg.c net/mac802154/ieee802154_i.h +1 more+92 -820 replies
7/18ieee802154: remove mlme get_phy callbackinclude/net/ieee802154_netdev.h net/ieee802154/6lowpan_rtnl.c net/ieee802154/nl-mac.c +3 more+6 -380 replies
8/18mac802154: add default interface registrationnet/mac802154/main.c+12 -00 replies
9/18mac802154: add ieee802154_vif structdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c include/net/mac802154.h +3 more+20 -80 replies
10/18ieee802154: add IEEE802154_EXTENDED_ADDR_LENinclude/linux/ieee802154.h+2 -00 replies
11/18ieee802154: add ieee802154_random_extended_addrinclude/linux/ieee802154.h+14 -02 replies
12/18mac802154: add ieee802154_le64_to_be64include/net/mac802154.h+13 -00 replies
13/18mac802154: cleanup ieee802154_netdev_to_extended_addrinclude/net/mac802154.h net/mac802154/iface.c+8 -50 replies
14/18mac802154: add support for perm_extended_addrinclude/net/cfg802154.h net/mac802154/iface.c+6 -00 replies
15/18at86rf230: generate random perm extended addressdrivers/net/ieee802154/at86rf230.c+1 -04 replies
16/18at86rf230: add force slotted operation bitdrivers/net/ieee802154/at86rf230.c+8 -00 replies
17/18mac802154: use IEEE802154_EXTENDED_ADDR_LENnet/mac802154/iface.c+2 -30 replies
18/18mac802154: fix typo promisuous to promiscuousnet/mac802154/ieee802154_i.h net/mac802154/iface.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bluetooth-next 00/18] ieee802154: interface registration and perm address support

This patch series contains various changes to make the 802.15.4 implementation similar like wireless/mac80211 implementation. Mainly changes are a complete rework for interface registration handling and supporting for perm address. The perm address can be set by driver layer and is the default "unique" extended address for the wpan_phy. Also we have now a default interface registration. This means a driver registrate a default wpan interface while registration the wpan_phy. No extra interface add handling via userspace tool is needed anymore.

Cc Varka Bhadram <[email protected]>

Alexander Aring (18):
ieee802154: rework wpan_phy index assignment
ieee802154: remove nl802154 unused functions
mac802154: move interface del handling in iface
mac802154: move interface add handling in iface
mac802154: move dev_hold out of ieee802154_if_add
ieee802154: rework interface registration
ieee802154: remove mlme get_phy callback
mac802154: add default interface registration
mac802154: add ieee802154_vif struct
ieee802154: add IEEE802154_EXTENDED_ADDR_LEN
ieee802154: add ieee802154_random_extended_addr
mac802154: add ieee802154_le64_to_be64
mac802154: cleanup ieee802154_netdev_to_extended_addr
mac802154: add support for perm_extended_addr
at86rf230: generate random perm extended address
at86rf230: add force slotted operation bit
mac802154: use IEEE802154_EXTENDED_ADDR_LEN
mac802154: fix typo promisuous to promiscuous

 MAINTAINERS                        |   1 -
 drivers/net/ieee802154/at86rf230.c |  10 ++
 drivers/net/ieee802154/cc2520.c    |   1 +
 include/linux/ieee802154.h         |  16 +++
 include/net/cfg802154.h            |   7 +-
 include/net/ieee802154_netdev.h    |  12 ---
 include/net/mac802154.h            |  32 +++++-
 include/net/nl802154.h             | 122 -----------------------
 net/ieee802154/6lowpan_rtnl.c      |   8 --
 net/ieee802154/core.c              |  30 +++---
 net/ieee802154/core.h              |   3 +
 net/ieee802154/nl-mac.c            | 193 ++-----------------------------------
 net/ieee802154/nl-phy.c            |   4 +-
 net/mac802154/cfg.c                |  14 ++-
 net/mac802154/ieee802154_i.h       |  14 ++-
 net/mac802154/iface.c              | 148 +++++++++++++++++++++-------
 net/mac802154/mac_cmd.c            |  20 ----
 net/mac802154/main.c               |  95 +++---------------
 net/mac802154/rx.c                 |   4 +-
 19 files changed, 237 insertions(+), 497 deletions(-)
 delete mode 100644 include/net/nl802154.h
Signature · 1 line
2.1.3