43#ifndef CONFIG_CSMA_SENDER_MIN_BE_DEFAULT
44#define CONFIG_CSMA_SENDER_MIN_BE_DEFAULT (3U)
50#ifndef CONFIG_CSMA_SENDER_MAX_BE_DEFAULT
51#define CONFIG_CSMA_SENDER_MAX_BE_DEFAULT (5U)
58#ifndef CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT
59#define CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT (4U)
65#ifndef CONFIG_CSMA_SENDER_BACKOFF_PERIOD_UNIT
66#define CONFIG_CSMA_SENDER_BACKOFF_PERIOD_UNIT (320U)
Definitions low-level network driver interface.
struct netdev netdev_t
Forward declaration for netdev struct.
int csma_sender_cca_send(netdev_t *dev, iolist_t *iolist)
Sends a 802.15.4 frame when medium is available.
int csma_sender_csma_ca_send(netdev_t *dev, iolist_t *iolist, const csma_sender_conf_t *conf)
Sends a 802.15.4 frame using the CSMA/CA method.
const csma_sender_conf_t CSMA_SENDER_CONF_DEFAULT
Default configuration.
struct iolist iolist_t
iolist forward declaration
Configuration type for backoff.
uint16_t max_backoffs
maximum number of retries
uint8_t min_be
minimum backoff exponent
uint8_t max_be
maximum backoff exponent
uint32_t backoff_period
backoff period in microseconds
iolist structure definition