Go to the documentation of this file.
52 #define P54_HDR_FLAG_CONTROL BIT(15)
53 #define P54_HDR_FLAG_CONTROL_OPSET (BIT(15) + BIT(0))
54 #define P54_HDR_FLAG_DATA_ALIGN BIT(14)
56 #define P54_HDR_FLAG_DATA_OUT_PROMISC BIT(0)
57 #define P54_HDR_FLAG_DATA_OUT_TIMESTAMP BIT(1)
58 #define P54_HDR_FLAG_DATA_OUT_SEQNR BIT(2)
59 #define P54_HDR_FLAG_DATA_OUT_BIT3 BIT(3)
60 #define P54_HDR_FLAG_DATA_OUT_BURST BIT(4)
61 #define P54_HDR_FLAG_DATA_OUT_NOCANCEL BIT(5)
62 #define P54_HDR_FLAG_DATA_OUT_CLEARTIM BIT(6)
63 #define P54_HDR_FLAG_DATA_OUT_HITCHHIKE BIT(7)
64 #define P54_HDR_FLAG_DATA_OUT_COMPRESS BIT(8)
65 #define P54_HDR_FLAG_DATA_OUT_CONCAT BIT(9)
66 #define P54_HDR_FLAG_DATA_OUT_PCS_ACCEPT BIT(10)
67 #define P54_HDR_FLAG_DATA_OUT_WAITEOSP BIT(11)
69 #define P54_HDR_FLAG_DATA_IN_FCS_GOOD BIT(0)
70 #define P54_HDR_FLAG_DATA_IN_MATCH_MAC BIT(1)
71 #define P54_HDR_FLAG_DATA_IN_MCBC BIT(2)
72 #define P54_HDR_FLAG_DATA_IN_BEACON BIT(3)
73 #define P54_HDR_FLAG_DATA_IN_MATCH_BSS BIT(4)
74 #define P54_HDR_FLAG_DATA_IN_BCAST_BSS BIT(5)
75 #define P54_HDR_FLAG_DATA_IN_DATA BIT(6)
76 #define P54_HDR_FLAG_DATA_IN_TRUNCATED BIT(7)
77 #define P54_HDR_FLAG_DATA_IN_BIT8 BIT(8)
78 #define P54_HDR_FLAG_DATA_IN_TRANSPARENT BIT(9)
90 #define GET_REQ_ID(skb) \
91 (((struct p54_hdr *) ((struct sk_buff *) skb)->data)->req_id) \
93 #define FREE_AFTER_TX(skb) \
94 ((((struct p54_hdr *) ((struct sk_buff *) skb)->data)-> \
95 flags) == cpu_to_le16(P54_HDR_FLAG_CONTROL_OPSET))
97 #define IS_DATA_FRAME(skb) \
98 (!((((struct p54_hdr *) ((struct sk_buff *) skb)->data)-> \
99 flags) & cpu_to_le16(P54_HDR_FLAG_CONTROL)))
101 #define GET_HW_QUEUE(skb) \
102 (((struct p54_tx_data *)((struct p54_hdr *) \
103 skb->data)->data)->hw_queue)
110 #define IF_ID_ISL36356A 0x0001
111 #define IF_ID_MVC 0x0003
112 #define IF_ID_DEBUG 0x0008
113 #define IF_ID_PRODUCT 0x0009
114 #define IF_ID_OEM 0x000a
115 #define IF_ID_PCI3877 0x000b
116 #define IF_ID_ISL37704C 0x000c
117 #define IF_ID_ISL39000 0x000f
118 #define IF_ID_ISL39300A 0x0010
119 #define IF_ID_ISL37700_UAP 0x0016
120 #define IF_ID_ISL39000_UAP 0x0017
121 #define IF_ID_LMAC 0x001a
248 #define IS_QOS_QUEUE(n) (n >= P54_QUEUE_DATA)
277 #define P54_TX_FRAME_LIFETIME 2000
278 #define P54_TX_TIMEOUT 4000
279 #define P54_STATISTICS_UPDATE 5000
281 #define P54_FILTER_TYPE_NONE 0
282 #define P54_FILTER_TYPE_STATION BIT(0)
283 #define P54_FILTER_TYPE_IBSS BIT(1)
284 #define P54_FILTER_TYPE_AP BIT(2)
285 #define P54_FILTER_TYPE_TRANSPARENT BIT(3)
286 #define P54_FILTER_TYPE_PROMISCUOUS BIT(4)
287 #define P54_FILTER_TYPE_HIBERNATE BIT(5)
288 #define P54_FILTER_TYPE_NOACK BIT(6)
289 #define P54_FILTER_TYPE_RX_DISABLED BIT(7)
325 #define P54_SETUP_V1_LEN 40
326 #define P54_SETUP_V2_LEN (sizeof(struct p54_setup_mac))
328 #define P54_SCAN_EXIT BIT(0)
329 #define P54_SCAN_TRAP BIT(1)
330 #define P54_SCAN_ACTIVE BIT(2)
331 #define P54_SCAN_FILTER BIT(3)
462 #define P54_PSM_CAM 0
463 #define P54_PSM BIT(0)
464 #define P54_PSM_DTIM BIT(1)
465 #define P54_PSM_MCBC BIT(2)
466 #define P54_PSM_CHECKSUM BIT(3)
467 #define P54_PSM_SKIP_MORE_DATA BIT(4)
468 #define P54_PSM_BEACON_TIMEOUT BIT(5)
469 #define P54_PSM_HFOSLEEP BIT(6)
470 #define P54_PSM_AUTOSWITCH_SLEEP BIT(7)
471 #define P54_PSM_LPIT BIT(8)
472 #define P54_PSM_BF_UCAST_SKIP BIT(9)
473 #define P54_PSM_BF_MCAST_SKIP BIT(10)
485 #define MC_FILTER_ADDRESS_NUM 4
502 #define P54_TIM_CLEAR BIT(15)