openwrt / openwrt/mt76

Question regarding mt7628 RSSI calculation

Open
#807 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

I noticed these lines that sets the chains signal:

status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + dev->rssi_offset[0];
status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + dev->rssi_offset[1];

What are the meaning of the cycles? and why the RSSI is calculated during the 4th cycle (RXV4) ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MT_RXV4_IB_RSSI0 and MT_RXV4_IB_RSSI1 assignments in the mt7628 RX status handling and read the surrounding RXV4 path. Trace the meaning of the cycle terminology and why RSSI is read there. Done means documenting clear answers to both questions, with references to the relevant code.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.