Loading...
Searching...
No Matches
ieee802154_submac Struct Reference

IEEE 802.15.4 SubMAC descriptor. More...

Detailed Description

IEEE 802.15.4 SubMAC descriptor.

Definition at line 191 of file submac.h.

#include <submac.h>

Data Fields

ieee802154_dev_t dev
 802.15.4 HAL descriptor
 
eui64_t ext_addr
 IEEE 802.15.4 extended address.
 
network_uint16_t short_addr
 IEEE 802.15.4 short address.
 
const ieee802154_submac_cb_tcb
 pointer to the SubMAC callbacks
 
ieee802154_csma_be_t be
 CSMA-CA backoff exponent params.
 
bool wait_for_ack
 SubMAC is waiting for an ACK frame.
 
uint16_t panid
 IEEE 802.15.4 PAN ID.
 
uint16_t channel_num
 IEEE 802.15.4 channel number.
 
uint8_t channel_page
 IEEE 802.15.4 channel page.
 
uint8_t retrans
 current number of retransmissions
 
uint8_t csma_retries_nb
 current number of CSMA-CA retries
 
uint8_t backoff_mask
 internal value used for random backoff calculation
 
uint8_t csma_retries
 maximum number of CSMA-CA retries
 
int8_t tx_pow
 Transmission power (in dBm)
 
ieee802154_fsm_state_t fsm_state
 State of the SubMAC.
 
ieee802154_phy_mode_t phy_mode
 IEEE 802.15.4 PHY mode.
 
const iolist_tpsdu
 stores the current PSDU
 

Field Documentation

◆ backoff_mask

uint8_t ieee802154_submac::backoff_mask

internal value used for random backoff calculation

Definition at line 203 of file submac.h.

◆ be

ieee802154_csma_be_t ieee802154_submac::be

CSMA-CA backoff exponent params.

Definition at line 196 of file submac.h.

◆ cb

const ieee802154_submac_cb_t* ieee802154_submac::cb

pointer to the SubMAC callbacks

Definition at line 195 of file submac.h.

◆ channel_num

uint16_t ieee802154_submac::channel_num

IEEE 802.15.4 channel number.

Definition at line 199 of file submac.h.

◆ channel_page

uint8_t ieee802154_submac::channel_page

IEEE 802.15.4 channel page.

Definition at line 200 of file submac.h.

◆ csma_retries

uint8_t ieee802154_submac::csma_retries

maximum number of CSMA-CA retries

Definition at line 204 of file submac.h.

◆ csma_retries_nb

uint8_t ieee802154_submac::csma_retries_nb

current number of CSMA-CA retries

Definition at line 202 of file submac.h.

◆ dev

ieee802154_dev_t ieee802154_submac::dev

802.15.4 HAL descriptor

Definition at line 192 of file submac.h.

◆ ext_addr

eui64_t ieee802154_submac::ext_addr

IEEE 802.15.4 extended address.

Definition at line 193 of file submac.h.

◆ fsm_state

ieee802154_fsm_state_t ieee802154_submac::fsm_state

State of the SubMAC.

Definition at line 206 of file submac.h.

◆ panid

uint16_t ieee802154_submac::panid

IEEE 802.15.4 PAN ID.

Definition at line 198 of file submac.h.

◆ phy_mode

ieee802154_phy_mode_t ieee802154_submac::phy_mode

IEEE 802.15.4 PHY mode.

Definition at line 207 of file submac.h.

◆ psdu

const iolist_t* ieee802154_submac::psdu

stores the current PSDU

Definition at line 208 of file submac.h.

◆ retrans

uint8_t ieee802154_submac::retrans

current number of retransmissions

Definition at line 201 of file submac.h.

◆ short_addr

network_uint16_t ieee802154_submac::short_addr

IEEE 802.15.4 short address.

Definition at line 194 of file submac.h.

◆ tx_pow

int8_t ieee802154_submac::tx_pow

Transmission power (in dBm)

Definition at line 205 of file submac.h.

◆ wait_for_ack

bool ieee802154_submac::wait_for_ack

SubMAC is waiting for an ACK frame.

Definition at line 197 of file submac.h.


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