Skip to content

demo: surface decoded RX PHY (bw/stbc/ldpc/sgi) in <devourer-stream>#104

Merged
josephnef merged 1 commit into
masterfrom
feat/stream-phy-fields
Jun 25, 2026
Merged

demo: surface decoded RX PHY (bw/stbc/ldpc/sgi) in <devourer-stream>#104
josephnef merged 1 commit into
masterfrom
feat/stream-phy-fields

Conversation

@josephnef

Copy link
Copy Markdown
Collaborator

The <devourer-stream> RX line emitted only the rate index. This adds the bandwidth, STBC, LDPC (FEC) and short-GI fields (already in RxAtrib) so an external reference — e.g. an SDR-as-TX completeness harness — can assert that a received frame carries the PHY the transmitter actually encoded.

  • Fields are inserted before body=, so the trailing hex-dump pattern downstream regex consumers key on is unchanged (same pass-through convention as the pre-Phy-level soft metrics on stream lines + BER-vs-SNR analyser #84 optional fields).
  • Valid on RTL8812AU / 8821AU. On 8814AU the RX descriptor doesn't expose these at this offset, so they read as chip defaults there (noted in the comment).
  • tests/verify_stream_fields.sh: two-adapter loopback (no SDR) confirming the new fields appear on canonical-SA frames.

Enables the SDR completeness work (josephnef/sdr2wifi) to validate the RX direction.

Generated with Claude Code

The <devourer-stream> line emitted only the rate index. Add the bandwidth,
STBC, LDPC (FEC) and short-GI fields already present in RxAtrib so an
external reference (e.g. an SDR-as-TX completeness harness) can assert the
frame devourer received carries the PHY the transmitter encoded. Inserted
before body= so the trailing hex-dump pattern downstream regex consumers
key on is unchanged. Valid on 8812/8821; the 8814AU RX descriptor doesn't
expose these at this offset, so they read as chip defaults there.

tests/verify_stream_fields.sh: two-adapter loopback (no SDR) confirming the
new fields appear on canonical-SA frames.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@josephnef josephnef merged commit 2923a6b into master Jun 25, 2026
6 checks passed
@josephnef josephnef deleted the feat/stream-phy-fields branch June 25, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant