radio_2059.h 986 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef B43_RADIO_2059_H_
  2. #define B43_RADIO_2059_H_
  3. #include <linux/types.h>
  4. #include "phy_ht.h"
  5. #define R2059_C1 0x000
  6. #define R2059_C2 0x400
  7. #define R2059_C3 0x800
  8. #define R2059_ALL 0xC00
  9. /* Values for various registers uploaded on channel switching */
  10. struct b43_phy_ht_channeltab_e_radio2059 {
  11. /* The channel frequency in MHz */
  12. u16 freq;
  13. /* Values for radio registers */
  14. u8 radio_syn16;
  15. u8 radio_syn17;
  16. u8 radio_syn22;
  17. u8 radio_syn25;
  18. u8 radio_syn27;
  19. u8 radio_syn28;
  20. u8 radio_syn29;
  21. u8 radio_syn2c;
  22. u8 radio_syn2d;
  23. u8 radio_syn37;
  24. u8 radio_syn41;
  25. u8 radio_syn43;
  26. u8 radio_syn47;
  27. u8 radio_rxtx4a;
  28. u8 radio_rxtx58;
  29. u8 radio_rxtx5a;
  30. u8 radio_rxtx6a;
  31. u8 radio_rxtx6d;
  32. u8 radio_rxtx6e;
  33. u8 radio_rxtx92;
  34. u8 radio_rxtx98;
  35. /* Values for PHY registers */
  36. struct b43_phy_ht_channeltab_e_phy phy_regs;
  37. };
  38. const struct b43_phy_ht_channeltab_e_radio2059
  39. *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq);
  40. #endif /* B43_RADIO_2059_H_ */