Mirror only - Please move to https://github.com/immortalwrt/immortalwrt
Revisão | 634ebca484226100f5ad670adb84a7290f845fec (tree) |
---|---|
Hora | 2022-01-15 19:22:24 |
Autor | AmadeusGhost <42570690+AmadeusGhost@user...> |
Commiter | AmadeusGhost |
rtl88x2bu: fixes ap mode not working
(cherry picked from commit 444d028)
@@ -11,15 +11,14 @@ include $(TOPDIR)/rules.mk | ||
11 | 11 | PKG_NAME:=rtl88x2bu |
12 | 12 | PKG_RELEASE:=1 |
13 | 13 | |
14 | -PKG_SOURCE_URL:=https://github.com/cilynx/rtl88x2bu.git | |
14 | +PKG_SOURCE_URL:=https://github.com/morrownr/88x2bu.git | |
15 | 15 | PKG_SOURCE_PROTO:=git |
16 | -PKG_SOURCE_DATE:=2021-01-21 | |
17 | -PKG_SOURCE_VERSION:=48e7c19c92a77554403e1347447f8e2cfd780228 | |
18 | -PKG_MIRROR_HASH:=2991028fb7bd7e31d041b1e99d0e0d86781fff95fc70e4560ca9fcbe038f063f | |
16 | +PKG_SOURCE_DATE:=2021-11-09 | |
17 | +PKG_SOURCE_VERSION:=47a666315d0a5ff37b53adb48ca21404787565cf | |
18 | +PKG_MIRROR_HASH:=454449d0d11dec7cfc4196899ddbb6cd4851dcc767b7f40e293820952a12b024 | |
19 | 19 | |
20 | 20 | PKG_LICENSE:=GPL-2.0 |
21 | 21 | PKG_LICENSE_FILES:=LICENSE |
22 | -PKG_MAINTAINTER:=ElonH <elonh@immortalwrt.org> | |
23 | 22 | |
24 | 23 | PKG_BUILD_PARALLEL:=1 |
25 | 24 |
@@ -50,13 +49,10 @@ NOSTDINC_FLAGS = \ | ||
50 | 49 | EXTRA_CFLAGS:= \ |
51 | 50 | -DRTW_SINGLE_WIPHY \ |
52 | 51 | -DRTW_USE_CFG80211_STA_EVENT \ |
53 | - -DCONFIG_RADIO_WORK \ | |
54 | 52 | -DCONFIG_IOCTL_CFG80211 \ |
55 | 53 | -DCONFIG_CONCURRENT_MODE |
56 | 54 | |
57 | 55 | EXTRA_KCONFIG:= \ |
58 | - CONFIG_POWER_SAVING=n \ | |
59 | - CONFIG_RTW_DEBUG=y \ | |
60 | 56 | CONFIG_RTL8822BU=m \ |
61 | 57 | USER_MODULE_NAME=rtl88x2bu |
62 | 58 |
@@ -27,8 +27,8 @@ index 0d20a7e..f0a9f88 100644 | ||
27 | 27 | +#include <generated/autoconf.h> |
28 | 28 | +#include "rtl_autoconf.h" |
29 | 29 | #include "hal_ic_cfg.h" |
30 | - #if defined(PLATFORM_LINUX) && defined (PLATFORM_WINDOWS) | |
31 | 30 | |
31 | + #define CONFIG_RSSI_PRIORITY | |
32 | 32 | diff --git a/include/linux/wireless.h b/include/linux/old_unused_rtl_wireless.h |
33 | 33 | similarity index 100% |
34 | 34 | rename from include/linux/wireless.h |
@@ -0,0 +1,20 @@ | ||
1 | +--- a/os_dep/linux/os_intfs.c | |
2 | ++++ b/os_dep/linux/os_intfs.c | |
3 | +@@ -309,7 +309,7 @@ int rtw_bfee_rf_number = 0; /*BeamformeeCapRfNum Rf path number, 0 for auto, ot | |
4 | + #endif /* CONFIG_80211N_HT */ | |
5 | + | |
6 | + #ifdef CONFIG_80211AC_VHT | |
7 | +-int rtw_vht_enable = 1; /* 0:disable, 1:enable, 2:force auto enable */ | |
8 | ++int rtw_vht_enable = 2; /* 0:disable, 1:enable, 2:force auto enable */ | |
9 | + module_param(rtw_vht_enable, int, 0644); | |
10 | + | |
11 | + int rtw_ampdu_factor = 7; | |
12 | +@@ -392,7 +392,7 @@ int rtw_drv_ant_band_switch = 1; /* 0:OFF , 1:ON, Driver control antenna band sw | |
13 | + int rtw_single_ant_path; /*0:main ant , 1:aux ant , Fixed single antenna path, default main ant*/ | |
14 | + | |
15 | + /* 0: doesn't switch, 1: switch from usb2.0 to usb 3.0 2: switch from usb3.0 to usb 2.0 */ | |
16 | +-int rtw_switch_usb_mode = 0; | |
17 | ++int rtw_switch_usb_mode = 1; | |
18 | + | |
19 | + #ifdef CONFIG_USB_AUTOSUSPEND | |
20 | + int rtw_enusbss = 1;/* 0:disable,1:enable */ |