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

« back to all changes in this revision

Viewing changes to src/src/include/proto/bcmevent.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:
1
1
/*
2
2
 * Broadcom Event  protocol definitions
3
3
 *
4
 
 * Copyright (C) 2010, Broadcom Corporation
5
 
 * All Rights Reserved.
6
 
 * 
7
 
 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8
 
 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9
 
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10
 
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
 
4
 * Copyright (C) 2011, Broadcom Corporation. All Rights Reserved.
 
5
 * 
 
6
 * Permission to use, copy, modify, and/or distribute this software for any
 
7
 * purpose with or without fee is hereby granted, provided that the above
 
8
 * copyright notice and this permission notice appear in all copies.
 
9
 * 
 
10
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 
11
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 
12
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 
13
 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
14
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
 
15
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 
16
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
11
17
 *
12
18
 * Dependencies: proto/bcmeth.h
13
19
 *
14
 
 * $Id: bcmevent.h,v 9.68.4.3.18.3 2011-01-19 09:32:15 Exp $
 
20
 * $Id: bcmevent.h 289463 2011-10-12 23:00:00Z $
15
21
 *
16
22
 */
17
23
 
61
67
        uint8   bsscfgidx;              
62
68
} BWL_POST_PACKED_STRUCT wl_event_msg_t;
63
69
 
64
 
typedef BWL_PRE_PACKED_STRUCT struct bcm_event {
65
 
        struct ether_header eth;
66
 
        bcmeth_hdr_t            bcm_hdr;
67
 
        wl_event_msg_t          event;
68
 
 
69
 
} BWL_POST_PACKED_STRUCT bcm_event_t;
70
 
 
71
70
#define BCM_MSG_LEN     (sizeof(bcm_event_t) - sizeof(bcmeth_hdr_t) - sizeof(struct ether_header))
72
71
 
73
72
#define WLC_E_SET_SSID          0       
122
121
#define WLC_E_MULTICAST_DECODE_ERROR    51 
123
122
#define WLC_E_TRACE             52
124
123
#define WLC_E_IF                54      
125
 
#ifdef WLP2P
126
124
#define WLC_E_P2P_DISC_LISTEN_COMPLETE  55      
127
 
#endif
128
125
#define WLC_E_RSSI              56      
129
126
#define WLC_E_PFN_SCAN_COMPLETE 57      
130
127
#define WLC_E_EXTLOG_MSG        58
140
137
#define WLC_E_WAI_MSG           68      
141
138
#define WLC_E_ESCAN_RESULT      69      
142
139
#define WLC_E_ACTION_FRAME_OFF_CHAN_COMPLETE    70      
143
 
#ifdef WLP2P
144
140
#define WLC_E_PROBRESP_MSG      71      
145
141
#define WLC_E_P2P_PROBREQ_MSG   72      
146
 
#endif
147
142
#define WLC_E_DCS_REQUEST       73
148
143
#define WLC_E_FIFO_CREDIT_MAP   74      
149
144
#define WLC_E_ACTION_FRAME_RX   75      
150
 
#define WLC_E_ASSOC_IND_NDIS            76      
151
 
#define WLC_E_REASSOC_IND_NDIS  77      
152
 
#define WLC_E_CSA_COMPLETE_IND          78      
153
 
#define WLC_E_LAST              79      
 
145
#define WLC_E_WAKE_EVENT        76      
 
146
#define WLC_E_OVERLAY_REQ       77      
 
147
#define WLC_E_ASSOC_IND_NDIS            78      
 
148
#define WLC_E_REASSOC_IND_NDIS          79      
 
149
#define WLC_E_CSA_COMPLETE_IND          80      
 
150
#define WLC_E_EXCESS_PM_WAKE_EVENT      81      
 
151
#define WLC_E_LAST              82      
154
152
 
155
153
typedef struct {
156
154
        uint event;
190
188
#define WLC_E_REASON_TSPEC_REJECTED     7       
191
189
#define WLC_E_REASON_BETTER_AP          8       
192
190
 
 
191
#define WLC_E_REASON_REQUESTED_ROAM 11  
 
192
 
193
193
#define WLC_E_PRUNE_ENCR_MISMATCH       1       
194
194
#define WLC_E_PRUNE_BCAST_BSSID         2       
195
195
#define WLC_E_PRUNE_MAC_DENY            3       
255
255
#define WLC_E_LINK_ASSOC_REC    3       
256
256
#define WLC_E_LINK_BSSCFG_DIS   4       
257
257
 
 
258
#define WLC_E_OVL_DOWNLOAD              0       
 
259
#define WLC_E_OVL_UPDATE_IND    1       
 
260
 
258
261
#include <packed_section_end.h>
259
262
 
260
263
#endif