sa2400.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef RTL8180_SA2400_H
  2. #define RTL8180_SA2400_H
  3. /*
  4. * Radio tuning for Philips SA2400 on RTL8180
  5. *
  6. * Copyright 2007 Andrea Merello <andreamrl@tiscali.it>
  7. *
  8. * Code from the BSD driver and the rtl8181 project have been
  9. * very useful to understand certain things
  10. *
  11. * I want to thanks the Authors of such projects and the Ndiswrapper
  12. * project Authors.
  13. *
  14. * A special Big Thanks also is for all people who donated me cards,
  15. * making possible the creation of the original rtl8180 driver
  16. * from which this code is derived!
  17. *
  18. * This program is free software; you can redistribute it and/or modify
  19. * it under the terms of the GNU General Public License version 2 as
  20. * published by the Free Software Foundation.
  21. */
  22. #define SA2400_ANTENNA 0x91
  23. #define SA2400_DIG_ANAPARAM_PWR1_ON 0x8
  24. #define SA2400_ANA_ANAPARAM_PWR1_ON 0x28
  25. #define SA2400_ANAPARAM_PWR0_ON 0x3
  26. /* RX sensitivity in dbm */
  27. #define SA2400_MAX_SENS 85
  28. #define SA2400_REG4_FIRDAC_SHIFT 7
  29. extern const struct rtl818x_rf_ops sa2400_rf_ops;
  30. #endif /* RTL8180_SA2400_H */