diff options
| author | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
| commit | c96e96354a6c9456cdf1f150eca504e2ea35301e (patch) | |
| tree | 751bec601fb8152116b8e31e0f1f83d687a37d6f /drivers/net/wireless/rtl818x/rtl8180/sa2400.h | |
| parent | dbbe68bb12b34f3e450da7a73c20e6fa1f85d63a (diff) | |
| parent | 33af88138b859f515b365a074e0a014d7cdbf846 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
net/bluetooth/Makefile
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8180/sa2400.h')
| -rw-r--r-- | drivers/net/wireless/rtl818x/rtl8180/sa2400.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180/sa2400.h b/drivers/net/wireless/rtl818x/rtl8180/sa2400.h new file mode 100644 index 000000000000..a4aaa0d413f1 --- /dev/null +++ b/drivers/net/wireless/rtl818x/rtl8180/sa2400.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | #ifndef RTL8180_SA2400_H | ||
| 2 | #define RTL8180_SA2400_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * Radio tuning for Philips SA2400 on RTL8180 | ||
| 6 | * | ||
| 7 | * Copyright 2007 Andrea Merello <andreamrl@tiscali.it> | ||
| 8 | * | ||
| 9 | * Code from the BSD driver and the rtl8181 project have been | ||
| 10 | * very useful to understand certain things | ||
| 11 | * | ||
| 12 | * I want to thanks the Authors of such projects and the Ndiswrapper | ||
| 13 | * project Authors. | ||
| 14 | * | ||
| 15 | * A special Big Thanks also is for all people who donated me cards, | ||
| 16 | * making possible the creation of the original rtl8180 driver | ||
| 17 | * from which this code is derived! | ||
| 18 | * | ||
| 19 | * This program is free software; you can redistribute it and/or modify | ||
| 20 | * it under the terms of the GNU General Public License version 2 as | ||
| 21 | * published by the Free Software Foundation. | ||
| 22 | */ | ||
| 23 | |||
| 24 | #define SA2400_ANTENNA 0x91 | ||
| 25 | #define SA2400_DIG_ANAPARAM_PWR1_ON 0x8 | ||
| 26 | #define SA2400_ANA_ANAPARAM_PWR1_ON 0x28 | ||
| 27 | #define SA2400_ANAPARAM_PWR0_ON 0x3 | ||
| 28 | |||
| 29 | /* RX sensitivity in dbm */ | ||
| 30 | #define SA2400_MAX_SENS 85 | ||
| 31 | |||
| 32 | #define SA2400_REG4_FIRDAC_SHIFT 7 | ||
| 33 | |||
| 34 | extern const struct rtl818x_rf_ops sa2400_rf_ops; | ||
| 35 | |||
| 36 | #endif /* RTL8180_SA2400_H */ | ||
