The current mac802154 stack allows an arbitrary number of WPAN netdevs for any given PHY, which is not sensible and not supported by all hardware with in-tree drivers. Also, previous commits have introduced configuration options that apply to WPAN devices, but were set to apply to the underlying PHY.
This patch set fixes both, allowing only one WPAN device to be up at any given time, and making WPAN-related settings per-WPAN instead of per-PHY. --- Phoebe Buckheister (2): mac802154: allow only one WPAN to be up at any given time mac802154: make csma/cca parameters per-wpan include/linux/nl802154.h | 2 +- include/net/ieee802154_netdev.h | 17 ++++ net/ieee802154/ieee802154.h | 2 +- net/ieee802154/netlink.c | 2 +- net/ieee802154/nl-mac.c | 122 +++++++++++++++++++++++- net/ieee802154/nl-phy.c | 200 +-------------------------------------- net/ieee802154/wpan-class.c | 6 -- net/mac802154/ieee802154_dev.c | 25 +++++ net/mac802154/mac802154.h | 10 ++ net/mac802154/mac_cmd.c | 3 + net/mac802154/wpan.c | 89 ++++++++++++++++- 11 files changed, 266 insertions(+), 212 deletions(-) ------------------------------------------------------------------------------ _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel