Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath9k: Fix ETSI compliance for AR9462 2.0

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.

Cc: stable@vger.kernel.org
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>

authored by

Sujith Manoharan and committed by
John W. Linville
b3050248 1eb43018

+2 -2
+2 -2
drivers/net/wireless/ath/ath9k/ar9462_2p0_initvals.h
··· 57 57 {0x00009e14, 0x37b95d5e, 0x37b9605e, 0x3236605e, 0x32365a5e}, 58 58 {0x00009e18, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 59 59 {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, 60 - {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, 60 + {0x00009e20, 0x000003a5, 0x000003a5, 0x000003a5, 0x000003a5}, 61 61 {0x00009e2c, 0x0000001c, 0x0000001c, 0x00000021, 0x00000021}, 62 62 {0x00009e3c, 0xcf946220, 0xcf946220, 0xcfd5c782, 0xcfd5c282}, 63 63 {0x00009e44, 0x62321e27, 0x62321e27, 0xfe291e27, 0xfe291e27}, ··· 96 96 {0x0000ae04, 0x001c0000, 0x001c0000, 0x001c0000, 0x00100000}, 97 97 {0x0000ae18, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 98 98 {0x0000ae1c, 0x0000019c, 0x0000019c, 0x0000019c, 0x0000019c}, 99 - {0x0000ae20, 0x000001b5, 0x000001b5, 0x000001ce, 0x000001ce}, 99 + {0x0000ae20, 0x000001a6, 0x000001a6, 0x000001aa, 0x000001aa}, 100 100 {0x0000b284, 0x00000000, 0x00000000, 0x00000550, 0x00000550}, 101 101 }; 102 102