Index: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h |
diff --git a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h |
index 9c1463307f0c94a4dffbd99f418eadcf859d71f1..a360beb6e474a1198bfe0376cf7d38d88dde3504 100644 |
--- a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h |
+++ b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h |
@@ -62,6 +62,12 @@ |
#define AR928X_SIZE_ANT_CHAIN_FIELD 2 |
#define AR928X_ANT_CHAIN_MASK 0x3 |
+#define AR9300_PAPRD_RATE_MASK 0x01ffffff |
+#define AR9300_PAPRD_SCALE_1 0x0e000000 |
+#define AR9300_PAPRD_SCALE_1_S 25 |
+#define AR9300_PAPRD_SCALE_2 0x70000000 |
+#define AR9300_PAPRD_SCALE_2_S 28 |
+ |
/* Delta from which to start power to pdadc table */ |
/* This offset is used in both open loop and closed loop power control |
* schemes. In open loop power control, it is not really needed, but for |
@@ -342,4 +348,7 @@ struct ar9300_eeprom { |
s32 ar9003_hw_get_tx_gain_idx(struct ath_hw *ah); |
s32 ar9003_hw_get_rx_gain_idx(struct ath_hw *ah); |
+unsigned int ar9003_get_paprd_scale_factor(struct ath_hw *ah, |
+ struct ath9k_channel *chan); |
+ |
#endif |