summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-12-15 07:30:53 -0800
committerJohn W. Linville <linville@tuxdriver.com>2010-12-16 15:22:31 -0500
commit45ef6a0bcc9cd8f13004789ec6decb52e1d3045c (patch)
tree6191d717a17f9570658852a41b2f8694c1e6d147 /drivers/net/wireless/ath/ath9k/hw.h
parent7072bf62fb7abe5a91389d6271da520f29c79326 (diff)
downloadtalos-obmc-linux-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.tar.gz
talos-obmc-linux-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.zip
ath9k_hw: Configure appropriate Tx power when PAPRD fails
Target Tx power available in eeprom is for PAPRD. If PAPRD fails, paprd scale factor needs to be detected from this target tx power. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 3a6101ba9837..21e37d157d3a 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -836,6 +836,7 @@ struct ath_hw {
unsigned int paprd_target_power;
unsigned int paprd_training_power;
unsigned int paprd_ratemask;
+ bool paprd_table_write_done;
u32 paprd_gain_table_entries[PAPRD_GAIN_TABLE_ENTRIES];
u8 paprd_gain_table_index[PAPRD_GAIN_TABLE_ENTRIES];
/*
OpenPOWER on IntegriCloud