diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-17 08:20:52 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-17 09:49:16 +0100 |
commit | 0e57547eb7f0aa99aba32b50c49dbd722a80d6fb (patch) | |
tree | ca66721d651bfa5ca441546976a83dc2b88af86b /include/net/cfg802154.h | |
parent | f3ea5e44231a88eaea69a13410d1b80c19cfa1df (diff) | |
download | talos-obmc-linux-0e57547eb7f0aa99aba32b50c49dbd722a80d6fb.tar.gz talos-obmc-linux-0e57547eb7f0aa99aba32b50c49dbd722a80d6fb.zip |
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>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r-- | include/net/cfg802154.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 24c7321f3647..4a9bb0e3db2b 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -41,7 +41,8 @@ struct cfg802154_ops { struct net_device *dev); int (*add_virtual_intf)(struct wpan_phy *wpan_phy, const char *name, - enum nl802154_iftype type); + enum nl802154_iftype type, + __le64 extended_addr); int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); int (*set_pan_id)(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, u16 pan_id); |