Internal data types used by GNRC_MAC. More...
Internal data types used by GNRC_MAC.
Definition in file types.h.
#include <stdint.h>
#include <stdbool.h>
#include "net/gnrc/pkt.h"
#include "net/gnrc/priority_pktqueue.h"
#include "net/ieee802154.h"
#include "net/gnrc/mac/mac.h"
Go to the source code of this file.
Data Structures | |
struct | gnrc_mac_rx_t |
MAC internal type for storing reception state parameters and state machines. More... | |
struct | gnrc_mac_tx_neighbor_t |
type for storing states of TX neighbor node. More... | |
struct | gnrc_mac_tx_t |
MAC internal type for storing transmission state parameters and state machines. More... | |
#define | GNRC_MAC_TYPE_GET_DUTYCYCLE (0x4401) |
MAC message type for getting radio's duty-cycle. | |
#define | GNRC_MAC_TX_FEEDBACK_INIT { TX_FEEDBACK_UNDEF } |
Static initializer for gnrc_mac_tx_feedback_t. | |
#define | GNRC_MAC_RX_INIT |
Static initializer for gnrc_mac_rx_t. | |
#define | GNRC_MAC_PHASE_UNINITIALIZED (0) |
Uninitialized phase value. | |
#define | GNRC_MAC_PHASE_MAX (-1) |
Maximum phase value. | |
#define | GNRC_MAC_TX_NEIGHBOR_INIT |
Static initializer for gnrc_mac_tx_neighbor_t. | |
#define | GNRC_MAC_TX_INIT |
Static initializer for gnrc_mac_tx_t. | |
enum | gnrc_mac_tx_feedback_t { TX_FEEDBACK_UNDEF = 0 , TX_FEEDBACK_SUCCESS , TX_FEEDBACK_NOACK , TX_FEEDBACK_BUSY } |
definition for device transmission feedback types More... | |
#define GNRC_MAC_PHASE_UNINITIALIZED (0) |
#define GNRC_MAC_RX_INIT |
Static initializer for gnrc_mac_rx_t.
#define GNRC_MAC_TX_FEEDBACK_INIT { TX_FEEDBACK_UNDEF } |
#define GNRC_MAC_TX_INIT |
Static initializer for gnrc_mac_tx_t.
#define GNRC_MAC_TX_NEIGHBOR_INIT |
Static initializer for gnrc_mac_tx_neighbor_t.
#define GNRC_MAC_TYPE_GET_DUTYCYCLE (0x4401) |