~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/brcm80211/sys/wl_ucode.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (c) 2010 Broadcom Corporation
3
 
 *
4
 
 * Permission to use, copy, modify, and/or distribute this software for any
5
 
 * purpose with or without fee is hereby granted, provided that the above
6
 
 * copyright notice and this permission notice appear in all copies.
7
 
 *
8
 
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
 
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
 
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11
 
 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
 
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13
 
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14
 
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
 
 */
16
 
 
17
 
#define MIN_FW_SIZE 40000       /* minimum firmware file size in bytes */
18
 
#define MAX_FW_SIZE 150000
19
 
 
20
 
typedef struct d11init {
21
 
        u16 addr;
22
 
        u16 size;
23
 
        u32 value;
24
 
} d11init_t;
25
 
 
26
 
extern d11init_t *d11lcn0bsinitvals24;
27
 
extern d11init_t *d11lcn0initvals24;
28
 
extern d11init_t *d11lcn1bsinitvals24;
29
 
extern d11init_t *d11lcn1initvals24;
30
 
extern d11init_t *d11lcn2bsinitvals24;
31
 
extern d11init_t *d11lcn2initvals24;
32
 
extern d11init_t *d11n0absinitvals16;
33
 
extern d11init_t *d11n0bsinitvals16;
34
 
extern d11init_t *d11n0initvals16;
35
 
extern u32 *bcm43xx_16_mimo;
36
 
extern u32 bcm43xx_16_mimosz;
37
 
extern u32 *bcm43xx_24_lcn;
38
 
extern u32 bcm43xx_24_lcnsz;
39
 
extern u32 *bcm43xx_bommajor;
40
 
extern u32 *bcm43xx_bomminor;
41
 
 
42
 
extern int wl_ucode_data_init(struct wl_info *wl);
43
 
extern void wl_ucode_data_free(void);
44
 
 
45
 
extern int wl_ucode_init_buf(struct wl_info *wl, void **pbuf, unsigned int idx);
46
 
extern int wl_ucode_init_uint(struct wl_info *wl, unsigned *data,
47
 
                              unsigned int idx);
48
 
extern void wl_ucode_free_buf(void *);
49
 
extern int  wl_check_firmwares(struct wl_info *wl);