]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: move phy settings into netlink receive
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 03:18:44 +0000 (04:18 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 03:51:07 +0000 (04:51 +0100)
commitcfe6a6c59b96971e625703f426ee1ccf319dbe3a
tree424c93e1b35f1c581398fa566ce4ff534d2b1dda
parentab3c87c63353e1f52d27f9e19ba03eee9509360a
mac802154: move phy settings into netlink receive

All PHY attributes should be directly set to the transceiver after netlink.
MAC attributes should be set by interface up. Currently the macparams
netlink cmd contains mixed attributes of phy and mac settings. This patch
moves all phy settings to the netlink receive function for setting macparams.
This is the only way which doesn't change the userspace API and keep the
deprecated netlink interface alive.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/iface.c
net/mac802154/mac_cmd.c