mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove configuration parameter CONFIG_80211N_HT
This one will always be selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
de0b9f2155
commit
1ada4e9170
23 changed files with 3 additions and 250 deletions
|
@ -29,8 +29,6 @@
|
|||
* Internal General Config
|
||||
*/
|
||||
|
||||
#define CONFIG_80211N_HT
|
||||
|
||||
#define CONFIG_AP_MODE
|
||||
|
||||
#define CONFIG_P2P
|
||||
|
|
|
@ -40,10 +40,7 @@ enum _NIC_VERSION {
|
|||
RTL8716_NIC
|
||||
};
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
#include <rtw_ht.h>
|
||||
#endif
|
||||
|
||||
#include <rtw_cmd.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <rtw_xmit.h>
|
||||
|
@ -124,13 +121,11 @@ struct registry_priv
|
|||
|
||||
struct wlan_bssid_ex dev_network;
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
u8 ht_enable;
|
||||
u8 cbw40_enable;
|
||||
u8 ampdu_enable;//for tx
|
||||
u8 rx_stbc;
|
||||
u8 ampdu_amsdu;//A-MPDU Supports A-MSDU is permitted
|
||||
#endif
|
||||
u8 lowrate_two_xmit;
|
||||
|
||||
u8 rf_config ;
|
||||
|
|
|
@ -250,7 +250,6 @@ extern u32 GlobalDebugLevel;
|
|||
|
||||
int proc_set_rx_signal(struct file *file, const char __user *buffer,
|
||||
unsigned long count, void *data);
|
||||
#ifdef CONFIG_80211N_HT
|
||||
|
||||
int proc_get_ht_enable(char *page, char **start,
|
||||
off_t offset, int count,
|
||||
|
@ -279,7 +278,6 @@ extern u32 GlobalDebugLevel;
|
|||
|
||||
int proc_set_rx_stbc(struct file *file, const char __user *buffer,
|
||||
unsigned long count, void *data);
|
||||
#endif //CONFIG_80211N_HT
|
||||
|
||||
int proc_get_two_path_rssi(char *page, char **start,
|
||||
off_t offset, int count,
|
||||
|
|
|
@ -323,8 +323,6 @@ struct mlme_priv {
|
|||
|
||||
struct qos_priv qospriv;
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
|
||||
/* Number of non-HT AP/stations */
|
||||
int num_sta_no_ht;
|
||||
|
||||
|
@ -336,8 +334,6 @@ struct mlme_priv {
|
|||
|
||||
struct ht_priv htpriv;
|
||||
|
||||
#endif
|
||||
|
||||
struct rt_link_detect LinkDetectInfo;
|
||||
struct timer_list dynamic_chk_timer; //dynamic/periodic check timer
|
||||
|
||||
|
@ -376,9 +372,7 @@ struct mlme_priv {
|
|||
/* Overlapping BSS information */
|
||||
int olbc_ht;
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
u16 ht_op_mode;
|
||||
#endif /* CONFIG_80211N_HT */
|
||||
|
||||
u8 *assoc_req;
|
||||
u32 assoc_req_len;
|
||||
|
@ -607,11 +601,9 @@ u8 *rtw_get_beacon_interval_from_ie(u8 *ie);
|
|||
|
||||
void rtw_joinbss_reset(struct adapter *padapter);
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len);
|
||||
void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len);
|
||||
void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
#endif
|
||||
|
||||
int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork);
|
||||
int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst);
|
||||
|
|
|
@ -136,9 +136,7 @@ struct sta_info {
|
|||
u16 BA_starting_seqctrl[16];
|
||||
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
struct ht_priv htpriv;
|
||||
#endif
|
||||
|
||||
//Notes:
|
||||
//STA_Mode:
|
||||
|
|
|
@ -636,8 +636,6 @@ __inline static int IsFrameTypeCtrl(unsigned char *pframe)
|
|||
Below is the definition for 802.11n
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
//#ifdef CONFIG_80211N_HT
|
||||
|
||||
#define SetOrderBit(pbuf) \
|
||||
do { \
|
||||
*(unsigned short *)(pbuf) |= cpu_to_le16(_ORDER_); \
|
||||
|
@ -824,10 +822,6 @@ enum ht_cap_ampdu_factor {
|
|||
#define HT_INFO_STBC_PARAM_PCO_ACTIVE ((u16) BIT(10))
|
||||
#define HT_INFO_STBC_PARAM_PCO_PHASE ((u16) BIT(11))
|
||||
|
||||
|
||||
|
||||
//#endif
|
||||
|
||||
// ===============WPS Section===============
|
||||
// For WPSv1.0
|
||||
#define WPSOUI 0x0050f204
|
||||
|
|
|
@ -32,11 +32,9 @@ struct pkt_file {
|
|||
size_t buf_len;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
extern int rtw_ht_enable;
|
||||
extern int rtw_cbw40_enable;
|
||||
extern int rtw_ampdu_enable;//for enable tx_ampdu
|
||||
#endif
|
||||
|
||||
#define NR_XMITFRAME 256
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue