Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[deliverable/linux.git] / drivers / staging / rtl8192e / rtl819x_TS.h
CommitLineData
94a79942
LF
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 *
94a79942
LF
9 * The full GNU General Public License is included in this distribution in the
10 * file called LICENSE.
11 *
12 * Contact Information:
13 * wlanfae <wlanfae@realtek.com>
14******************************************************************************/
ecdfa446
GKH
15#ifndef _TSTYPE_H_
16#define _TSTYPE_H_
17#include "rtl819x_Qos.h"
ecdfa446
GKH
18#define TS_ADDBA_DELAY 60
19
20#define TOTAL_TS_NUM 16
21#define TCLAS_NUM 4
22
39b2a4ae 23enum tr_select {
ecdfa446
GKH
24 TX_DIR = 0,
25 RX_DIR = 1,
39b2a4ae 26};
ecdfa446 27
74724de1 28struct ts_common_info {
ecdfa446
GKH
29 struct list_head List;
30 struct timer_list SetupTimer;
31 struct timer_list InactTimer;
06c11107 32 u8 Addr[ETH_ALEN];
ed306e48 33 union tspec_body TSpec;
626f951d 34 union qos_tclas TClass[TCLAS_NUM];
ecdfa446
GKH
35 u8 TClasProc;
36 u8 TClasNum;
74724de1 37};
ecdfa446 38
60554f2b 39struct tx_ts_record {
74724de1 40 struct ts_common_info TsCommonInfo;
ecdfa446 41 u16 TxCurSeq;
8cf33316
LF
42 struct ba_record TxPendingBARecord;
43 struct ba_record TxAdmittedBARecord;
ecdfa446
GKH
44 u8 bAddBaReqInProgress;
45 u8 bAddBaReqDelayed;
46 u8 bUsingBa;
94a79942 47 u8 bDisable_AddBa;
ecdfa446
GKH
48 struct timer_list TsAddBaTimer;
49 u8 num;
60554f2b 50};
ecdfa446 51
2c47ae28 52struct rx_ts_record {
74724de1 53 struct ts_common_info TsCommonInfo;
ecdfa446
GKH
54 u16 RxIndicateSeq;
55 u16 RxTimeoutIndicateSeq;
56 struct list_head RxPendingPktList;
57 struct timer_list RxPktPendingTimer;
8cf33316 58 struct ba_record RxAdmittedBARecord;
ecdfa446
GKH
59 u16 RxLastSeqNum;
60 u8 RxLastFragNum;
61 u8 num;
2c47ae28 62};
ecdfa446 63
f88ec6cb 64
ecdfa446
GKH
65
66#endif
This page took 0.497265 seconds and 5 git commands to generate.