10
10
* SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
11
11
* FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
13
* $Id: wlc_pub.h,v 1.434.2.30.2.1 2010/10/26 23:11:23 Exp $
13
* $Id: wlc_pub.h,v 1.434.2.30.2.1 2010-10-26 23:11:23 Exp $
16
16
#ifndef _wlc_pub_h_
335
335
uint32 rxfragerr;
336
336
} wlc_if_stats_t;
338
#define WL_RXS_CRC_ERROR 0x00000001
339
#define WL_RXS_RUNT_ERROR 0x00000002
340
#define WL_RXS_ALIGN_ERROR 0x00000004
341
#define WL_RXS_OVERSIZE_ERROR 0x00000008
342
#define WL_RXS_WEP_ICV_ERROR 0x00000010
343
#define WL_RXS_WEP_ENCRYPTED 0x00000020
344
#define WL_RXS_PLCP_SHORT 0x00000040
345
#define WL_RXS_DECRYPT_ERR 0x00000080
346
#define WL_RXS_OTHER_ERR 0x80000000
348
#define WL_RXS_PHY_A 0x00000000
349
#define WL_RXS_PHY_B 0x00000001
350
#define WL_RXS_PHY_G 0x00000002
351
#define WL_RXS_PHY_N 0x00000004
353
#define WL_RXS_ENCODING_UNKNOWN 0x00000000
354
#define WL_RXS_ENCODING_DSSS_CCK 0x00000001
355
#define WL_RXS_ENCODING_OFDM 0x00000002
356
#define WL_RXS_ENCODING_HT 0x00000003
358
#define WL_RXS_UNUSED_STUB 0x0
359
#define WL_RXS_PREAMBLE_SHORT 0x00000001
360
#define WL_RXS_PREAMBLE_LONG 0x00000002
361
#define WL_RXS_PREAMBLE_HT_MM 0x00000003
362
#define WL_RXS_PREAMBLE_HT_GF 0x00000004
364
#define WL_RXS_HTF_40 0x01
365
#define WL_RXS_HTF_20L 0x02
366
#define WL_RXS_HTF_20U 0x04
367
#define WL_RXS_HTF_SGI 0x08
368
#define WL_RXS_HTF_STBC_MASK 0x30
369
#define WL_RXS_HTF_STBC_SHIFT 4
370
#define WL_RXS_HTF_LDPC 0x40
372
#define WL_RXS_NFRM_AMPDU_FIRST 0x00000001
373
#define WL_RXS_NFRM_AMPDU_SUB 0x00000002
374
#define WL_RXS_NFRM_AMSDU_FIRST 0x00000004
375
#define WL_RXS_NFRM_AMSDU_SUB 0x00000008
377
#define WL_TXS_TXF_FAIL 0x01
378
#define WL_TXS_TXF_CTS 0x02
379
#define WL_TXS_TXF_RTSCTS 0x04
338
381
#define AP_ENAB(pub) (0)
340
383
#define APSTA_ENAB(pub) (0)
431
474
#define WLC_PERF_STATS_ISR 0x01
432
475
#define WLC_PERF_STATS_DPC 0x02
433
476
#define WLC_PERF_STATS_TMR_DPC 0x04
434
#define WLC_PERF_STATS_GPTIMER 0x08
477
#define WLC_PERF_STATS_PRB_REQ 0x08
435
478
#define WLC_PERF_STATS_BCN 0x10
436
#define WLC_PERF_STATS_PRB_REQ 0x20
438
480
void wlc_update_perf_stats(wlc_info_t *wlc, uint32 mask);
439
481
void wlc_update_isr_stats(wlc_info_t *wlc, uint32 macintstatus);