~ubuntu-branches/ubuntu/precise/linux-ti-omap/precise

« back to all changes in this revision

Viewing changes to ubuntu/rtl8192se/rtllib/rtl819x_BA.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader, Amit Kucheria
  • Date: 2010-03-23 18:05:12 UTC
  • Revision ID: james.westby@ubuntu.com-20100323180512-iavj906ocnphdubp
Tags: 2.6.33-500.3
[ Amit Kucheria ]

* [Config] Fix the debug package name to end in -dbgsym
* SAUCE: Add the ubuntu/ drivers to omap
* SAUCE: Re-export the symbols for aufs
* [Config] Enable AUFS and COMPCACHE

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
 
3
 *
 
4
 * This program is distributed in the hope that it will be useful, but WITHOUT
 
5
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
6
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 
7
 * more details.
 
8
 *
 
9
 * You should have received a copy of the GNU General Public License along with
 
10
 * this program; if not, write to the Free Software Foundation, Inc.,
 
11
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
 
12
 *
 
13
 * The full GNU General Public License is included in this distribution in the
 
14
 * file called LICENSE.
 
15
 *
 
16
 * Contact Information:
 
17
 * wlanfae <wlanfae@realtek.com>
 
18
******************************************************************************/
 
19
#ifndef _BATYPE_H_
 
20
#define _BATYPE_H_
 
21
 
 
22
#define         TOTAL_TXBA_NUM  16
 
23
#define TOTAL_RXBA_NUM  16
 
24
 
 
25
#define BA_SETUP_TIMEOUT        200
 
26
#define BA_INACT_TIMEOUT        60000
 
27
 
 
28
#define BA_POLICY_DELAYED               0
 
29
#define BA_POLICY_IMMEDIATE     1
 
30
 
 
31
#define ADDBA_STATUS_SUCCESS                    0
 
32
#define ADDBA_STATUS_REFUSED            37
 
33
#define ADDBA_STATUS_INVALID_PARAM      38
 
34
 
 
35
#define DELBA_REASON_QSTA_LEAVING       36
 
36
#define DELBA_REASON_END_BA                     37
 
37
#define DELBA_REASON_UNKNOWN_BA 38
 
38
#define DELBA_REASON_TIMEOUT                    39
 
39
typedef union _SEQUENCE_CONTROL{
 
40
        u16 ShortData;
 
41
        struct
 
42
        {
 
43
                u16     FragNum:4;
 
44
                u16     SeqNum:12;
 
45
        }field;
 
46
}SEQUENCE_CONTROL, *PSEQUENCE_CONTROL;
 
47
 
 
48
typedef union _BA_PARAM_SET {
 
49
        u8 charData[2];
 
50
        u16 shortData;
 
51
        struct {
 
52
                u16 AMSDU_Support:1;
 
53
                u16 BAPolicy:1;
 
54
                u16 TID:4;
 
55
                u16 BufferSize:10;
 
56
        } field;
 
57
} BA_PARAM_SET, *PBA_PARAM_SET;
 
58
 
 
59
typedef union _DELBA_PARAM_SET {
 
60
        u8 charData[2];
 
61
        u16 shortData;
 
62
        struct {
 
63
                u16 Reserved:11;
 
64
                u16 Initiator:1;
 
65
                u16 TID:4;
 
66
        } field;
 
67
} DELBA_PARAM_SET, *PDELBA_PARAM_SET;
 
68
 
 
69
typedef struct _BA_RECORD {
 
70
        struct timer_list               Timer;
 
71
        u8                              bValid;
 
72
        u8                              DialogToken;
 
73
        BA_PARAM_SET            BaParamSet;
 
74
        u16                             BaTimeoutValue;
 
75
        SEQUENCE_CONTROL        BaStartSeqCtrl;
 
76
} BA_RECORD, *PBA_RECORD;
 
77
 
 
78
#endif 
 
79