diff options
| author | Shiji Yang <yangshiji66@qq.com> | 2023-07-29 21:24:09 +0800 |
|---|---|---|
| committer | Daniel Golle <daniel@makrotopia.org> | 2023-07-29 15:07:11 +0100 |
| commit | 2824fa6963cf245b7e0b04aa96bcbe5013524b85 (patch) | |
| tree | 5efb35e52e58ec2fbac23456cb0c391fb1e75e6c /target/linux | |
| parent | 572ea680705311a5ba08cb0f5da4c7dc2b792fd3 (diff) | |
| download | upstream-2824fa6963cf245b7e0b04aa96bcbe5013524b85.tar.gz upstream-2824fa6963cf245b7e0b04aa96bcbe5013524b85.tar.bz2 upstream-2824fa6963cf245b7e0b04aa96bcbe5013524b85.zip | |
mac80211: rework MT7620 PA/LNA RF calibration
This patch makes some improvements to the MT7620 RF calibration.
1. Move MT7620 PA/LNA calibration code to dedicated functions.
2. Restore RF and BBP registers before R-Calibration.
3. Do Rx DCOC calibration again before RXIQ calibration.
4. Use SoC specific AGC initial LNA value.
5. Correct MAC_RX_EN mask in rt2800_r_calibration()[1].
[1] This change may fix the "BBP/RF register access failed" error:
ieee80211 phy0: rt2800_wait_bbp_rf_ready: Error - BBP/RF register access failed, aborting
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions
