ieee802154: setting extended address while iface add
authorAlexander Aring <alex.aring@gmail.com>
Mon, 17 Nov 2014 07:20:52 +0000 (08:20 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 17 Nov 2014 08:49:16 +0000 (09:49 +0100)
commit0e57547eb7f0aa99aba32b50c49dbd722a80d6fb
treeca66721d651bfa5ca441546976a83dc2b88af86b
parentf3ea5e44231a88eaea69a13410d1b80c19cfa1df
ieee802154: setting extended address while iface add

This patch adds support for setting an extended address while
registration a new interface. If ieee802154_is_valid_extended_addr
getting as parameter and invalid extended address then the perm address
is fallback. This is useful to make some default handling while for
example default registration of a wpan interface while phy registration.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/cfg802154.h
net/ieee802154/nl802154.c
net/ieee802154/rdev-ops.h
net/mac802154/cfg.c
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/main.c