mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 15:14:02 +00:00
added regd flag to disable radar detection
set default ht capab to 3 to enable 5GHz RX-STBC
This commit is contained in:
parent
95264a39e5
commit
b9df378af3
6
Makefile
6
Makefile
@ -104,7 +104,7 @@ CONFIG_AP_WOWLAN = n
|
|||||||
######### Notify SDIO Host Keep Power During Syspend ##########
|
######### Notify SDIO Host Keep Power During Syspend ##########
|
||||||
CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
||||||
###################### MP HW TX MODE FOR VHT #######################
|
###################### MP HW TX MODE FOR VHT #######################
|
||||||
CONFIG_MP_VHT_HW_TX_MODE = n
|
CONFIG_MP_VHT_HW_TX_MODE = y
|
||||||
###################### Platform Related #######################
|
###################### Platform Related #######################
|
||||||
CONFIG_PLATFORM_I386_PC = y
|
CONFIG_PLATFORM_I386_PC = y
|
||||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||||
@ -172,6 +172,10 @@ CONFIG_DRVEXT_MODULE = n
|
|||||||
export TopDIR ?= $(shell pwd)
|
export TopDIR ?= $(shell pwd)
|
||||||
|
|
||||||
########### COMMON #################################
|
########### COMMON #################################
|
||||||
|
ifeq ($(CONFIG_DISABLE_REGD_C), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_DISABLE_REGD_C
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_GSPI_HCI), y)
|
ifeq ($(CONFIG_GSPI_HCI), y)
|
||||||
HCI_NAME = gspi
|
HCI_NAME = gspi
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.2.20.2~20180829"
|
PACKAGE_VERSION="5.2.20.2~20180812"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
@ -8880,12 +8880,12 @@ static void rtw_cfg80211_init_ht_capab_ex(_adapter *padapter
|
|||||||
|
|
||||||
case RF_2T2R:
|
case RF_2T2R:
|
||||||
case RF_1T2R:
|
case RF_1T2R:
|
||||||
ht_cap->cap |= IEEE80211_HT_CAP_RX_STBC_1R;/* Only one spatial-stream STBC RX is supported */
|
ht_cap->cap |= IEEE80211_HT_CAP_RX_STBC_2R;/* Only one spatial-stream STBC RX is supported */
|
||||||
break;
|
break;
|
||||||
case RF_3T3R:
|
case RF_3T3R:
|
||||||
case RF_3T4R:
|
case RF_3T4R:
|
||||||
case RF_4T4R:
|
case RF_4T4R:
|
||||||
ht_cap->cap |= IEEE80211_HT_CAP_RX_STBC_1R;/* Only one spatial-stream STBC RX is supported */
|
ht_cap->cap |= IEEE80211_HT_CAP_RX_STBC_3R;/* Only one spatial-stream STBC RX is supported */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
RTW_INFO("[warning] rf_type %d is not expected\n", rf_type);
|
RTW_INFO("[warning] rf_type %d is not expected\n", rf_type);
|
||||||
|
@ -174,7 +174,7 @@ int rtw_bw_mode = CONFIG_RTW_CUSTOMIZE_BWMODE;
|
|||||||
int rtw_bw_mode = 0x21;
|
int rtw_bw_mode = 0x21;
|
||||||
#endif
|
#endif
|
||||||
int rtw_ampdu_enable = 1;/* for enable tx_ampdu , */ /* 0: disable, 0x1:enable */
|
int rtw_ampdu_enable = 1;/* for enable tx_ampdu , */ /* 0: disable, 0x1:enable */
|
||||||
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 */
|
int rtw_rx_stbc = 3;/* 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 */
|
||||||
#if (defined(CONFIG_RTL8814A) || defined(CONFIG_RTL8822B)) && defined(CONFIG_PCI_HCI)
|
#if (defined(CONFIG_RTL8814A) || defined(CONFIG_RTL8822B)) && defined(CONFIG_PCI_HCI)
|
||||||
int rtw_rx_ampdu_amsdu = 2;/* 0: disabled, 1:enabled, 2:auto . There is an IOT issu with DLINK DIR-629 when the flag turn on */
|
int rtw_rx_ampdu_amsdu = 2;/* 0: disabled, 1:enabled, 2:auto . There is an IOT issu with DLINK DIR-629 when the flag turn on */
|
||||||
#else
|
#else
|
||||||
|
@ -529,6 +529,7 @@ static struct country_code_to_enum_rd *_rtw_regd_find_country(u16 countrycode)
|
|||||||
|
|
||||||
int rtw_regd_init(_adapter *padapter)
|
int rtw_regd_init(_adapter *padapter)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_DISABLE_REGD_C
|
||||||
struct wiphy *wiphy = padapter->rtw_wdev->wiphy;
|
struct wiphy *wiphy = padapter->rtw_wdev->wiphy;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
@ -547,7 +548,7 @@ int rtw_regd_init(_adapter *padapter)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
_rtw_regd_init_wiphy(NULL, wiphy);
|
_rtw_regd_init_wiphy(NULL, wiphy);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||||
|
Loading…
Reference in New Issue
Block a user