~ubuntu-branches/ubuntu/vivid/linux-restricted-modules/vivid

« back to all changes in this revision

Viewing changes to ubuntu-restricted/broadcom/src/wl/sys/wlc_pub.h

  • Committer: Bazaar Package Importer
  • Author(s): Tim Gardner, Tim Gardner
  • Date: 2009-03-23 10:36:18 UTC
  • Revision ID: james.westby@ubuntu.com-20090323103618-ar3c61exroklv3rc
Tags: 2.6.28-11.14
[Tim Gardner]

* Update Broadcom to 5.10.79.10
  - LP: #292450

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
24
24
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
25
25
 *
26
 
 * $Id: wlc_pub.h,v 1.293.2.17 2008/05/30 01:22:56 Exp $
 
26
 * $Id: wlc_pub.h,v 1.293.2.33.2.1 2009/01/28 23:00:39 Exp $
27
27
 */
28
28
 
29
29
#ifndef _wlc_pub_h_
47
47
#define PHY_TYPE_LP     5       
48
48
#define PHY_TYPE_SSN    6       
49
49
#define PHY_TYPE_QN     7       
 
50
#define PHY_TYPE_NULL   0xf     
50
51
 
51
52
#define WLC_10_MHZ      10      
52
53
#define WLC_20_MHZ      20      
107
108
        uint8           dtim_period;    
108
109
        int8            phy_noise;      
109
110
        uint16          capability;     
 
111
#ifdef WLSCANCACHE
 
112
        uint32          timestamp;      
 
113
#endif
110
114
        struct dot11_bcn_prb *bcn_prb;  
111
115
        uint16          bcn_prb_len;    
112
116
        uint8           wme_qosinfo;    
162
166
        si_t            *sih;                   
163
167
        char            *vars;                  
164
168
        bool            up;                     
 
169
        bool            hw_off;                 
165
170
        bool            hw_up;                  
166
171
        bool            _piomode;                
167
172
        uint            _nbands;                
189
194
        int             _n_reqd;                
190
195
        int8            _coex;                  
191
196
 
192
 
        bool            _priofc;        
193
 
        bool            radarscan_done;         
 
197
        bool            _priofc;                
194
198
 
195
199
        struct ether_addr       cur_etheraddr;  
196
200
        struct ether_addr       multicast[MAXMULTILIST]; 
197
201
        uint            nmulticast;             
198
202
        pmkid_cand_t    pmkid_cand[MAXPMKID];   
199
 
        uint            npmkid_cand;    
 
203
        uint            npmkid_cand;            
200
204
        pmkid_t         pmkid[MAXPMKID];        
201
205
        uint            npmkid;                 
202
206
 
235
239
        uint8           txpwr_percent;          
236
240
} wlc_pub_t;
237
241
 
238
 
typedef struct  wl_rxsts{
 
242
typedef struct  wl_rxsts {
239
243
        uint    pkterror;               
240
244
        uint    phytype;                
241
245
        uint    channel;                
313
317
extern bool wlc_isr(struct wlc_info *wlc, bool *wantdpc);
314
318
extern bool wlc_dpc(struct wlc_info *wlc, bool bounded);
315
319
extern bool wlc_sendpkt(struct wlc_info *wlc, void *sdu, struct wlc_if *wlcif);
 
320
extern bool wlc_send80211_raw(struct wlc_info *wlc, void *p, uint ac);
316
321
extern int wlc_iovar_op(struct wlc_info *wlc, const char *name, void *params, int p_len, void *arg,
317
322
        int len, bool set, struct wlc_if *wlcif);
318
323
extern int wlc_ioctl(struct wlc_info *wlc, int cmd, void *arg, int len, struct wlc_if *wlcif);
319
324
 
320
325
extern void wlc_statsupd(struct wlc_info *wlc);
321
326
 
 
327
extern int wlc_module_register(wlc_pub_t *pub, const bcm_iovar_t *iovars,
 
328
                               const char *name, void *hdl, iovar_fn_t iovar_fn,
 
329
                               watchdog_fn_t watchdog_fn, down_fn_t down_fn);
 
330
extern int wlc_module_unregister(wlc_pub_t *pub, const char *name, void *hdl);
 
331
 
 
332
#define WLC_RPCTX_PARAMS        32
 
333
 
322
334
#undef PACKED
323
335
#endif