From 090dff13d635d96a47bef2bfd118b29c936ac363 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Mon, 1 Jul 2024 21:02:53 +0200 Subject: [PATCH] Tune TX back-off times See comments in config.h for background info. --- impl/src/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/impl/src/config.h b/impl/src/config.h index 752a768..b68d578 100644 --- a/impl/src/config.h +++ b/impl/src/config.h @@ -5,9 +5,9 @@ /*** TIMING CONFIG ***/ -#define TX_SWITCH_BACKOFF_PREAMBLE_MS 10 // only relevant if packet cannot be decoded -#define TX_SWITCH_BACKOFF_END_OF_PACKET_MS 1 -#define TX_SWITCH_BACKOFF_AFTER_RX_ON 500 // time the transceiver must stay in RX mode +#define TX_SWITCH_BACKOFF_PREAMBLE_MS 42 // only relevant if packet cannot be decoded (maximum packet duration) +#define TX_SWITCH_BACKOFF_END_OF_PACKET_MS 5 // wait for 2*(preamble+rampup+rampdown duration) +#define TX_SWITCH_BACKOFF_AFTER_RX_ON 70 // time the transceiver must stay in RX mode (depends on the RX->TX switch time of the other station) /*** LAYER 1 CONFIG ***/