~vanvugt/ubuntu/natty/bcmwl/fix-793890

« back to all changes in this revision

Viewing changes to src/src/include/typedefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2010-02-14 19:58:58 UTC
  • mfrom: (2.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100214195858-yw9z3vstz9kyw5jl
Tags: 5.60.48.36+bdcom-0ubuntu1
* New upstream release (LP: #432780):
  - Support up to linux kernel 2.6.31. 2.6.32 support is there
    also but not tested (although reports from users suggests it
    works fine).
  - Support for hidden networks.
  - Support for rfkill in kernels < 2.6.31.
  - Setting power level via 'iwconfig eth1 txpower X' is now
    operational
  - Add support for 4313.
  - Additional channels in both 2.4 and 5 Ghz bands.
  - Fix issue with tkip group keys that caused the following
    message to repeat often:
    TKIP: RX tkey->key_idx=2 frame keyidx=1 priv=ffff8800cf80e840
  - Fix a continuous assoc/disassoc loop (in Ubuntu 8.04)
    with suspend/resume with WPA2 and wpa_supplicant.
  - Fix bug affecting Ubuntu 8.04 which prevented from pinging when
    Linux STA is IBSS creator with WEP.
  - Fix bug affecting Ubuntu 9.04 which prevented from connecting to
    hidden networks after suspend/resume.
  - Fix bug which prevented the driver from associating to AP with
    when transitioning from AES to TKIP encryption.
* debian/patches/0002-Makefile.patch:
  - Refresh patch.
* debian/patches/0003-DEV_WL_IF.patch,
  0004-broadcom-sta-5.10.91.9-linux-2.6.30.patch,
  0005-NET_DEVICE_OPS.patch,
  0006-broadcom-sta-5.10.91.9-linux-2.6.32.patch:
  - Drop patches as they are now part of the upstream code.
* debian/dkms.conf.in:
  - Remove the lines about the above mentioned patches.
* debian/bcmwl-kernel-source.postinst:
  - Make use of /usr/lib/dkms/common.postinst (LP: #497149).
* Bump compat to 5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2008, Broadcom Corporation
 
2
 * Copyright (C) 2010, Broadcom Corporation
3
3
 * All Rights Reserved.
4
4
 * 
5
 
 *      Unless you and Broadcom execute a separate written software license
6
 
 * agreement governing use of this software, this software is licensed to you
7
 
 * under the terms of the GNU General Public License version 2, available at
8
 
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL"), with the
9
 
 * following added to such license:
10
 
 *      As a special exception, the copyright holders of this software give you
11
 
 * permission to link this software with independent modules, regardless of the
12
 
 * license terms of these independent modules, and to copy and distribute the
13
 
 * resulting executable under terms of your choice, provided that you also meet,
14
 
 * for each linked independent module, the terms and conditions of the license
15
 
 * of that module. An independent module is a module which is not derived from
16
 
 * this software.
17
 
 *
18
5
 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
19
6
 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
20
7
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
21
8
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
22
 
 *
23
 
 * $Id: typedefs.h,v 1.85.32.8 2009/02/26 17:07:08 Exp $
 
9
 * $Id: typedefs.h,v 1.96.28.1.8.1 2009/11/30 22:27:30 Exp $
24
10
 */
25
11
 
26
12
#ifndef _TYPEDEFS_H_
45
31
typedef unsigned long long int uintptr;
46
32
#endif
47
33
 
 
34
#if defined(TARGETOS_nucleus)
 
35
 
 
36
#include <stddef.h>
 
37
 
 
38
#define TYPEDEF_FLOAT_T
 
39
#endif   
 
40
 
48
41
#if defined(LINUX_PORT)
49
42
#define TYPEDEF_UINT
50
43
#define TYPEDEF_USHORT
62
55
#define TYPEDEF_UINT64
63
56
#endif
64
57
 
 
58
#if !defined(__BOB__) && !defined(TARGETOS_nucleus)
 
59
 
65
60
#if defined(__KERNEL__)
66
61
 
67
62
#if defined(LINUX_PORT)
74
69
 
75
70
#endif 
76
71
 
 
72
#endif 
 
73
 
77
74
#define USE_TYPEDEF_DEFAULTS
78
75
 
79
76
#ifdef USE_TYPEDEF_DEFAULTS
179
176
#define PTRSZ   sizeof(char*)
180
177
#endif
181
178
 
 
179
#if defined(__GNUC__)
 
180
        #define BWL_COMPILER_GNU
 
181
#elif defined(__CC_ARM) && __CC_ARM
 
182
        #define BWL_COMPILER_ARMCC
 
183
#else
 
184
        #error "Unknown compiler!"
 
185
#endif 
 
186
 
182
187
#ifndef INLINE
183
 
 
184
 
#if defined(__GNUC__)
185
 
 
186
 
#define INLINE __inline__
187
 
 
188
 
#else
189
 
 
190
 
#define INLINE
191
 
 
192
 
#endif 
193
 
 
 
188
        #if defined(BWL_COMPILER_MICROSOFT)
 
189
                #define INLINE __inline
 
190
        #elif defined(BWL_COMPILER_GNU)
 
191
                #define INLINE __inline__
 
192
        #elif defined(BWL_COMPILER_ARMCC)
 
193
                #define INLINE  __inline
 
194
        #else
 
195
                #define INLINE
 
196
        #endif 
194
197
#endif 
195
198
 
196
199
#undef TYPEDEF_BOOL
213
216
 
214
217
#endif 
215
218
 
 
219
#define UNUSED_PARAMETER(x) (void)(x)
 
220
 
216
221
#include <bcmdefs.h>
217
222
 
218
223
#endif