]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - net/ieee802154/core.h
mac802154: introduce mac802154_config_ops
[mirror_ubuntu-artful-kernel.git] / net / ieee802154 / core.h
CommitLineData
a5dd1d72
AA
1#ifndef __IEEE802154_CORE_H
2#define __IEEE802154_CORE_H
3
4#include <net/cfg802154.h>
5
6struct cfg802154_registered_device {
7 const struct cfg802154_ops *ops;
8
9 /* must be last because of the way we do wpan_phy_priv(),
10 * and it should at least be aligned to NETDEV_ALIGN
11 */
12 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
13};
14
15/* free object */
16void cfg802154_dev_free(struct cfg802154_registered_device *rdev);
17
18#endif /* __IEEE802154_CORE_H */