1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 17:31:18 +01:00

ieee802154: add default max frame retransmissions config

This commit is contained in:
Jose Alamos 2022-06-27 14:49:06 +02:00
parent 6e41c685b2
commit 0a76a88dc8
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9
2 changed files with 12 additions and 0 deletions

View File

@ -301,6 +301,13 @@ extern const uint8_t ieee802154_addr_bcast[IEEE802154_ADDR_BCAST_LEN];
#define CONFIG_IEEE802154_CCA_THRESH_DEFAULT (-70)
#endif
/**
* @brief IEEE802.15.4 default value for maximum frame retries.
*/
#ifndef CONFIG_IEEE802154_DEFAULT_MAX_FRAME_RETRANS
#define CONFIG_IEEE802154_DEFAULT_MAX_FRAME_RETRANS (4U)
#endif
/**
* @brief Disable Auto ACK support
*/

View File

@ -103,6 +103,11 @@ if KCONFIG_USEMODULE_IEEE802154
config IEEE802154_DEFAULT_CSMA_CA_MAX
int "IEEE802.15.4 default CSMA-CA maximum backoff exponent"
default 5
config IEEE802154_DEFAULT_MAX_FRAME_RETRANS
int "IEEE802.15.4 default maximum frame retransmissions"
default 4
config IEEE802154_AUTO_ACK_DISABLE
bool "Disable Auto ACK support" if !USEPKG_OPENWSN
default y if USEPKG_OPENWSN