ath9k: Fix ETSI compliance for AR9462 2.0
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 14 Feb 2014 02:45:20 +0000 (08:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:37:04 +0000 (21:37 -0700)
commit8509583a3094c4dfc1448e0b2fbadfb5b436378f
tree29442ff965acfe3addd3b5655f51a7b84f55bd66
parent46a5a5493360f995b834eb3b828eb59da4604509
ath9k: Fix ETSI compliance for AR9462 2.0

commit b3050248c167871ca52cfdb2ce78aa2460249346 upstream.

The minimum CCA power threshold values have to be adjusted
for existing cards to be in compliance with new regulations.
Newer cards will make use of the values obtained from EEPROM,
support for this was added earlier. To make sure that cards
that are already in use and don't have proper values in EEPROM,
do not violate regulations, use the initvals instead.

Reported-by: Jeang Daniel <dyjeong@qca.qualcomm.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ar9462_2p0_initvals.h