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
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 ******************************************************************************/
21 #include "rtl819x_Qos.h"
22 #define TS_SETUP_TIMEOUT 60
23 #define TS_INACT_TIMEOUT 60
24 #define TS_ADDBA_DELAY 60
26 #define TOTAL_TS_NUM 16
34 struct ts_common_info
{
35 struct list_head List
;
36 struct timer_list SetupTimer
;
37 struct timer_list InactTimer
;
39 union tspec_body TSpec
;
40 union qos_tclas TClass
[TCLAS_NUM
];
46 struct ts_common_info TsCommonInfo
;
48 struct ba_record TxPendingBARecord
;
49 struct ba_record TxAdmittedBARecord
;
50 u8 bAddBaReqInProgress
;
54 struct timer_list TsAddBaTimer
;
59 struct ts_common_info TsCommonInfo
;
61 u16 RxTimeoutIndicateSeq
;
62 struct list_head RxPendingPktList
;
63 struct timer_list RxPktPendingTimer
;
64 struct ba_record RxAdmittedBARecord
;
70 void _setup_timer(struct timer_list
*, void *, unsigned long);