]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: get QCA953x WMAC revision via platform_data
authorFelix Fietkau <nbd@openwrt.org>
Sun, 4 May 2014 23:33:01 +0000 (01:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 May 2014 18:51:02 +0000 (14:51 -0400)
commit1f45c42acd85076440aeb1725e2db36d583bb8a2
tree8e4670002d1c3c1c667e6c2b49be1b4799e84739
parenta27b0ff64aea453e1d1c914a0034d956bdc93e50
ath9k_hw: get QCA953x WMAC revision via platform_data

The SREV register in the WMAC register space does not contain the chip
revision, so it needs to be passed in from the kernel.

With an updated kernel, this fixes tx gain table selection.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c