ar9565_1p1_initvals.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * Copyright (c) 2010-2011 Atheros Communications Inc.
  3. * Copyright (c) 2011-2012 Qualcomm Atheros Inc.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. #ifndef INITVALS_9565_1P1_H
  18. #define INITVALS_9565_1P1_H
  19. /* AR9565 1.1 */
  20. #define ar9565_1p1_mac_core ar9565_1p0_mac_core
  21. #define ar9565_1p1_mac_postamble ar9565_1p0_mac_postamble
  22. #define ar9565_1p1_baseband_core ar9565_1p0_baseband_core
  23. #define ar9565_1p1_baseband_postamble ar9565_1p0_baseband_postamble
  24. #define ar9565_1p1_radio_core ar9565_1p0_radio_core
  25. #define ar9565_1p1_soc_preamble ar9565_1p0_soc_preamble
  26. #define ar9565_1p1_soc_postamble ar9565_1p0_soc_postamble
  27. #define ar9565_1p1_Common_rx_gain_table ar9565_1p0_Common_rx_gain_table
  28. #define ar9565_1p1_Modes_lowest_ob_db_tx_gain_table ar9565_1p0_Modes_lowest_ob_db_tx_gain_table
  29. #define ar9565_1p1_pciephy_clkreq_disable_L1 ar9565_1p0_pciephy_clkreq_disable_L1
  30. #define ar9565_1p1_modes_fast_clock ar9565_1p0_modes_fast_clock
  31. #define ar9565_1p1_common_wo_xlna_rx_gain_table ar9565_1p0_common_wo_xlna_rx_gain_table
  32. #define ar9565_1p1_modes_low_ob_db_tx_gain_table ar9565_1p0_modes_low_ob_db_tx_gain_table
  33. #define ar9565_1p1_modes_high_ob_db_tx_gain_table ar9565_1p0_modes_high_ob_db_tx_gain_table
  34. #define ar9565_1p1_modes_high_power_tx_gain_table ar9565_1p0_modes_high_power_tx_gain_table
  35. #define ar9565_1p1_baseband_core_txfir_coeff_japan_2484 ar9565_1p0_baseband_core_txfir_coeff_japan_2484
  36. static const u32 ar9565_1p1_radio_postamble[][5] = {
  37. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  38. {0x0001609c, 0x0b8ee524, 0x0b8ee524, 0x0b8ee524, 0x0b8ee524},
  39. {0x000160ac, 0xa4646c08, 0xa4646c08, 0x24645808, 0x24645808},
  40. {0x000160b0, 0x01d67f70, 0x01d67f70, 0x01d67f70, 0x01d67f70},
  41. {0x0001610c, 0x40000000, 0x40000000, 0x40000000, 0x40000000},
  42. {0x00016140, 0x10804008, 0x10804008, 0x50804008, 0x50804008},
  43. };
  44. #endif /* INITVALS_9565_1P1_H */