pub struct OfdmProbeFrame {
pub sequence_num: Option<u32>,
pub constellation: ConstellationOrder,
pub codeword_bits: usize,
pub codeword_info_bits: usize,
pub decoded: bool,
/* private fields */
}Expand description
One frame’s probe record: where its symbols and correction map live inside
the owning OfdmRxProbe’s flat buffers, plus the metadata needed to render
them.
Fields§
§sequence_num: Option<u32>The frame’s sequence number, or None when the link carries no
header-derived one. Always Some on the header-bearing COFDM path this
receiver decodes — a frame whose header fails never reaches the payload
demapper and so produces no probe record at all.
constellation: ConstellationOrderThe payload constellation the symbols were demapped against, so a display can draw the right reference points without re-reading the MCS table.
codeword_bits: usizeThe inner code’s codeword length n, so a display can draw codeword
boundaries across the map. 0 when the inner code has no block
structure to draw — InnerFec::None and
the convolutional arm, which terminates once per frame rather than per
codeword.
codeword_info_bits: usizeThe inner code’s information length k, on the same terms as
codeword_bits. For a systematic code the first
k bits of each codeword are the message.
decoded: boolWhether the payload decoded and passed its integrity check. false ⇒
there is no ground truth, so ProbedFrame::correction is empty and
only the symbols are meaningful.
The map therefore empties exactly when the link is worst. That is honest — nothing can be measured against a payload that did not verify — but it has to be rendered as “no ground truth”, not as “no errors”.
Trait Implementations§
Source§impl Clone for OfdmProbeFrame
impl Clone for OfdmProbeFrame
Source§fn clone(&self) -> OfdmProbeFrame
fn clone(&self) -> OfdmProbeFrame
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more