mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 23:24:11 +00:00
Merge pull request #9 from kimocoder/v5.2.20
Add new VHT MP HW TX mode on all chipsets
This commit is contained in:
commit
c32a98f630
6
Makefile
6
Makefile
@ -110,7 +110,7 @@ CONFIG_AP_WOWLAN = n
|
||||
######### Notify SDIO Host Keep Power During Syspend ##########
|
||||
CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
||||
###################### MP HW TX MODE FOR VHT #######################
|
||||
CONFIG_MP_VHT_HW_TX_MODE = n
|
||||
CONFIG_MP_VHT_HW_TX_MODE = y
|
||||
###################### Platform Related #######################
|
||||
CONFIG_PLATFORM_I386_PC = y
|
||||
CONFIG_PLATFORM_ARM_RPI = n
|
||||
@ -566,8 +566,8 @@ endif
|
||||
########### HAL_RTL8814A #################################
|
||||
ifeq ($(CONFIG_RTL8814A), y)
|
||||
## ADD NEW VHT MP HW TX MODE ##
|
||||
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
|
||||
#CONFIG_MP_VHT_HW_TX_MODE = y
|
||||
EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
|
||||
CONFIG_MP_VHT_HW_TX_MODE = y
|
||||
##########################################
|
||||
RTL871X = rtl8814a
|
||||
ifeq ($(CONFIG_USB_HCI), y)
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl88xxau"
|
||||
PACKAGE_VERSION="5.2.20.2~20180811"
|
||||
PACKAGE_VERSION="5.2.20.2~20180812"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=88XXau
|
||||
PROCS_NUM=`nproc`
|
||||
|
@ -1352,7 +1352,7 @@ static u8 is_rtw_ndev(struct net_device *ndev)
|
||||
static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state, void *ptr)
|
||||
{
|
||||
struct net_device *ndev;
|
||||
_adapter *adapter = rtw_netdev_priv(ndev);
|
||||
_adapter *adapter;
|
||||
|
||||
if (ptr == NULL)
|
||||
return NOTIFY_DONE;
|
||||
@ -1365,6 +1365,8 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state
|
||||
|
||||
if (ndev == NULL)
|
||||
return NOTIFY_DONE;
|
||||
|
||||
adapter = rtw_netdev_priv(ndev);
|
||||
|
||||
if (!is_rtw_ndev(ndev))
|
||||
return NOTIFY_DONE;
|
||||
|
Loading…
Reference in New Issue
Block a user