Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
mds_s.h File Reference
#include <linux/timer.h>
#include <linux/types.h>
#include <linux/atomic.h>
#include "localpara.h"
#include "mac_structures.h"

Go to the source code of this file.

Data Structures

struct  wb35_mds
 

Macros

#define MAX_USB_TX_DESCRIPTOR   15 /* IS89C35 ability */
 
#define MAX_USB_TX_BUFFER_NUMBER   4 /* Virtual pre-buffer number of MAX_USB_TX_BUFFER */
 
#define MAX_USB_TX_BUFFER   4096 /* IS89C35 ability 4n alignment is required for hardware */
 
#define AUTH_REQUEST_PAIRWISE_ERROR   0 /* _F flag setting */
 
#define AUTH_REQUEST_GROUP_ERROR   1 /* _F flag setting */
 
#define CURRENT_FRAGMENT_THRESHOLD   (adapter->Mds.TxFragmentThreshold & ~0x1)
 
#define CURRENT_PREAMBLE_MODE   (psLOCAL->boShortPreamble ? WLAN_PREAMBLE_TYPE_SHORT : WLAN_PREAMBLE_TYPE_LONG)
 
#define CURRENT_TX_RATE_FOR_MNG   (adapter->sLocalPara.CurrentTxRateForMng)
 
#define CURRENT_PROTECT_MECHANISM   (psLOCAL->boProtectMechanism)
 
#define CURRENT_RTS_THRESHOLD   (adapter->Mds.TxRTSThreshold)
 
#define MIB_GS_XMIT_OK_INC   (adapter->sLocalPara.GS_XMIT_OK++)
 
#define MIB_GS_RCV_OK_INC   (adapter->sLocalPara.GS_RCV_OK++)
 
#define MIB_GS_XMIT_ERROR_INC   (adapter->sLocalPara.GS_XMIT_ERROR)
 
#define ETHERNET_TX_DESCRIPTORS   MAX_USB_TX_BUFFER_NUMBER
 
#define ETHERNET_RX_DESCRIPTORS   8 /* It's not necessary to allocate more than 2 in sync indicate */
 
#define DEFAULT_MULTICASTLISTMAX   32 /* standard */
 
#define DEFAULT_TX_BURSTLENGTH   3 /* 32 Longwords */
 
#define DEFAULT_RX_BURSTLENGTH   3 /* 32 Longwords */
 
#define DEFAULT_TX_THRESHOLD   0 /* Full Packet */
 
#define DEFAULT_RX_THRESHOLD   0 /* Full Packet */
 
#define DEFAULT_MAXTXRATE   6 /* 11 Mbps (Long) */
 
#define DEFAULT_CHANNEL   3 /* Chennel 3 */
 
#define DEFAULT_RTSThreshold   2347 /* Disable RTS */
 
#define DEFAULT_PME   0 /* Disable */
 
#define DEFAULT_SIFSTIME   10
 
#define DEFAULT_ACKTIME_1ML   304 /* 148 + 44 + 112 */
 
#define DEFAULT_ACKTIME_2ML   248 /* 148 + 44 + 56 */
 
#define DEFAULT_FRAGMENT_THRESHOLD   2346 /* No fragment */
 
#define DEFAULT_PREAMBLE_LENGTH   72
 
#define DEFAULT_PLCPHEADERTIME_LENGTH   24
 
#define DEFAULT_MAX_RECEIVE_TIME   16440000
 
#define RX_BUF_SIZE   2352 /* 600 - For 301 must be multiple of 8 */
 
#define MAX_RX_DESCRIPTORS   18 /* Rx Layer 2 */
 
#define MDS_ID_IGNORE   ETHERNET_RX_DESCRIPTORS
 
#define PACKET_FREE_TO_USE   0
 
#define PACKET_COME_FROM_NDIS   0x08
 
#define PACKET_COME_FROM_MLME   0x80
 
#define PACKET_SEND_COMPLETE   0xff
 

Enumerations

enum  { WLAN_PREAMBLE_TYPE_SHORT, WLAN_PREAMBLE_TYPE_LONG }
 

Macro Definition Documentation

#define AUTH_REQUEST_GROUP_ERROR   1 /* _F flag setting */

Definition at line 23 of file mds_s.h.

#define AUTH_REQUEST_PAIRWISE_ERROR   0 /* _F flag setting */

Definition at line 22 of file mds_s.h.

#define CURRENT_FRAGMENT_THRESHOLD   (adapter->Mds.TxFragmentThreshold & ~0x1)

Definition at line 25 of file mds_s.h.

#define CURRENT_PREAMBLE_MODE   (psLOCAL->boShortPreamble ? WLAN_PREAMBLE_TYPE_SHORT : WLAN_PREAMBLE_TYPE_LONG)

