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 <osdep_service.h> 24 #include "wifi.h" 25 26 struct ht_priv { 27 u32 ht_option; 28 u32 ampdu_enable;/* for enable Tx A-MPDU */ 29 u32 tx_amsdu_enable;/* for enable Tx A-MSDU */ 30 u32 tx_amdsu_maxlen; /* 1: 8k, 0:4k ; default:8k, for tx */ 31 u32 rx_ampdu_maxlen; /* for rx reordering ctrl win_sz, 32 * updated when join_callback. */ 33 u8 bwmode;/* */ 34 u8 ch_offset;/* PRIME_CHNL_OFFSET */ 35 u8 sgi;/* short GI */ 36 37 /* for processing Tx A-MPDU */ 38 u8 agg_enable_bitmap; 39 u8 candidate_tid_bitmap; 40 41 struct rtw_ieee80211_ht_cap ht_cap; 42 }; 43 44 #endif /* _RTL871X_HT_H_ */ 45