summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/fwio.h
blob: cb91b8dc48120c2ddd501eddfe97622a2f47cf8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Firmware API for mac80211 ST-Ericsson CW1200 drivers
 *
 * Copyright (c) 2010, ST-Ericsson
 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
 *
 * Based on:
 * ST-Ericsson UMAC CW1200 driver which is
 * Copyright (c) 2010, ST-Ericsson
 * Author: Ajitpal Singh <ajitpal.singh@stericsson.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef FWIO_H_INCLUDED
#define FWIO_H_INCLUDED

#define FIRMWARE_CUT22		("cw1200/wsm_22.bin")
#define FIRMWARE_CUT20		("cw1200/wsm_20.bin")
#define FIRMWARE_CUT11		("cw1200/wsm_11.bin")
#define FIRMWARE_CUT10		("cw1200/wsm_10.bin")
#define SDD_FILE_22		("cw1200/sdd_22.bin")
#define SDD_FILE_20		("cw1200/sdd_20.bin")
#define SDD_FILE_11		("cw1200/sdd_11.bin")
#define SDD_FILE_10		("cw1200/sdd_10.bin")

#define CW1200_HW_REV_CUT10	(10)
#define CW1200_HW_REV_CUT11	(11)
#define CW1200_HW_REV_CUT20	(20)
#define CW1200_HW_REV_CUT22	(22)

int cw1200_load_firmware(struct cw1200_common *priv);

#endif