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)
commitf59f419d31ee27c131b44beda5b14b8ce0aaf519
tree424c93e1b35f1c581398fa566ce4ff534d2b1dda
parent50c79075019e7b952327cfebf0681548573fd8e5
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