]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mac802154: make csma/cca parameters per-wpan
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Mon, 31 Mar 2014 19:37:46 +0000 (21:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Apr 2014 20:25:51 +0000 (16:25 -0400)
commite462ded699aa2cca04b68fbf203ea4675d4c44d4
tree4c7b2f9d1e456acad01eb052f2dfa7d8533d92d8
parent336908f6d73ca297bd46948eb5d04d2020a88606
mac802154: make csma/cca parameters per-wpan

Commit 9b2777d6089bcd (ieee802154: add TX power control to wpan_phy)
and following erroneously added CSMA and CCA parameters for 802.15.4
devices as PHY parameters, while they are actually MAC parameters and
can differ for any two WPAN instances. Since it is now sensible to have
multiple WPAN devices with differing CSMA/CCA parameters, make these
parameters MAC parameters instead.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/nl802154.h
include/net/ieee802154_netdev.h
net/ieee802154/ieee802154.h
net/ieee802154/netlink.c
net/ieee802154/nl-mac.c
net/ieee802154/nl-phy.c
net/ieee802154/wpan-class.c
net/mac802154/ieee802154_dev.c
net/mac802154/mac802154.h
net/mac802154/mac_cmd.c
net/mac802154/wpan.c