fwio.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Firmware API for mac80211 ST-Ericsson CW1200 drivers
  3. *
  4. * Copyright (c) 2010, ST-Ericsson
  5. * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
  6. *
  7. * Based on:
  8. * ST-Ericsson UMAC CW1200 driver which is
  9. * Copyright (c) 2010, ST-Ericsson
  10. * Author: Ajitpal Singh <ajitpal.singh@stericsson.com>
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License version 2 as
  14. * published by the Free Software Foundation.
  15. */
  16. #ifndef FWIO_H_INCLUDED
  17. #define FWIO_H_INCLUDED
  18. #define BOOTLOADER_CW1X60 "boot_cw1x60.bin"
  19. #define FIRMWARE_CW1X60 "wsm_cw1x60.bin"
  20. #define FIRMWARE_CUT22 "wsm_22.bin"
  21. #define FIRMWARE_CUT20 "wsm_20.bin"
  22. #define FIRMWARE_CUT11 "wsm_11.bin"
  23. #define FIRMWARE_CUT10 "wsm_10.bin"
  24. #define SDD_FILE_CW1X60 "sdd_cw1x60.bin"
  25. #define SDD_FILE_22 "sdd_22.bin"
  26. #define SDD_FILE_20 "sdd_20.bin"
  27. #define SDD_FILE_11 "sdd_11.bin"
  28. #define SDD_FILE_10 "sdd_10.bin"
  29. int cw1200_load_firmware(struct cw1200_common *priv);
  30. /* SDD definitions */
  31. #define SDD_PTA_CFG_ELT_ID 0xEB
  32. #define SDD_REFERENCE_FREQUENCY_ELT_ID 0xc5
  33. u32 cw1200_dpll_from_clk(u16 clk);
  34. #endif