Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
rx.h File Reference
#include <linux/bitops.h>
#include "wl1251.h"

Go to the source code of this file.

Data Structures

struct  wl1251_rx_descriptor
 

Macros

#define WL1251_RX_MAX_RSSI   -30
 
#define WL1251_RX_MIN_RSSI   -95
 
#define WL1251_RX_ALIGN_TO   4
 
#define WL1251_RX_ALIGN(len)
 
#define SHORT_PREAMBLE_BIT   BIT(0)
 
#define OFDM_RATE_BIT   BIT(6)
 
#define PBCC_RATE_BIT   BIT(7)
 
#define PLCP_HEADER_LENGTH   8
 
#define RX_DESC_PACKETID_SHIFT   11
 
#define RX_MAX_PACKET_ID   3
 
#define RX_DESC_VALID_FCS   0x0001
 
#define RX_DESC_MATCH_RXADDR1   0x0002
 
#define RX_DESC_MCAST   0x0004
 
#define RX_DESC_STAINTIM   0x0008
 
#define RX_DESC_VIRTUAL_BM   0x0010
 
#define RX_DESC_BCAST   0x0020
 
#define RX_DESC_MATCH_SSID   0x0040
 
#define RX_DESC_MATCH_BSSID   0x0080
 
#define RX_DESC_ENCRYPTION_MASK   0x0300
 
#define RX_DESC_MEASURMENT   0x0400
 
#define RX_DESC_SEQNUM_MASK   0x1800
 
#define RX_DESC_MIC_FAIL   0x2000
 
#define RX_DESC_DECRYPT_FAIL   0x4000
 

Functions

void wl1251_rx (struct wl1251 *wl)
 

Variables

struct wl1251_rx_descriptor __packed
 

Macro Definition Documentation

#define OFDM_RATE_BIT   BIT(6)

Definition at line 54 of file rx.h.

#define PBCC_RATE_BIT   BIT(7)

Definition at line 55 of file rx.h.

#define PLCP_HEADER_LENGTH   8

Definition at line 57 of file rx.h.

#define RX_DESC_BCAST   0x0020

Definition at line 66 of file rx.h.

#define RX_DESC_DECRYPT_FAIL   0x4000

Definition at line 73 of file rx.h.

#define RX_DESC_ENCRYPTION_MASK   0x0300

Definition at line 69 of file rx.h.

#define RX_DESC_MATCH_BSSID   0x0080

Definition at line 68 of file rx.h.

#define RX_DESC_MATCH_RXADDR1   0x0002

Definition at line 62 of file rx.h.

#define RX_DESC_MATCH_SSID   0x0040

Definition at line 67 of file rx.h.

#define RX_DESC_MCAST   0x0004

Definition at line 63 of file rx.h.

#define RX_DESC_MEASURMENT   0x0400

Definition at line 70 of file rx.h.

#define RX_DESC_MIC_FAIL   0x2000

Definition at line 72 of file rx.h.

#define RX_DESC_PACKETID_SHIFT   11

Definition at line 58 of file rx.h.

#define RX_DESC_SEQNUM_MASK   0x1800

Definition at line 71 of file rx.h.

#define RX_DESC_STAINTIM   0x0008

Definition at line 64 of file rx.h.

#define RX_DESC_VALID_FCS   0x0001

Definition at line 61 of file rx.h.

#define RX_DESC_VIRTUAL_BM   0x0010

Definition at line 65 of file rx.h.

#define RX_MAX_PACKET_ID   3

Definition at line 59 of file rx.h.

#define SHORT_PREAMBLE_BIT   BIT(0)

Definition at line 53 of file rx.h.

#define WL1251_RX_ALIGN (   len)
Value:
(((len) + WL1251_RX_ALIGN_TO - 1) & \

Definition at line 50 of file rx.h.

#define WL1251_RX_ALIGN_TO   4

Definition at line 49 of file rx.h.

#define WL1251_RX_MAX_RSSI   -30

Definition at line 46 of file rx.h.

#define WL1251_RX_MIN_RSSI   -95

Definition at line 47 of file rx.h.

Function Documentation

void wl1251_rx ( struct wl1251 wl)

Definition at line 218 of file rx.c.

Variable Documentation