Loading...
Searching...
No Matches
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 172 of file types.h.

#include <types.h>

Data Fields

gnrc_mac_tx_neighbor_t neighbors [CONFIG_GNRC_MAC_NEIGHBOR_COUNT+1]
 Neighbor information units for one-hop neighbors.
 
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.
 
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

◆ _queue_nodes

Shared buffer for TX queue nodes.

Definition at line 186 of file types.h.

◆ current_neighbor

gnrc_mac_tx_neighbor_t* gnrc_mac_tx_t::current_neighbor

Neighbor information unit of destination node to which the current packet will be sent.

Definition at line 176 of file types.h.

◆ neighbors

Neighbor information units for one-hop neighbors.

First unit is for broadcast (+1)

Definition at line 174 of file types.h.

◆ packet

gnrc_pktsnip_t* gnrc_mac_tx_t::packet

currently scheduled packet for sending

Definition at line 187 of file 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 182 of file types.h.


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