]> 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)
commit7d410e87ee2f463ce7c380b54e93ce476bf6b1c3
tree424c93e1b35f1c581398fa566ce4ff534d2b1dda
parentc5cf13c4ae254cce65dfd3ef11f15bbda4932927
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