]> www.infradead.org Git - users/willy/xarray.git/commit
wifi: rt2x00: rework MT7620 channel config function
authorShiji Yang <yangshiji66@outlook.com>
Thu, 19 Oct 2023 11:58:57 +0000 (19:58 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 25 Oct 2023 09:06:15 +0000 (12:06 +0300)
commita28533c6be1711584bf3ec978309d5c590029821
treead920f6b000afe53a3a834dbc96952e4f9d6ae6e
parent1ffe76d5ae78553948d67a978acd9945c2f0a175
wifi: rt2x00: rework MT7620 channel config function

1. Move the channel configuration code from rt2800_vco_calibration()
   to the rt2800_config_channel().
2. Use MT7620 SoC specific AGC initial LNA value instead of the
   RT5592's value.
3. BBP{195,196} pairing write has been replaced with
   rt2800_bbp_glrt_write() to reduce redundant code.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/TYAP286MB0315622A4340BFFA530B1B86BCD4A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM
drivers/net/wireless/ralink/rt2x00/rt2800lib.c