OpenCloudOS-Kernel/drivers/net/wireless/ath
Sven Eckelmann 0a491167fe ath10k: fix max antenna gain unit
Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB
steps). This isn't the case for max_antenna_gain - which is still expected
by the firmware as dB.

The firmware is converting it from dB to the internal (twicepower)
representation when it calculates the limits of a channel. This can be seen
in tpc_stats when configuring "12" as max_antenna_gain. Instead of the
expected 12 (6 dB), the tpc_stats shows 24 (12 dB).

Tested on QCA9888 and IPQ4019 with firmware 10.4-3.5.3-00057.

Fixes: 02256930d9 ("ath10k: use proper tx power unit")
Signed-off-by: Sven Eckelmann <seckelmann@datto.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20190611172131.6064-1-sven@narfation.org
2021-10-13 08:48:50 +03:00
..
ar5523 ar5512: remove duplicate USB device ID 2021-09-21 18:09:38 +03:00
ath5k ath: switch from 'pci_' to 'dma_' API 2021-07-02 14:39:59 +03:00
ath6kl ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point() 2021-08-29 10:12:50 +03:00
ath9k ath9k: fix an IS_ERR() vs NULL check 2021-10-13 08:48:14 +03:00
ath10k ath10k: fix max antenna gain unit 2021-10-13 08:48:50 +03:00
ath11k ath11k: Identify DFS channel when sending scan channel list command 2021-10-13 08:47:19 +03:00
carl9170 wireless: carl9170: fix LEDS build errors & warnings 2021-06-12 13:37:46 +03:00
wcn36xx wcn36xx: Implement Idle Mode Power Save 2021-09-21 16:34:32 +03:00
wil6210 ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
ath.h ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
debug.c
dfs_pattern_detector.c ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create() 2021-10-11 09:26:10 +03:00
dfs_pattern_detector.h
dfs_pri_detector.c ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers 2020-11-07 10:06:49 +02:00
dfs_pri_detector.h
hw.c ath: Fix wrong function name in comments 2021-06-15 17:01:24 +03:00
key.c ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
main.c
reg.h
regd.c ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param 2020-11-07 10:06:43 +02:00
regd.h
regd_common.h
spectral_common.h ath11k: Introduce spectral hw configurable param 2021-09-28 11:52:57 +03:00
trace.c
trace.h