GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / rtl8192su / ieee80211 / rtl819x_TS.h
bloba07b2344a6f8cfedd89a940e4dedd432d159dc6b
1 /******************************************************************************
2 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
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.
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
13 * The full GNU General Public License is included in this distribution in the
14 * file called LICENSE.
16 * Contact Information:
17 * wlanfae <wlanfae@realtek.com>
18 ******************************************************************************/
19 #ifndef _TSTYPE_H_
20 #define _TSTYPE_H_
21 #include "rtl819x_Qos.h"
22 #define TS_SETUP_TIMEOUT 60 // In millisecond
23 #define TS_INACT_TIMEOUT 60
24 #define TS_ADDBA_DELAY 60
26 #define TOTAL_TS_NUM 16
27 #define TCLAS_NUM 4
29 // This define the Tx/Rx directions
30 typedef enum _TR_SELECT {
31 TX_DIR = 0,
32 RX_DIR = 1,
33 } TR_SELECT, *PTR_SELECT;
35 typedef struct _TS_COMMON_INFO{
36 struct list_head List;
37 struct timer_list SetupTimer;
38 struct timer_list InactTimer;
39 u8 Addr[6];
40 TSPEC_BODY TSpec;
41 QOS_TCLAS TClass[TCLAS_NUM];
42 u8 TClasProc;
43 u8 TClasNum;
44 } TS_COMMON_INFO, *PTS_COMMON_INFO;
46 typedef struct _TX_TS_RECORD{
47 TS_COMMON_INFO TsCommonInfo;
48 u16 TxCurSeq;
49 BA_RECORD TxPendingBARecord; // For BA Originator
50 BA_RECORD TxAdmittedBARecord; // For BA Originator
51 u8 bAddBaReqInProgress;
52 u8 bAddBaReqDelayed;
53 u8 bUsingBa;
54 u8 bDisable_AddBa;
55 struct timer_list TsAddBaTimer;
56 u8 num;
57 } TX_TS_RECORD, *PTX_TS_RECORD;
59 typedef struct _RX_TS_RECORD {
60 TS_COMMON_INFO TsCommonInfo;
61 u16 RxIndicateSeq;
62 u16 RxTimeoutIndicateSeq;
63 struct list_head RxPendingPktList;
64 struct timer_list RxPktPendingTimer;
65 BA_RECORD RxAdmittedBARecord; // For BA Recepient
66 u16 RxLastSeqNum;
67 u8 RxLastFragNum;
68 u8 num;
69 } RX_TS_RECORD, *PRX_TS_RECORD;
71 #endif