* [PATCH 15/15] rt2x00: correctly set BBP register 86 for MT7620
@ 2022-09-16 23:08 Daniel Golle
2022-09-17 12:51 ` Stanislaw Gruszka
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Golle @ 2022-09-16 23:08 UTC (permalink / raw)
To: linux-wireless, Stanislaw Gruszka, Helmut Schaa
Cc: Kalle Valo, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Johannes Berg
Instead of 0 set the correct value for BBP register 86 for MT7620.
Reported-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
index 1da51536e73802..fe0d72b2cd2ebb 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
@@ -4192,7 +4192,10 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev,
rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
- rt2800_bbp_write(rt2x00dev, 86, 0);
+ if (rt2x00_rt(rt2x00dev, RT6352))
+ rt2800_bbp_write(rt2x00dev, 86, 0x38);
+ else
+ rt2800_bbp_write(rt2x00dev, 86, 0);
}
if (rf->channel <= 14) {
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 15/15] rt2x00: correctly set BBP register 86 for MT7620
2022-09-16 23:08 [PATCH 15/15] rt2x00: correctly set BBP register 86 for MT7620 Daniel Golle
@ 2022-09-17 12:51 ` Stanislaw Gruszka
0 siblings, 0 replies; 2+ messages in thread
From: Stanislaw Gruszka @ 2022-09-17 12:51 UTC (permalink / raw)
To: Daniel Golle
Cc: linux-wireless, Helmut Schaa, Kalle Valo, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Johannes Berg
On Sat, Sep 17, 2022 at 12:08:49AM +0100, Daniel Golle wrote:
> Instead of 0 set the correct value for BBP register 86 for MT7620.
>
> Reported-by: Serge Vasilugin <vasilugin@yandex.ru>
> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-17 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 23:08 [PATCH 15/15] rt2x00: correctly set BBP register 86 for MT7620 Daniel Golle
2022-09-17 12:51 ` Stanislaw Gruszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.