]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/staging/rtl8723au/include/rtw_ht.h
Linux 3.16-rc2
[karo-tx-linux.git] / 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 {
24         u32     ht_option;
25         u32     ampdu_enable;/* for enable Tx A-MPDU */
26         /* u8   baddbareq_issued[16]; */
27         u32     tx_amsdu_enable;/* for enable Tx A-MSDU */
28         u32     tx_amdsu_maxlen; /*  1: 8k, 0:4k ; default:8k, for tx */
29         u32     rx_ampdu_maxlen; /* for rx reordering ctrl win_sz, updated when join_callback. */
30
31         u8      bwmode;/*  */
32         u8      ch_offset;/* PRIME_CHNL_OFFSET */
33         u8      sgi;/* short GI */
34
35         /* for processing Tx A-MPDU */
36         u16     agg_enable_bitmap;
37         /* u8   ADDBA_retry_count; */
38         u16     candidate_tid_bitmap;
39
40         struct ieee80211_ht_cap ht_cap;
41 };
42
43 #endif  /* _RTL871X_HT_H_ */