Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rtl819x_BA.h
Go to the documentation of this file.
1 #ifndef _BATYPE_H_
2 #define _BATYPE_H_
3 
4 #define TOTAL_TXBA_NUM 16
5 #define TOTAL_RXBA_NUM 16
6 
7 #define BA_SETUP_TIMEOUT 200
8 #define BA_INACT_TIMEOUT 60000
9 
10 #define BA_POLICY_DELAYED 0
11 #define BA_POLICY_IMMEDIATE 1
12 
13 #define ADDBA_STATUS_SUCCESS 0
14 #define ADDBA_STATUS_REFUSED 37
15 #define ADDBA_STATUS_INVALID_PARAM 38
16 
17 #define DELBA_REASON_QSTA_LEAVING 36
18 #define DELBA_REASON_END_BA 37
19 #define DELBA_REASON_UNKNOWN_BA 38
20 #define DELBA_REASON_TIMEOUT 39
21 /* whether need define BA Action frames here?
22 struct ieee80211_ADDBA_Req{
23  struct ieee80211_header_data header;
24  u8 category;
25  u8
26 } __attribute__ ((packed));
27 */
28 //Is this need?I put here just to make it easier to define structure BA_RECORD //WB
29 typedef union _SEQUENCE_CONTROL{
31  struct
32  {
34  u16 SeqNum:12;
35  }field;
37 
38 typedef union _BA_PARAM_SET {
41  struct {
44  u16 TID:4;
46  } field;
48 
49 typedef union _DELBA_PARAM_SET {
52  struct {
55  u16 TID:4;
56  } field;
58 
59 typedef struct _BA_RECORD {
60  struct timer_list Timer;
67 
68 #endif //end _BATYPE_H_
69