Internal data types used by GNRC_MAC. More...

Detailed Description

#include <stdint.h>
#include <stdbool.h>
#include <kernel_types.h>
#include <net/gnrc.h>
#include <net/gnrc/priority_pktqueue.h>
#include <net/ieee802154.h>
#include <net/gnrc/mac/mac.h>
+ Include dependency graph for types.h:
+ This graph shows which files directly or indirectly include this file:

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_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. More...
 
#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. More...
 
#define GNRC_MAC_TX_INIT
 Static initializer for gnrc_mac_tx_t. More...
 
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...
 

Macro Definition Documentation

#define GNRC_MAC_RX_INIT
Value:
{ \
{ NULL }, \
}
#define PRIORITY_PKTQUEUE_NODE_INIT(priority, pkt)
Static initializer for gnrc_priority_pktqueue_node_t.
#define PRIORITY_PKTQUEUE_INIT
Static initializer for gnrc_priority_pktqueue_t.

Definition at line 74 of file types.h.

#define GNRC_MAC_TX_INIT
Value:
{ \
NULL, \
NULL, \
}
#define PRIORITY_PKTQUEUE_NODE_INIT(priority, pkt)
Static initializer for gnrc_priority_pktqueue_node_t.
#define GNRC_MAC_TX_NEIGHBOR_INIT
Static initializer for gnrc_mac_tx_neighbor_t.
Definition: types.h:119

Definition at line 165 of file types.h.

#define GNRC_MAC_TX_NEIGHBOR_INIT
Value:
{ \
{ 0 }, \
0, \
}
#define GNRC_MAC_PHASE_UNINITIALIZED
Uninitialized phase value.
Definition: types.h:108
#define PRIORITY_PKTQUEUE_INIT
Static initializer for gnrc_priority_pktqueue_t.

Definition at line 119 of file types.h.

Enumeration Type Documentation

Enumerator
TX_FEEDBACK_UNDEF 

Transmission just start, no Tx feedback yet.

TX_FEEDBACK_SUCCESS 

Transmission succeeded.

TX_FEEDBACK_NOACK 

No ACK for the transmitted packet.

TX_FEEDBACK_BUSY 

found medium busy when doing transmission

Definition at line 39 of file types.h.