Solomon Peachy | a910e4a | 2013-05-24 20:04:38 -0400 | [diff] [blame] | 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 | |
| 17 | #ifndef FWIO_H_INCLUDED |
| 18 | #define FWIO_H_INCLUDED |
| 19 | |
| 20 | #define BOOTLOADER_CW1X60 "boot_cw1x60.bin" |
| 21 | #define FIRMWARE_CW1X60 "wsm_cw1x60.bin" |
| 22 | #define FIRMWARE_CUT22 "wsm_22.bin" |
| 23 | #define FIRMWARE_CUT20 "wsm_20.bin" |
| 24 | #define FIRMWARE_CUT11 "wsm_11.bin" |
| 25 | #define FIRMWARE_CUT10 "wsm_10.bin" |
| 26 | #define SDD_FILE_CW1X60 "sdd_cw1x60.bin" |
| 27 | #define SDD_FILE_22 "sdd_22.bin" |
| 28 | #define SDD_FILE_20 "sdd_20.bin" |
| 29 | #define SDD_FILE_11 "sdd_11.bin" |
| 30 | #define SDD_FILE_10 "sdd_10.bin" |
| 31 | |
| 32 | int cw1200_load_firmware(struct cw1200_common *priv); |
| 33 | |
| 34 | /* SDD definitions */ |
| 35 | #define SDD_PTA_CFG_ELT_ID 0xEB |
| 36 | #define SDD_REFERENCE_FREQUENCY_ELT_ID 0xc5 |
| 37 | u32 cw1200_dpll_from_clk(u16 clk); |
| 38 | |
| 39 | #endif |