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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 1 Apr 2014 23:58:55 +0000 (00:58 +0100)
commitcf5a6031f2bd8799ad551fb9b65f1b1e3104ea8a
treeb96d18ba153793a710fcbd43675eaf0a500463d1
parentcf117670cf074367290d5993fe3111ac6d6b1777
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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/ath/ath9k/ar9462_2p0_initvals.h