Loading...
Searching...
No Matches

Common MAC module definitions for Network interface API More...

Detailed Description

+ Include dependency graph for mac.h:

Go to the source code of this file.

Data Structures

struct  gnrc_netif_mac_t
 Common MAC module component of gnrc_netif_mac_t More...
 
#define GNRC_NETIF_MAC_INFO_TX_FEEDBACK_MASK   (0x0003U)
 Mask for gnrc_mac_tx_feedback_t.
 
#define GNRC_NETIF_MAC_INFO_RX_STARTED   (0x0004U)
 Flag to track if a transmission might have corrupted a received packet.
 
#define GNRC_NETIF_MAC_INFO_CSMA_ENABLED   (0x0100U)
 Flag to track if a device has enabled CSMA for transmissions.
 

Macro Definition Documentation

◆ GNRC_NETIF_MAC_INFO_CSMA_ENABLED

#define GNRC_NETIF_MAC_INFO_CSMA_ENABLED   (0x0100U)

Flag to track if a device has enabled CSMA for transmissions.

In case the device doesn't support on-chip CSMA and this flag is set for requiring CSMA transmission, then, the device will run software CSMA using csma_sender APIs.

Definition at line 46 of file mac.h.

◆ GNRC_NETIF_MAC_INFO_RX_STARTED

#define GNRC_NETIF_MAC_INFO_RX_STARTED   (0x0004U)

Flag to track if a transmission might have corrupted a received packet.

Definition at line 37 of file mac.h.

◆ GNRC_NETIF_MAC_INFO_TX_FEEDBACK_MASK

#define GNRC_NETIF_MAC_INFO_TX_FEEDBACK_MASK   (0x0003U)

Mask for gnrc_mac_tx_feedback_t.

Definition at line 31 of file mac.h.