openwrt / openwrt/mt76

Load correct EEPROM based on PA LNA Type

Open
#845 2 comments 4 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

Different EEPROM files are required to achieve best performance depending on the power amplifier (PA) and low noise amplifier (LNA) type which, as far as I understand, can be ePAeLNA, iPAiLNA, iPAeLNA or ePAiLNA, where e and i stand for internal and external respectively.

In case no EEPROM is available via NVMEM, we need to load the correct EEPROM file from the file system. So, provided, that there is no better way, we would probably need a property in device-tree to specify the PA/LNA type so that the fitting EEPROM file can be loaded.

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

No source files or tests are named. Start by tracing the existing EEPROM loading path, including NVMEM access and filesystem fallback, then inspect how device-tree properties could represent the PA/LNA variants; done means the matching EEPROM is selected when NVMEM is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.