Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
decl.h File Reference
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/ieee80211.h>

Go to the source code of this file.

Data Structures

struct  mwifiex_fw_image
 
struct  mwifiex_802_11_ssid
 
struct  mwifiex_wait_queue
 
struct  mwifiex_rxinfo
 
struct  mwifiex_txinfo
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MWIFIEX_MAX_BSS_NUM   (3)
 
#define MWIFIEX_MIN_DATA_HEADER_LEN
 
#define MWIFIEX_MGMT_FRAME_HEADER_SIZE
 
#define MWIFIEX_MAX_TX_BASTREAM_SUPPORTED   2
 
#define MWIFIEX_MAX_RX_BASTREAM_SUPPORTED   16
 
#define MWIFIEX_AMPDU_DEF_TXWINSIZE   32
 
#define MWIFIEX_AMPDU_DEF_RXWINSIZE   16
 
#define MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT   0xffff
 
#define MWIFIEX_RATE_BITMAP_MCS0   32
 
#define MWIFIEX_RX_DATA_BUF_SIZE   (4 * 1024)
 
#define MWIFIEX_RX_CMD_BUF_SIZE   (2 * 1024)
 
#define MAX_BEACON_PERIOD   (4000)
 
#define MIN_BEACON_PERIOD   (50)
 
#define MAX_DTIM_PERIOD   (100)
 
#define MIN_DTIM_PERIOD   (1)
 
#define MWIFIEX_RTS_MIN_VALUE   (0)
 
#define MWIFIEX_RTS_MAX_VALUE   (2347)
 
#define MWIFIEX_FRAG_MIN_VALUE   (256)
 
#define MWIFIEX_FRAG_MAX_VALUE   (2346)
 
#define MWIFIEX_RETRY_LIMIT   14
 
#define MWIFIEX_SDIO_BLOCK_SIZE   256
 
#define MWIFIEX_BUF_FLAG_REQUEUED_PKT   BIT(0)
 
#define MWIFIEX_BUF_FLAG_BRIDGED_PKT   BIT(1)
 
#define MWIFIEX_BRIDGED_PKTS_THRESHOLD   1024
 
#define BSS_ROLE_BIT_MASK   BIT(0)
 
#define GET_BSS_ROLE(priv)   ((priv)->bss_role & BSS_ROLE_BIT_MASK)
 

Enumerations

enum  mwifiex_bss_type { MWIFIEX_BSS_TYPE_STA = 0, MWIFIEX_BSS_TYPE_UAP = 1, MWIFIEX_BSS_TYPE_P2P = 2, MWIFIEX_BSS_TYPE_ANY = 0xff }
 
enum  mwifiex_bss_role { MWIFIEX_BSS_ROLE_STA = 0, MWIFIEX_BSS_ROLE_UAP = 1, MWIFIEX_BSS_ROLE_ANY = 0xff }
 
enum  mwifiex_data_frame_type { MWIFIEX_DATA_FRAME_TYPE_ETH_II = 0, MWIFIEX_DATA_FRAME_TYPE_802_11 }
 
enum  mwifiex_wmm_ac_e { WMM_AC_BK, WMM_AC_BE, WMM_AC_VI, WMM_AC_VO }
 

Variables

enum mwifiex_wmm_ac_e __packed
 

Macro Definition Documentation

#define BSS_ROLE_BIT_MASK   BIT(0)

Definition at line 79 of file decl.h.

#define GET_BSS_ROLE (   priv)    ((priv)->bss_role & BSS_ROLE_BIT_MASK)

Definition at line 81 of file decl.h.

#define MAX_BEACON_PERIOD   (4000)

Definition at line 48 of file decl.h.

#define MAX_DTIM_PERIOD   (100)

Definition at line 50 of file decl.h.

#define MIN_BEACON_PERIOD   (50)

Definition at line 49 of file decl.h.

#define MIN_DTIM_PERIOD   (1)

Definition at line 51 of file decl.h.

#define MWIFIEX_AMPDU_DEF_RXWINSIZE   16

Definition at line 40 of file decl.h.

#define MWIFIEX_AMPDU_DEF_TXWINSIZE   32

Definition at line 39 of file decl.h.

#define MWIFIEX_BRIDGED_PKTS_THRESHOLD   1024

Definition at line 64 of file decl.h.

#define MWIFIEX_BUF_FLAG_BRIDGED_PKT   BIT(1)

Definition at line 62 of file decl.h.

#define MWIFIEX_BUF_FLAG_REQUEUED_PKT   BIT(0)

Definition at line 61 of file decl.h.

#define MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT   0xffff

Definition at line 41 of file decl.h.

#define MWIFIEX_FRAG_MAX_VALUE   (2346)

Definition at line 56 of file decl.h.

#define MWIFIEX_FRAG_MIN_VALUE   (256)

Definition at line 55 of file decl.h.

#define MWIFIEX_MAX_BSS_NUM   (3)

Definition at line 31 of file decl.h.

#define MWIFIEX_MAX_RX_BASTREAM_SUPPORTED   16

Definition at line 37 of file decl.h.

#define MWIFIEX_MAX_TX_BASTREAM_SUPPORTED   2

Definition at line 36 of file decl.h.

#define MWIFIEX_MGMT_FRAME_HEADER_SIZE
Value:
8 /* sizeof(pkt_type)
* + sizeof(tx_control)
*/

Definition at line 34 of file decl.h.

#define MWIFIEX_MIN_DATA_HEADER_LEN
Value:
36 /* sizeof(mwifiex_txpd)
* + 4 byte alignment
*/

Definition at line 33 of file decl.h.

#define MWIFIEX_RATE_BITMAP_MCS0   32

Definition at line 43 of file decl.h.

#define MWIFIEX_RETRY_LIMIT   14

Definition at line 58 of file decl.h.

#define MWIFIEX_RTS_MAX_VALUE   (2347)

Definition at line 54 of file decl.h.

#define MWIFIEX_RTS_MIN_VALUE   (0)

Definition at line 53 of file decl.h.

#define MWIFIEX_RX_CMD_BUF_SIZE   (2 * 1024)

Definition at line 46 of file decl.h.

#define MWIFIEX_RX_DATA_BUF_SIZE   (4 * 1024)

Definition at line 45 of file decl.h.

#define MWIFIEX_SDIO_BLOCK_SIZE   256

Definition at line 59 of file decl.h.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 24 of file decl.h.

Enumeration Type Documentation

Enumerator:
MWIFIEX_BSS_ROLE_STA 
MWIFIEX_BSS_ROLE_UAP 
MWIFIEX_BSS_ROLE_ANY 

Definition at line 73 of file decl.h.

Enumerator:
MWIFIEX_BSS_TYPE_STA 
MWIFIEX_BSS_TYPE_UAP 
MWIFIEX_BSS_TYPE_P2P 
MWIFIEX_BSS_TYPE_ANY 

Definition at line 66 of file decl.h.

Enumerator:
MWIFIEX_DATA_FRAME_TYPE_ETH_II 
MWIFIEX_DATA_FRAME_TYPE_802_11 

Definition at line 83 of file decl.h.

Enumerator:
WMM_AC_BK 
WMM_AC_BE 
WMM_AC_VI 
WMM_AC_VO 

Definition at line 119 of file decl.h.

Variable Documentation