radio_2056.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. Broadcom B43 wireless driver
  3. Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com>
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; see the file COPYING. If not, write to
  14. the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
  15. Boston, MA 02110-1301, USA.
  16. */
  17. #ifndef B43_RADIO_2056_H_
  18. #define B43_RADIO_2056_H_
  19. #include <linux/types.h>
  20. #include "tables_nphy.h"
  21. struct b43_nphy_channeltab_entry_rev3 {
  22. /* The channel frequency in MHz */
  23. u16 freq;
  24. /* Radio register values on channelswitch */
  25. u8 radio_syn_pll_vcocal1;
  26. u8 radio_syn_pll_vcocal2;
  27. u8 radio_syn_pll_refdiv;
  28. u8 radio_syn_pll_mmd2;
  29. u8 radio_syn_pll_mmd1;
  30. u8 radio_syn_pll_loopfilter1;
  31. u8 radio_syn_pll_loopfilter2;
  32. u8 radio_syn_pll_loopfilter3;
  33. u8 radio_syn_pll_loopfilter4;
  34. u8 radio_syn_pll_loopfilter5;
  35. u8 radio_syn_reserved_addr27;
  36. u8 radio_syn_reserved_addr28;
  37. u8 radio_syn_reserved_addr29;
  38. u8 radio_syn_logen_vcobuf1;
  39. u8 radio_syn_logen_mixer2;
  40. u8 radio_syn_logen_buf3;
  41. u8 radio_syn_logen_buf4;
  42. u8 radio_rx0_lnaa_tune;
  43. u8 radio_rx0_lnag_tune;
  44. u8 radio_tx0_intpaa_boost_tune;
  45. u8 radio_tx0_intpag_boost_tune;
  46. u8 radio_tx0_pada_boost_tune;
  47. u8 radio_tx0_padg_boost_tune;
  48. u8 radio_tx0_pgaa_boost_tune;
  49. u8 radio_tx0_pgag_boost_tune;
  50. u8 radio_tx0_mixa_boost_tune;
  51. u8 radio_tx0_mixg_boost_tune;
  52. u8 radio_rx1_lnaa_tune;
  53. u8 radio_rx1_lnag_tune;
  54. u8 radio_tx1_intpaa_boost_tune;
  55. u8 radio_tx1_intpag_boost_tune;
  56. u8 radio_tx1_pada_boost_tune;
  57. u8 radio_tx1_padg_boost_tune;
  58. u8 radio_tx1_pgaa_boost_tune;
  59. u8 radio_tx1_pgag_boost_tune;
  60. u8 radio_tx1_mixa_boost_tune;
  61. u8 radio_tx1_mixg_boost_tune;
  62. /* PHY register values on channelswitch */
  63. struct b43_phy_n_sfo_cfg phy_regs;
  64. };
  65. #endif /* B43_RADIO_2056_H_ */