4 #define TOTAL_TXBA_NUM 16
5 #define TOTAL_RXBA_NUM 16
7 #define BA_SETUP_TIMEOUT 200
8 #define BA_INACT_TIMEOUT 60000
10 #define BA_POLICY_DELAYED 0
11 #define BA_POLICY_IMMEDIATE 1
13 #define ADDBA_STATUS_SUCCESS 0
14 #define ADDBA_STATUS_REFUSED 37
15 #define ADDBA_STATUS_INVALID_PARAM 38
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;
26 } __attribute__ ((packed));
28 //Is this need?I put here just to make it easier to define structure BA_RECORD //WB
29 typedef union _SEQUENCE_CONTROL
{
36 }SEQUENCE_CONTROL
, *PSEQUENCE_CONTROL
;
38 typedef union _BA_PARAM_SET
{
47 } BA_PARAM_SET
, *PBA_PARAM_SET
;
49 typedef union _DELBA_PARAM_SET
{
57 } DELBA_PARAM_SET
, *PDELBA_PARAM_SET
;
59 typedef struct _BA_RECORD
{
60 struct timer_list Timer
;
63 BA_PARAM_SET BaParamSet
;
65 SEQUENCE_CONTROL BaStartSeqCtrl
;
66 } BA_RECORD
, *PBA_RECORD
;
68 #endif //end _BATYPE_H_