Linux Kernel
3.7.1
|
#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 } |
#define CURRENT_FRAGMENT_THRESHOLD (adapter->Mds.TxFragmentThreshold & ~0x1) |
#define CURRENT_PREAMBLE_MODE (psLOCAL->boShortPreamble ? WLAN_PREAMBLE_TYPE_SHORT : WLAN_PREAMBLE_TYPE_LONG) |
#define CURRENT_PROTECT_MECHANISM (psLOCAL->boProtectMechanism) |
#define CURRENT_TX_RATE_FOR_MNG (adapter->sLocalPara.CurrentTxRateForMng) |
#define ETHERNET_TX_DESCRIPTORS MAX_USB_TX_BUFFER_NUMBER |
#define MAX_USB_TX_BUFFER 4096 /* IS89C35 ability 4n alignment is required for hardware */ |
#define MAX_USB_TX_BUFFER_NUMBER 4 /* Virtual pre-buffer number of MAX_USB_TX_BUFFER */ |
#define MDS_ID_IGNORE ETHERNET_RX_DESCRIPTORS |
#define MIB_GS_XMIT_ERROR_INC (adapter->sLocalPara.GS_XMIT_ERROR) |
#define MIB_GS_XMIT_OK_INC (adapter->sLocalPara.GS_XMIT_OK++) |
#define RX_BUF_SIZE 2352 /* 600 - For 301 must be multiple of 8 */ |