pub struct Feedback {
pub ack_through: u32,
pub nak_block: u32,
pub nak_mask: u32,
pub loss_x255: u8,
pub burstiness_x255: u8,
pub owd_trend_class: u8,
pub loss_class: u8,
}Expand description
The receiver-side control state - ack frontier, selective NAK, and the
fused channel readings - that the bridge carries as Ack / Nak / Loss
frames in a crate::control_frame CONTROL packet. Kept as a struct
because it is the form the sender’s controller already consumes.
Fields§
§ack_through: u32Next block the receiver still needs (everything below is delivered); the sender frees retransmit state below this.
nak_block: u32Block whose missing shards should be retransmitted, or
NAK_NONE.
nak_mask: u32Bitmap of MISSING shard indices in nak_block.
loss_x255: u8Estimated loss fraction scaled to 0..=255.
burstiness_x255: u8Estimated burstiness scaled to 0..=255 (clustering of loss).
owd_trend_class: u8One-way-delay trend class: 0 = falling, 1 = flat, 2 = rising.
loss_class: u8Loss-class code (0 = no loss, 1 = wireless, 2 = congestion, 3 = mixed)
from the receiver’s crate::loss_class_sensor.