]> git.baikalelectronics.ru Git - kernel.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)
commit71221c34c03a53c6d92651a21df981e5942563bc
tree123edbe0d9a6f8a361507bff5c7da83e1d0bd88d
parent8d8be8e8d525c3fe6ce7b21fc48c9490ed545a0d
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