1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /****************************************************************************** 3 * 4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 5 * 6 * Modifications for inclusion into the Linux staging tree are 7 * Copyright(c) 2010 Larry Finger. All rights reserved. 8 * 9 * Contact information: 10 * WLAN FAE <wlanfae@realtek.com> 11 * Larry Finger <Larry.Finger@lwfinger.net> 12 * 13 ******************************************************************************/ 14 #ifndef _RTL871X_HT_H_ 15 #define _RTL871X_HT_H_ 16 17 #include "osdep_service.h" 18 #include "wifi.h" 19 20 struct ht_priv { 21 unsigned int ht_option; 22 unsigned int ampdu_enable;/*for enable Tx A-MPDU*/ 23 unsigned char baddbareq_issued[16]; 24 unsigned int tx_amsdu_enable;/*for enable Tx A-MSDU */ 25 unsigned int tx_amdsu_maxlen; /* 1: 8k, 0:4k ; default:8k, for tx */ 26 unsigned int rx_ampdu_maxlen; /* for rx reordering ctrl win_sz, 27 * updated when join_callback. 28 */ 29 struct rtl_ieee80211_ht_cap ht_cap; 30 }; 31 32 #endif /*_RTL871X_HT_H_ */ 33 34