OSDN Git Service

Remove more duplicated ieee80211 definitions
[android-x86/external-modules-rtl8723au.git] / 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  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  *
19  ******************************************************************************/
20 #ifndef _RTW_HT_H_
21 #define _RTW_HT_H_
22
23 #include <drv_conf.h>
24 #include <osdep_service.h>
25 #include "linux/ieee80211.h"
26 #include "wifi.h"
27
28 struct ht_priv
29 {
30         u32     ht_option;
31         u32     ampdu_enable;//for enable Tx A-MPDU
32         //u8    baddbareq_issued[16];
33         u32     tx_amsdu_enable;//for enable Tx A-MSDU
34         u32     tx_amdsu_maxlen; // 1: 8k, 0:4k ; default:8k, for tx
35         u32     rx_ampdu_maxlen; //for rx reordering ctrl win_sz, updated when join_callback.
36
37         u8      bwmode;//
38         u8      ch_offset;//PRIME_CHNL_OFFSET
39         u8      sgi;//short GI
40
41         //for processing Tx A-MPDU
42         u8      agg_enable_bitmap;
43         //u8    ADDBA_retry_count;
44         u8      candidate_tid_bitmap;
45
46         struct ieee80211_ht_cap ht_cap;
47 };
48
49 #endif  //_RTL871X_HT_H_