]> git.karo-electronics.de Git - linux-beck.git/commit
ieee820154: add pan_id setting support
authorAlexander Aring <alex.aring@gmail.com>
Wed, 12 Nov 2014 02:36:57 +0000 (03:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Nov 2014 04:10:39 +0000 (05:10 +0100)
commit702bf371282f5912fe53f0b247fa2d7df9d7951f
tree123edbe0d9a6f8a361507bff5c7da83e1d0bd88d
parent820bd66fb28ce0c47cb024895d8bace58f5be56d
ieee820154: add pan_id setting support

This patch adds support for setting pan_id via nl802154 framework.
Adding a comment because setting 0xffff as pan_id seems to be valid
setting. The pan_id 0xffff as source pan is invalid. I am not sure now
about this setting but for the current netlink interface this is an
invalid setting, so we do the same now. Maybe we need to change that
when we have coordinator support and association support.

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