2
2
* wl_linux.c exported functions and definitions
4
* Copyright 2008, Broadcom Corporation
4
* Copyright (C) 2010, Broadcom Corporation
5
5
* All Rights Reserved.
7
* Unless you and Broadcom execute a separate written software license
8
* agreement governing use of this software, this software is licensed to you
9
* under the terms of the GNU General Public License version 2, available at
10
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL"), with the
11
* following added to such license:
12
* As a special exception, the copyright holders of this software give you
13
* permission to link this software with independent modules, regardless of the
14
* license terms of these independent modules, and to copy and distribute the
15
* resulting executable under terms of your choice, provided that you also meet,
16
* for each linked independent module, the terms and conditions of the license
17
* of that module. An independent module is a module which is not derived from
20
7
* THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
21
8
* KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
22
9
* SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
23
10
* FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
25
* $Id: wl_linux.h,v 1.22.2.3 2009/02/27 02:04:03 Exp $
12
* $Id: wl_linux.h,v 1.27.2.4.4.1 2009/11/18 18:51:21 Exp $
28
15
#ifndef _wl_linux_h_
86
76
uint32 pci_psstate[16];
87
77
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
78
#define NUM_GROUP_KEYS 4
79
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
80
struct lib80211_crypto_ops *tkipmodops;
88
82
struct ieee80211_crypto_ops *tkipmodops;
89
84
struct ieee80211_tkip_data *tkip_ucast_data;
90
struct ieee80211_tkip_data *tkip_bcast_data;
85
struct ieee80211_tkip_data *tkip_bcast_data[NUM_GROUP_KEYS];