pub struct MacTiming {
pub ack_tx_delay: Duration,
pub ack_timeout: Duration,
pub tx_retry_delay: Duration,
pub recover_backoff: Duration,
}Expand description
Tunable MAC-layer timing knobs, owned by the Runner.
Use MacTiming::defaults (also available as Default::default) to
keep the historical values that today’s first-cut Stack uses.
Fields§
§ack_tx_delay: DurationPause inserted between handing the radio a packet that requested an ACK and emitting the ACK reply, so the original sender has time to transition back to RX. Default: 10 ms.
ack_timeout: DurationPer-attempt window to wait for the requested ACK before retrying. Default: 50 ms.
tx_retry_delay: DurationPause between consecutive TX attempts when the previous attempt’s ACK timed out. Default: 200 ms.
recover_backoff: DurationPause between unsuccessful Transceiver::recover
attempts while the link is Down. The Runner re-invokes recover on
the next loop iteration with this gap so a stuck radio doesn’t spin
the executor at full speed. Default: 500 ms.