linux_dsm_epyc7002/drivers/net/wireless/rt2x00
Stanislaw Gruszka 87dd2d76a9 rt2800: calculate tx power temperature compensation on selected chips
Currently implemented temperature compensation is only valid on some of
supported chips. Other chips do not need temperature compensation or
need different way to do this (not yet implemented in the rt2800
driver). Trying to do run rt2800_get_gain_calibration_delta() when this
is not appropriate on particular chip gives bogus result of TX power
and can make connection unstable.

This is follow up to commit 8c8d2017ba
"rt2800: fix RT5390 & RT3290 TX power settings regression". On that
commit we avoid setting BBP_R1 register, but the real problem is wrong
temperature compensation calculation.

Reported-and-tested-by: Ronald Wahl <ronald.wahl@raritan.com>
Debugged-by: Ronald Wahl <ronald.wahl@raritan.com>
Cc: Mike Romberg <mike-romberg@comcast.net>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-12-01 15:57:20 -05:00
..
Kconfig rt2x00: rt2800pci: move SoC specific code into a separate module 2013-10-18 14:07:00 -04:00
Makefile rt2x00: rt2800pci: move SoC specific code into a separate module 2013-10-18 14:07:00 -04:00
rt2x00.h mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
rt2x00config.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00crypto.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00debug.c net: Replace min macro with min_t 2014-03-03 15:35:54 -05:00
rt2x00debug.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00dev.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-07-10 17:00:24 -04:00
rt2x00dump.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00firmware.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00leds.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00leds.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00lib.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00link.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00mac.c mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
rt2x00mmio.c rt2x00: Use dma_zalloc_coherent 2014-06-19 15:49:21 -04:00
rt2x00mmio.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00pci.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00queue.c rt2x00: do not align payload on modern H/W 2014-11-11 16:12:44 -05:00
rt2x00queue.h rt2x00: change beaconing setup on RT2800 2014-06-19 15:49:15 -04:00
rt2x00reg.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00soc.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00soc.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00usb.c rt2x00: tune multi-registers I/O timeout 2014-10-27 14:16:13 -04:00
rt2x00usb.h rt2x00: tune multi-registers I/O timeout 2014-10-27 14:16:13 -04:00
rt61pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rt61pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt73usb.c rt2x00: restore original beaconing state 2014-04-22 15:06:31 -04:00
rt73usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2400pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rt2400pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2500pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rt2500pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2500usb.c rt2x00: tune multi-registers I/O timeout 2014-10-27 14:16:13 -04:00
rt2500usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800.h rt2800: correct BBP1_TX_POWER_CTRL mask 2014-09-26 17:06:53 -04:00
rt2800lib.c rt2800: calculate tx power temperature compensation on selected chips 2014-12-01 15:57:20 -05:00
rt2800lib.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800mmio.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800mmio.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rt2800pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800soc.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800usb.c wireless: rt2x00: add new rt2800usb device 2014-10-30 15:00:22 -04:00
rt2800usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00