Go to the documentation of this file.
23 #ifndef __WL1251_RX_H__
24 #define __WL1251_RX_H__
26 #include <linux/bitops.h>
46 #define WL1251_RX_MAX_RSSI -30
47 #define WL1251_RX_MIN_RSSI -95
49 #define WL1251_RX_ALIGN_TO 4
50 #define WL1251_RX_ALIGN(len) (((len) + WL1251_RX_ALIGN_TO - 1) & \
51 ~(WL1251_RX_ALIGN_TO - 1))
53 #define SHORT_PREAMBLE_BIT BIT(0)
54 #define OFDM_RATE_BIT BIT(6)
55 #define PBCC_RATE_BIT BIT(7)
57 #define PLCP_HEADER_LENGTH 8
58 #define RX_DESC_PACKETID_SHIFT 11
59 #define RX_MAX_PACKET_ID 3
61 #define RX_DESC_VALID_FCS 0x0001
62 #define RX_DESC_MATCH_RXADDR1 0x0002
63 #define RX_DESC_MCAST 0x0004
64 #define RX_DESC_STAINTIM 0x0008
65 #define RX_DESC_VIRTUAL_BM 0x0010
66 #define RX_DESC_BCAST 0x0020
67 #define RX_DESC_MATCH_SSID 0x0040
68 #define RX_DESC_MATCH_BSSID 0x0080
69 #define RX_DESC_ENCRYPTION_MASK 0x0300
70 #define RX_DESC_MEASURMENT 0x0400
71 #define RX_DESC_SEQNUM_MASK 0x1800
72 #define RX_DESC_MIC_FAIL 0x2000
73 #define RX_DESC_DECRYPT_FAIL 0x4000