gnrc_mac_tx_t Struct Reference

MAC internal type for storing transmission state parameters and state machines. More...

Detailed Description

MAC internal type for storing transmission state parameters and state machines.

This structure can be extended to contain more needed states and parameters. Please guard them by appropriate #ifdef directives when applicable.

Definition at line 150 of file mac/types.h.

#include <net/gnrc/mac/types.h>

Data Fields

gnrc_mac_tx_neighbor_t neighbors [GNRC_MAC_NEIGHBOR_COUNT+1]
 Neighbor information units for one-hop neighbors. More...
 
gnrc_mac_tx_neighbor_tcurrent_neighbor
 Neighbor information unit of destination node to which the current packet will be sent.
 
gnrc_priority_pktqueue_t queue
 If neighbor queues is not used, define a single queue for managing TX packets. More...
 
gnrc_priority_pktqueue_node_t _queue_nodes [GNRC_MAC_TX_QUEUE_SIZE]
 Shared buffer for TX queue nodes.
 
gnrc_pktsnip_tpacket
 currently scheduled packet for sending
 

Field Documentation

◆ neighbors

gnrc_mac_tx_neighbor_t gnrc_mac_tx_t::neighbors[GNRC_MAC_NEIGHBOR_COUNT+1]

Neighbor information units for one-hop neighbors.

First unit is for broadcast (+1)

Definition at line 152 of file mac/types.h.

◆ queue

gnrc_priority_pktqueue_t gnrc_mac_tx_t::queue

If neighbor queues is not used, define a single queue for managing TX packets.

Definition at line 160 of file mac/types.h.


The documentation for this struct was generated from the following file: