summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-07-30 20:31:28 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-07-31 09:52:25 +0200
commit461d8a6bb9879b0e619752d040292e67aa06f1d2 (patch)
treea37eb39e75d086ad5d45ef7ef45cc9b6be6c75fc /drivers/net/wireless/ath/ath9k/xmit.c
parentath9k: fix block-ack window tracking issues (diff)
downloadlinux-461d8a6bb9879b0e619752d040292e67aa06f1d2.tar.xz
linux-461d8a6bb9879b0e619752d040292e67aa06f1d2.zip
ath9k_hw: fix channel maximum power level test
The tx power applied by set_txpower is limited by the CTL (conformance test limit) entries in the EEPROM. These can change based on the user configured regulatory domain. Depending on the EEPROM data this can cause the tx power to become too limited, if the original regdomain CTLs impose lower limits than the CTLs of the user configured regdomain. To fix this issue, set the initial channel limits without any CTL restrictions and only apply the CTL at run time when setting the channel and the real tx power. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
0 files changed, 0 insertions, 0 deletions