]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: fix the PA predistortion rate mask
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Dec 2010 07:40:53 +0000 (08:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:33 +0000 (15:23 -0500)
commit1782352d4908c79d195b43e0c1b6b109e0d93d05
treefeff3bddf7f505efa006d9a9892ab90f35c8b874
parent7607cbe2ad6931400c5d15ced342ab329ab8f92c
ath9k_hw: fix the PA predistortion rate mask

The EEPROM PAPRD rate mask fields only contain mask values for actual
rates in the low 25 bits. The upper bits are reserved for tx power
scale values. Add the proper mask definitions and use them before
writing the values to the register.

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