Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / rtl8723au / include / rtw_ht.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  ******************************************************************************/
15 #ifndef _RTW_HT_H_
16 #define _RTW_HT_H_
17
18 #include <osdep_service.h>
19 #include "linux/ieee80211.h"
20 #include "wifi.h"
21
22 struct ht_priv {
23         bool    ht_option;
24         bool    ampdu_enable;/* for enable Tx A-MPDU */
25         /* u8   baddbareq_issued[16]; */
26         u32     tx_amsdu_enable;/* for enable Tx A-MSDU */
27         u32     tx_amdsu_maxlen; /*  1: 8k, 0:4k ; default:8k, for tx */
28         u32     rx_ampdu_maxlen; /* for rx reordering ctrl win_sz, updated when join_callback. */
29
30         u8      bwmode;/*  */
31         u8      ch_offset;/* PRIME_CHNL_OFFSET */
32         u8      sgi;/* short GI */
33
34         /* for processing Tx A-MPDU */
35         u16     agg_enable_bitmap;
36         /* u8   ADDBA_retry_count; */
37         u16     candidate_tid_bitmap;
38
39         struct ieee80211_ht_cap ht_cap;
40 };
41
42 #endif  /* _RTL871X_HT_H_ */