Message ID | d7eccb2c7b8ec4cd360fa2007796abffc35abb0d.1663445157.git.daniel@makrotopia.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 3fdff7e08117e376fe00da64718f97ce2fb3195c |
Delegated to: | Kalle Valo |
Headers | show |
Series | rt2x00: OpenWrt patches improving MT7620 (and more) | expand |
Daniel Golle <daniel@makrotopia.org> wrote: > From: Tomislav Požega <pozega.tomislav@gmail.com> > > Fix incorrect RF value encoded in EEPROM on devices with Ralink Rt5592 > PCIe radio (a single chip 2T2R 802.11abgn solution). > > Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com> > Signed-off-by: Daniel Golle <daniel@makrotopia.org> > Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> 16 patches applied to wireless-next.git, thanks. 3fdff7e08117 wifi: rt2x00: define RF5592 in init_eeprom routine 47c40fd2440e wifi: rt2x00: add throughput LED trigger d7320a377168 wifi: rt2x00: add support for external PA on MT7620 685bcf2f9a13 wifi: rt2x00: move up and reuse busy wait functions 26d76c370f69 wifi: rt2x00: add RF self TXDC calibration for MT7620 bdcac97f143e wifi: rt2x00: add r calibration for MT7620 c8ce49ff0b83 wifi: rt2x00: add RXDCOC calibration for MT7620 ab7b2295732f wifi: rt2x00: add RXIQ calibration for MT7620 d3aad83d05ae wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620 dab902fe1d29 wifi: rt2x00: add TX LOFT calibration for MT7620 79b4c9455e0b wifi: rt2x00: move helper functions up in file d5ed439cf00a wifi: rt2x00: fix HT20/HT40 bandwidth switch on MT7620 eeb50acf1576 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620 0e09768c0857 wifi: rt2x00: set VGC gain for both chains of MT7620 cbde6ed406a5 wifi: rt2x00: set SoC wmac clock register c9aada64fe64 wifi: rt2x00: correctly set BBP register 86 for MT7620
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 18102fbe36d6cc..cc9c5554fdc9ca 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -9435,6 +9435,8 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) rf = RF3853; else if (rt2x00_rt(rt2x00dev, RT5350)) rf = RF5350; + else if (rt2x00_rt(rt2x00dev, RT5592)) + rf = RF5592; else rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE);