conf.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * This file is part of wl18xx
  3. *
  4. * Copyright (C) 2011 Texas Instruments Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * version 2 as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  18. * 02110-1301 USA
  19. *
  20. */
  21. #ifndef __WL18XX_CONF_H__
  22. #define __WL18XX_CONF_H__
  23. struct wl18xx_conf_phy {
  24. u8 phy_standalone;
  25. u8 rdl;
  26. u8 enable_clpc;
  27. u8 enable_tx_low_pwr_on_siso_rdl;
  28. u8 auto_detect;
  29. u8 dedicated_fem;
  30. u8 low_band_component;
  31. u8 low_band_component_type;
  32. u8 high_band_component;
  33. u8 high_band_component_type;
  34. u8 number_of_assembled_ant2_4;
  35. u8 number_of_assembled_ant5;
  36. u8 external_pa_dc2dc;
  37. u8 tcxo_ldo_voltage;
  38. u8 xtal_itrim_val;
  39. u8 srf_state;
  40. u8 io_configuration;
  41. u8 sdio_configuration;
  42. u8 settings;
  43. u8 rx_profile;
  44. u8 primary_clock_setting_time;
  45. u8 clock_valid_on_wake_up;
  46. u8 secondary_clock_setting_time;
  47. };
  48. struct wl18xx_conf {
  49. /* TODO: move the wlcore conf here? */
  50. struct wl18xx_conf_phy phy;
  51. };
  52. #endif /* __WL18XX_CONF_H__ */