wifi: renew patch drivers/net/wireless
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / 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  * 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 "wifi.h"
26
27 struct ht_priv
28 {
29         u32     ht_option;      
30         u32     ampdu_enable;//for enable Tx A-MPDU
31         //u8    baddbareq_issued[16];
32         u32     tx_amsdu_enable;//for enable Tx A-MSDU
33         u32     tx_amdsu_maxlen; // 1: 8k, 0:4k ; default:8k, for tx
34         u32     rx_ampdu_maxlen; //for rx reordering ctrl win_sz, updated when join_callback.
35         
36         u8      bwmode;//
37         u8      ch_offset;//PRIME_CHNL_OFFSET
38         u8      sgi;//short GI
39
40         //for processing Tx A-MPDU
41         u8      agg_enable_bitmap;
42         //u8    ADDBA_retry_count;
43         u8      candidate_tid_bitmap;
44
45         struct rtw_ieee80211_ht_cap ht_cap;
46         
47 };
48
49 #endif  //_RTL871X_HT_H_
50