Definition at line 26 of file mds_s.h.

#define CURRENT_PROTECT_MECHANISM   (psLOCAL->boProtectMechanism)

Definition at line 28 of file mds_s.h.

#define CURRENT_RTS_THRESHOLD   (adapter->Mds.TxRTSThreshold)

Definition at line 29 of file mds_s.h.

#define CURRENT_TX_RATE_FOR_MNG   (adapter->sLocalPara.CurrentTxRateForMng)

Definition at line 27 of file mds_s.h.

#define DEFAULT_ACKTIME_1ML   304 /* 148 + 44 + 112 */

Definition at line 56 of file mds_s.h.

#define DEFAULT_ACKTIME_2ML   248 /* 148 + 44 + 56 */

Definition at line 57 of file mds_s.h.

#define DEFAULT_CHANNEL   3 /* Chennel 3 */

Definition at line 52 of file mds_s.h.

#define DEFAULT_FRAGMENT_THRESHOLD   2346 /* No fragment */

Definition at line 58 of file mds_s.h.

#define DEFAULT_MAX_RECEIVE_TIME   16440000

Definition at line 68 of file mds_s.h.

#define DEFAULT_MAXTXRATE   6 /* 11 Mbps (Long) */

Definition at line 51 of file mds_s.h.

#define DEFAULT_MULTICASTLISTMAX   32 /* standard */

Definition at line 46 of file mds_s.h.

#define DEFAULT_PLCPHEADERTIME_LENGTH   24

Definition at line 60 of file mds_s.h.

#define DEFAULT_PME   0 /* Disable */

Definition at line 54 of file mds_s.h.

#define DEFAULT_PREAMBLE_LENGTH   72

Definition at line 59 of file mds_s.h.

#define DEFAULT_RTSThreshold   2347 /* Disable RTS */

Definition at line 53 of file mds_s.h.

#define DEFAULT_RX_BURSTLENGTH   3 /* 32 Longwords */

Definition at line 48 of file mds_s.h.

#define DEFAULT_RX_THRESHOLD   0 /* Full Packet */

Definition at line 50 of file mds_s.h.

#define DEFAULT_SIFSTIME   10

Definition at line 55 of file mds_s.h.

#define DEFAULT_TX_BURSTLENGTH   3 /* 32 Longwords */

Definition at line 47 of file mds_s.h.

#define DEFAULT_TX_THRESHOLD   0 /* Full Packet */

Definition at line 49 of file mds_s.h.

#define ETHERNET_RX_DESCRIPTORS   8 /* It's not necessary to allocate more than 2 in sync indicate */

Definition at line 39 of file mds_s.h.

#define ETHERNET_TX_DESCRIPTORS   MAX_USB_TX_BUFFER_NUMBER

Definition at line 36 of file mds_s.h.

#define MAX_RX_DESCRIPTORS   18 /* Rx Layer 2 */

Definition at line 71 of file mds_s.h.

#define MAX_USB_TX_BUFFER   4096 /* IS89C35 ability 4n alignment is required for hardware */

Definition at line 20 of file mds_s.h.

#define MAX_USB_TX_BUFFER_NUMBER   4 /* Virtual pre-buffer number of MAX_USB_TX_BUFFER */

Definition at line 19 of file mds_s.h.

#define MAX_USB_TX_DESCRIPTOR   15 /* IS89C35 ability */

Definition at line 18 of file mds_s.h.

#define MDS_ID_IGNORE   ETHERNET_RX_DESCRIPTORS

Definition at line 74 of file mds_s.h.

#define MIB_GS_RCV_OK_INC   (adapter->sLocalPara.GS_RCV_OK++)

Definition at line 32 of file mds_s.h.

#define MIB_GS_XMIT_ERROR_INC   (adapter->sLocalPara.GS_XMIT_ERROR)

Definition at line 33 of file mds_s.h.

#define MIB_GS_XMIT_OK_INC   (adapter->sLocalPara.GS_XMIT_OK++)

Definition at line 31 of file mds_s.h.

#define PACKET_COME_FROM_MLME   0x80

Definition at line 79 of file mds_s.h.

#define PACKET_COME_FROM_NDIS   0x08

Definition at line 78 of file mds_s.h.

#define PACKET_FREE_TO_USE   0

Definition at line 77 of file mds_s.h.

#define PACKET_SEND_COMPLETE   0xff

Definition at line 80 of file mds_s.h.

#define RX_BUF_SIZE   2352 /* 600 - For 301 must be multiple of 8 */

Definition at line 70 of file mds_s.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
WLAN_PREAMBLE_TYPE_SHORT 
WLAN_PREAMBLE_TYPE_LONG 

Definition at line 12 of file mds_s.h.