Measure hw_injected_mgmt_txtsf on the 8812AU, 8814AU and MT7612U

Aperta
#477 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, shell
Ambito
networking

Direzione di ricerca

Start with tests/probe_resp_egress_tsf_check.sh, which is the gate that measures whether the MAC overwrites the timestamp of an injected probe response, and with the AdapterCaps::hw_injected_mgmt_txtsf flag it feeds. This needs physical 8812AU, 8814AU and MT7612U adapters, so the first step is confirming hardware access. Done means each adapter has a recorded gate result, and where it is true, the flag is set in that family's GetAdapterCaps as described in docs/stream-timing.md.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

AdapterCaps::hw_injected_mgmt_txtsf says whether the MAC overwrites the timestamp field of a host-injected probe response / beacon with its live egress TSF. Measured with tests/probe_resp_egress_tsf_check.sh: true on Jaguar2 (8812BU), Jaguar3 (8812CU, 8812EU) and Kestrel (8832CU); false on Jaguar1 — the 8821AU rewrites the field with a free-running ~40-bit microsecond counter that is neither REG_TSFTR nor REG_TSFTR1 (both sampled live during the run with PR0_REGS=1), held for ~7 frames at a time. Its hardware TBTT beacon IS stamped (3.2 µs spread).

Open:

  • the 8812AU and 8814AU were not plugged and inherit false; run the gate on each when they are (one 15 s run per kind);
  • the MT7612U is unmeasured and inherits false;
  • what the 8821AU's counter actually is (a BT-combo clock? a firmware tick?) — useful only if it turns out to be a usable clock; otherwise the beacon fallback stands.
    A positive result flips the flag in that family's GetAdapterCaps and lets the stream-timing marker carry the clock while hopping there (docs/stream-timing.md).
Lingua principale
C
Stelle
56
Fork
29
Merge medio
3h 43m
PR unite (30g)
75

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenIPC/devourer

Tutte le issue di OpenIPC/devourer

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.