linux_dsm_epyc7002/drivers/net/wireless/ath
Ben Greear db6d9e9e8b mac80211: Fix setting txpower to zero
With multiple VIFS ath10k, and probably others, tries to find the
minimum txpower for all vifs and uses that when setting txpower in
the firmware.

If a second vif is added and starts to scan, it's txpower is not
initialized yet and it set to zero.

ath10k had a patch to ignore zero values, but then it is impossible
to actually set txpower to zero.

So, instead initialize the txpower to INT_MIN in mac80211, and let
drivers know that means the power has not been set and so should
be ignored.

This should fix regression in:

commit 88407beb1b
Author: Ryan Hsu <ryanhsu@qca.qualcomm.com>
Date:   Tue Dec 13 14:55:19 2016 -0800

    ath10k: fix incorrect txpower set by P2P_DEVICE interface

Tested on ath10k 9984 with ath10k-ct firmware.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Link: https://lore.kernel.org/r/20191217183057.24586-1-greearb@candelatech.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-02-14 09:57:00 +01:00
..
ar5523 drivers: net: Fix Kconfig indentation, continued 2019-11-21 11:54:09 -08:00
ath5k ath5k: eeprom: Remove unneeded variable 2019-10-31 10:21:54 +02:00
ath6kl net/wireless: Use kmemdup rather than duplicating its implementation 2019-10-02 07:16:10 +03:00
ath9k mac80211: Fix setting txpower to zero 2020-02-14 09:57:00 +01:00
ath10k mac80211: Fix setting txpower to zero 2020-02-14 09:57:00 +01:00
ath11k ath11k: Use sizeof_field() instead of FIELD_SIZEOF() 2019-12-19 18:18:30 +02:00
carl9170 mac80211: simplify TX aggregation start 2019-10-04 13:58:13 +02:00
wcn36xx wcn36xx: disable HW_CONNECTION_MONITOR 2019-12-18 19:59:08 +02:00
wil6210 wil6210: add support for set_cqm_rssi_config 2019-12-19 18:16:54 +02:00
ath.h ath: Remove unnecessary ath_bcast_mac and use eth_broadcast_addr 2018-03-29 12:10:26 +03:00
debug.c
dfs_pattern_detector.c ath: DFS JP domain W56 fixed pulse type 3 RADAR detection 2019-04-29 17:58:51 +03:00
dfs_pattern_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
dfs_pri_detector.c
dfs_pri_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
hw.c
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2019-12-10 11:34:30 +02:00
key.c
main.c
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
reg.h
regd_common.h ath: regd: add extra US coutry codes 2019-02-07 17:02:19 +02:00
regd.c ath: add support for special 0x0 regulatory domain 2019-12-02 12:08:01 +02:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
spectral_common.h
trace.c
trace.h