mac802154: move mac pib attributes into wpan_dev
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:45 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:27 +0000 (19:50 +0100)
commit863e88f255dac0657e57d5f1a1f95ee8733f8c13
treed1b5c0e373969cdd11c55e1fce9ba398cb05ae54
parentb0c42cd7b210efc74aa4bfc3e39a2814dfaa9b89
mac802154: move mac pib attributes into wpan_dev

This patch moves all mac pib attributes into the wpan_dev struct.
Furthermore we can easier access these attributes over the netdev
802154_ptr pointer. Currently this is only possible over a complicated
callback structure in mac802154 because subif data structure is
accessable inside mac802154 only.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/cfg802154.h
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/mib.c
net/mac802154/rx.c