summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/eeprom.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-02-22 21:10:22 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-22 21:10:22 +0100
commit5db5e44cdcdc5ee9cc821bd4d63445af0bb34bce (patch)
treeb5e5787a6d5c15e589d275c7434ebbf341257234 /drivers/net/wireless/p54/eeprom.h
parentMerge branch 'net/ax88796' of git://git.pengutronix.de/git/mkl/linux-2.6 (diff)
parentath9k_hw: Fix power on reset (diff)
downloadlinux-5db5e44cdcdc5ee9cc821bd4d63445af0bb34bce.tar.xz
linux-5db5e44cdcdc5ee9cc821bd4d63445af0bb34bce.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/p54/eeprom.h')
-rw-r--r--drivers/net/wireless/p54/eeprom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/eeprom.h b/drivers/net/wireless/p54/eeprom.h
index 9051aef11249..afde72b84606 100644
--- a/drivers/net/wireless/p54/eeprom.h
+++ b/drivers/net/wireless/p54/eeprom.h
@@ -81,6 +81,12 @@ struct pda_pa_curve_data {
u8 data[0];
} __packed;
+struct pda_rssi_cal_ext_entry {
+ __le16 freq;
+ __le16 mul;
+ __le16 add;
+} __packed;
+
struct pda_rssi_cal_entry {
__le16 mul;
__le16 add;
@@ -179,6 +185,7 @@ struct pda_custom_wrapper {
/* used by our modificated eeprom image */
#define PDR_RSSI_LINEAR_APPROXIMATION_CUSTOM 0xDEAD
+#define PDR_RSSI_LINEAR_APPROXIMATION_CUSTOMV2 0xCAFF
#define PDR_PRISM_PA_CAL_OUTPUT_POWER_LIMITS_CUSTOM 0xBEEF
#define PDR_PRISM_PA_CAL_CURVE_DATA_CUSTOM 0xB05D