RX_GATE_MAX_STRIKES

Constant RX_GATE_MAX_STRIKES 

Source
pub const RX_GATE_MAX_STRIKES: u8 = 3;
Expand description

Maximum consecutive TX requests refused with TxError::CadTimeout while a reception appears to be in progress (preamble seen, frame not finished).

Refusing without touching the radio keeps the in-flight frame receivable — tearing down RX for the CAD gate would lose it, and the gate would report busy anyway. The chip raises no IRQ when a detected preamble turns out to be noise, so the flag can go stale; after this many refusals the next request falls through to the radio’s own CAD, which either confirms the channel is busy or clears the way (the TX path re-prepares RX afterwards, resetting the gate).