]> git.openfabrics.org - ~emulex/infiniband.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)
commit7a42e4e74b71576d06d59c0937225e37471dc2fd
tree8e4670002d1c3c1c667e6c2b49be1b4799e84739
parentab1796ebdad3017965754d86db64d3cba5c416b9
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