22 #ifndef NET_NETDEV_IEEE802154_SUBMAC_H
23 #define NET_NETDEV_IEEE802154_SUBMAC_H
31 #include "net/ieee802154/submac.h"
32 #include "net/ieee802154/radio.h"
40 #define NETDEV_SUBMAC_FLAGS_ACK_TIMEOUT (1 << 0)
41 #define NETDEV_SUBMAC_FLAGS_TX_DONE (1 << 1)
42 #define NETDEV_SUBMAC_FLAGS_RX_DONE (1 << 2)
Definitions for netdev common IEEE 802.15.4 code.
int isr_flags
netdev submac NETDEV_EVENT_ISR flags
Provides a callback-with-argument event type.
netdev_ieee802154_t dev
IEEE 802.15.4 netdev descriptor.
Provides utility functions for event handler threads.
Definitions low-level network driver interface.
the IEEE802.15.4 device descriptor
int8_t retrans
number of frame retransmissions of the last TX
Extended structure to hold IEEE 802.15.4 driver state.
IEEE 802.15.4 SubMAC descriptor.
ieee802154_submac_t submac
IEEE 802.15.4 SubMAC descriptor.
xtimer_t ack_timer
xtimer descriptor for the ACK timeout timer
int netdev_ieee802154_submac_init(netdev_ieee802154_submac_t *netdev_submac, ieee802154_dev_t *dev)
Init the IEEE 802.15.4 SubMAC netdev adoption.
IEEE 802.15.4 SubMAC netdev descriptor.
xtimer interface definitions