From d6fe5161fd7cf9eba292fdd0799f1deaa32df55e Mon Sep 17 00:00:00 2001 From: kimocoder Date: Tue, 24 Jul 2018 17:26:16 +0200 Subject: [PATCH] enable USB3 mode switch, this also enables VHT SS3 --- dkms.conf | 2 +- os_dep/linux/os_intfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dkms.conf b/dkms.conf index 435ad1b..fe09b6b 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="realtek-rtl88xxau" -PACKAGE_VERSION="5.2.20.2~20180717" +PACKAGE_VERSION="5.2.20.2~20180724" BUILT_MODULE_NAME[0]="8812au" PROCS_NUM=`nproc` [ $PROCS_NUM -gt 16 ] && PROCS_NUM=16 diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index 2788e24..cb97b85 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -306,7 +306,7 @@ int rtw_drv_ant_band_switch = 1; /* 0:OFF , 1:ON, Driver control antenna band sw int rtw_single_ant_path; /*0:main ant , 1:aux ant , Fixed single antenna path, default main ant*/ /* 0: doesn't switch, 1: switch from usb2.0 to usb 3.0 2: switch from usb3.0 to usb 2.0 */ -int rtw_switch_usb_mode = 0; +int rtw_switch_usb_mode = 1; #ifdef CONFIG_USB_AUTOSUSPEND int rtw_enusbss = 1;/* 0:disable,1:enable */