openwrt-mirror/package/kernel/mac80211
Sven Eckelmann f17529a122 mac80211: 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.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-06-15 19:55:32 +02:00
..
files mac80211: set noscan=1 if sta/adhoc/mesh interfaces are present 2019-04-03 10:40:09 +02:00
patches mac80211: ath10k: fix max antenna gain unit 2019-06-15 19:55:32 +02:00
scripts mac80211: add a maintenance script for upstream backport commits 2014-10-18 17:39:04 +00:00
ath.mk mac80211: Activate DRIVER_11W_SUPPORT for more capable drivers 2019-03-03 16:44:47 +01:00
broadcom.mk mac80211: Activate DRIVER_11W_SUPPORT for more capable drivers 2019-03-03 16:44:47 +01:00
intel.mk kernel: Remove support for kernel 3.18 2019-05-03 22:41:38 +02:00
Makefile omap24xx: Remove unmaintained target 2019-05-03 21:27:12 +02:00
marvell.mk kernel: Remove support for kernel 3.18 2019-05-03 22:41:38 +02:00
ralink.mk ramips: mt7620: fix dependencies 2019-05-11 01:05:11 +02:00
realtek.mk mac80211: Activate DRIVER_11W_SUPPORT for more capable drivers 2019-03-03 16:44:47 +01:00