Measure hw_injected_mgmt_txtsf on the 8812AU, 8814AU and MT7612U

Aberta
#477 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c, shell
Domínio
networking

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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).
Linguagem predominante
C
Estrelas
56
Forks
29
Merge médio
3h 43min
PRs com merge (30d)
75

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de OpenIPC/devourer

Todas as issues de OpenIPC/devourer

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.