mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove dead code for IS_HARDWARE_TYPE_
The 8188eu is an 802.11n device. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
0c57c68d3e
commit
e9184bd34c
23 changed files with 31 additions and 2034 deletions
|
@ -1838,12 +1838,6 @@ void rtw_hal_update_sta_rate_mask(PADAPTER padapter, struct sta_info *psta)
|
|||
#ifdef CONFIG_80211N_HT
|
||||
rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type));
|
||||
tx_nss = rtw_min(rf_type_to_rf_tx_cnt(rf_type), hal_spec->tx_nss_num);
|
||||
#ifdef CONFIG_80211AC_VHT
|
||||
if (psta->vhtpriv.vht_option) {
|
||||
/* AC mode ra_bitmap */
|
||||
tx_ra_bitmap |= (rtw_vht_mcs_map_to_bitmap(psta->vhtpriv.vht_mcs_map, tx_nss) << 12);
|
||||
} else
|
||||
#endif /* CONFIG_80211AC_VHT */
|
||||
if (psta->htpriv.ht_option) {
|
||||
/* n mode ra_bitmap */
|
||||
|
||||
|
|
|
@ -868,14 +868,8 @@ static s8 phydm_rssi_report(struct PHY_DM_STRUCT *p_dm_odm, u8 mac_id)
|
|||
|
||||
if (tx_bf_en)
|
||||
STBC_TX = 0;
|
||||
else {
|
||||
#ifdef CONFIG_80211AC_VHT
|
||||
if (is_supported_vht(p_entry->wireless_mode))
|
||||
STBC_TX = TEST_FLAG(p_entry->vhtpriv.stbc_cap, STBC_VHT_ENABLE_TX);
|
||||
else
|
||||
#endif
|
||||
STBC_TX = TEST_FLAG(p_entry->htpriv.stbc_cap, STBC_HT_ENABLE_TX);
|
||||
}
|
||||
else
|
||||
STBC_TX = TEST_FLAG(p_entry->htpriv.stbc_cap, STBC_HT_ENABLE_TX);
|
||||
|
||||
h2c_parameter[0] = (u8)(p_entry->mac_id & 0xFF);
|
||||
h2c_parameter[2] = p_entry->rssi_stat.undecorated_smoothed_pwdb & 0x7F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue