mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +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
|
@ -83,13 +83,11 @@ static int rtw_uapsd_acbe_en = 0;
|
|||
static int rtw_uapsd_acvi_en = 0;
|
||||
static int rtw_uapsd_acvo_en = 0;
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
int rtw_ht_enable = 1;
|
||||
int rtw_cbw40_enable = 3; // 0 :diable, bit(0): enable 2.4g, bit(1): enable 5g
|
||||
int rtw_ampdu_enable = 1;//for enable tx_ampdu
|
||||
static int rtw_rx_stbc = 1;// 0: disable, bit(0):enable 2.4g, bit(1):enable 5g, default is set to enable 2.4GHZ for IOT issue with bufflao's AP at 5GHZ
|
||||
static int rtw_ampdu_amsdu = 0;// 0: disabled, 1:enabled, 2:auto
|
||||
#endif
|
||||
|
||||
static int rtw_lowrate_two_xmit = 1;//Use 2 path Tx to transmit MCS0~7 and legacy mode
|
||||
|
||||
|
@ -144,13 +142,11 @@ module_param(rtw_wmm_enable, int, 0644);
|
|||
module_param(rtw_vrtl_carrier_sense, int, 0644);
|
||||
module_param(rtw_vcs_type, int, 0644);
|
||||
module_param(rtw_busy_thresh, int, 0644);
|
||||
#ifdef CONFIG_80211N_HT
|
||||
module_param(rtw_ht_enable, int, 0644);
|
||||
module_param(rtw_cbw40_enable, int, 0644);
|
||||
module_param(rtw_ampdu_enable, int, 0644);
|
||||
module_param(rtw_rx_stbc, int, 0644);
|
||||
module_param(rtw_ampdu_amsdu, int, 0644);
|
||||
#endif
|
||||
module_param(rtw_lowrate_two_xmit, int, 0644);
|
||||
module_param(rtw_rf_config, int, 0644);
|
||||
module_param(rtw_power_mgnt, int, 0644);
|
||||
|
@ -445,7 +441,6 @@ void rtw_proc_init_one(struct net_device *dev)
|
|||
return;
|
||||
}
|
||||
entry->write_proc = proc_set_rx_signal;
|
||||
#ifdef CONFIG_80211N_HT
|
||||
entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
|
||||
dir_dev, proc_get_ht_enable, dev);
|
||||
if (!entry) {
|
||||
|
@ -477,7 +472,6 @@ void rtw_proc_init_one(struct net_device *dev)
|
|||
return;
|
||||
}
|
||||
entry->write_proc = proc_set_rx_stbc;
|
||||
#endif //CONFIG_80211N_HT
|
||||
|
||||
entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
|
||||
dir_dev, proc_get_two_path_rssi, dev);
|
||||
|
@ -543,12 +537,10 @@ void rtw_proc_remove_one(struct net_device *dev)
|
|||
|
||||
remove_proc_entry("best_channel", dir_dev);
|
||||
remove_proc_entry("rx_signal", dir_dev);
|
||||
#ifdef CONFIG_80211N_HT
|
||||
remove_proc_entry("cbw40_enable", dir_dev);
|
||||
remove_proc_entry("ht_enable", dir_dev);
|
||||
remove_proc_entry("ampdu_enable", dir_dev);
|
||||
remove_proc_entry("rx_stbc", dir_dev);
|
||||
#endif //CONFIG_80211N_HT
|
||||
remove_proc_entry("path_rssi", dir_dev);
|
||||
remove_proc_entry("rssi_disp", dir_dev);
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
|
@ -625,13 +617,11 @@ _func_enter_;
|
|||
registry_par->uapsd_acvi_en = (u8)rtw_uapsd_acvi_en;
|
||||
registry_par->uapsd_acvo_en = (u8)rtw_uapsd_acvo_en;
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
registry_par->ht_enable = (u8)rtw_ht_enable;
|
||||
registry_par->cbw40_enable = (u8)rtw_cbw40_enable;
|
||||
registry_par->ampdu_enable = (u8)rtw_ampdu_enable;
|
||||
registry_par->rx_stbc = (u8)rtw_rx_stbc;
|
||||
registry_par->ampdu_amsdu = (u8)rtw_ampdu_amsdu;
|
||||
#endif
|
||||
registry_par->lowrate_two_xmit = (u8)rtw_lowrate_two_xmit;
|
||||
registry_par->rf_config = (u8)rtw_rf_config;
|
||||
registry_par->low_power = (u8)rtw_low_power;
|
||||
|
@ -877,9 +867,7 @@ static u8 rtw_init_default_value(struct adapter *padapter)
|
|||
pmlmepriv->scan_mode = SCAN_ACTIVE;
|
||||
|
||||
//ht_priv
|
||||
#ifdef CONFIG_80211N_HT
|
||||
pmlmepriv->htpriv.ampdu_enable = false;//set to disabled
|
||||
#endif
|
||||
|
||||
//security_priv
|
||||
psecuritypriv->binstallGrpkey = _FAIL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue