blob: 26752ca54b4ff21fb7cb07053e27224e482ba20d [file] [log] [blame]
Alexander Aringa5dd1d72014-11-02 04:18:35 +01001#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 */