~computersforpeace/ubuntu/utopic/bcmwl/fix-for-1358966

« back to all changes in this revision

Viewing changes to src/src/wl/sys/wl_export.h

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2012-12-11 17:06:22 UTC
  • mfrom: (2.1.6)
  • Revision ID: package-import@ubuntu.com-20121211170622-7bd9yp2wm1plhhu1
Tags: 6.20.155.1+bdcom-0ubuntu1
* New upstream release (LP: #923809):
  - Added 43142 support.
  - Added 4331 support.
* debian/control:
  - depend on the different flavours of the linux-headers.
* Refresh 0002-Makefile.patch and 0001-MODULE_LICENSE.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Required functions exported by the port-specific (os-dependent) driver
3
3
 * to common (os-independent) driver code.
4
4
 *
5
 
 * Copyright (C) 2010, Broadcom Corporation
6
 
 * All Rights Reserved.
7
 
 * 
8
 
 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
9
 
 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
10
 
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
11
 
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
 
5
 * Copyright (C) 2011, Broadcom Corporation. All Rights Reserved.
 
6
 * 
 
7
 * Permission to use, copy, modify, and/or distribute this software for any
 
8
 * purpose with or without fee is hereby granted, provided that the above
 
9
 * copyright notice and this permission notice appear in all copies.
 
10
 * 
 
11
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 
12
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 
13
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 
14
 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
15
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
 
16
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 
17
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
12
18
 *
13
 
 * $Id: wl_export.h,v 1.81.8.1 2010-06-29 21:39:56 Exp $
 
19
 * $Id: wl_export.h 280943 2011-08-31 21:37:04Z $
14
20
 */
15
21
 
16
22
#ifndef _wl_export_h_
32
38
extern void wl_dump_ver(struct wl_info *wl, struct bcmstrbuf *b);
33
39
extern void wl_txflowcontrol(struct wl_info *wl, struct wl_if *wlif, bool state, int prio);
34
40
extern bool wl_alloc_dma_resources(struct wl_info *wl, uint dmaddrwidth);
35
 
 
36
 
#ifndef LINUX_WLUSER_POSTMOGRIFY_REMOVAL
 
41
extern void wl_reclaim(void);
37
42
 
38
43
struct wl_timer;
39
44
extern struct wl_timer *wl_init_timer(struct wl_info *wl, void (*fn)(void* arg), void *arg,
42
47
extern void wl_add_timer(struct wl_info *wl, struct wl_timer *timer, uint ms, int periodic);
43
48
extern bool wl_del_timer(struct wl_info *wl, struct wl_timer *timer);
44
49
 
45
 
#endif 
46
 
 
47
50
extern void wl_sendup(struct wl_info *wl, struct wl_if *wlif, void *p, int numpkt);
48
51
extern char *wl_ifname(struct wl_info *wl, struct wl_if *wlif);
49
52
extern struct wl_if *wl_add_if(struct wl_info *wl, struct wlc_if* wlcif, uint unit,
52
55
 
53
56
extern void wl_monitor(struct wl_info *wl, wl_rxsts_t *rxsts, void *p);
54
57
extern void wl_set_monitor(struct wl_info *wl, int val);
55
 
#ifdef WLTXMONITOR
56
 
extern void wl_tx_monitor(struct wl_info *wl, wl_txsts_t *txsts, void *p);
57
 
#endif
58
58
 
59
59
extern uint wl_buf_to_pktcopy(osl_t *osh, void *p, uchar *buf, int len, uint offset);
60
60
extern void * wl_get_pktbuffer(osl_t *osh, int len);
68
68
extern int wl_tkip_decrypt(struct wl_info *wl, void *p, int hdr_len, bool group_key);
69
69
extern void wl_tkip_printstats(struct wl_info *wl, bool group_key);
70
70
extern int wl_tkip_keyset(struct wl_info *wl, wsec_key_t *key);
 
71
#ifdef WL_WOWL_MEDIA
 
72
extern void wl_wowl_dngldown(struct wl_info *wl);
 
73
extern void wl_down_postwowlenab(struct wl_info *wl);
 
74
#endif
 
75
 
71
76
#endif