• R/O
  • HTTP
  • SSH
  • HTTPS

immortalwrt: Commit

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt


Commit MetaInfo

Revisão634ebca484226100f5ad670adb84a7290f845fec (tree)
Hora2022-01-15 19:22:24
AutorAmadeusGhost <42570690+AmadeusGhost@user...>
CommiterAmadeusGhost

Mensagem de Log

rtl88x2bu: fixes ap mode not working

(cherry picked from commit 444d028)

Mudança Sumário

Diff

--- a/package/kernel/rtl88x2bu/Makefile
+++ b/package/kernel/rtl88x2bu/Makefile
@@ -11,15 +11,14 @@ include $(TOPDIR)/rules.mk
1111 PKG_NAME:=rtl88x2bu
1212 PKG_RELEASE:=1
1313
14-PKG_SOURCE_URL:=https://github.com/cilynx/rtl88x2bu.git
14+PKG_SOURCE_URL:=https://github.com/morrownr/88x2bu.git
1515 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
1919
2020 PKG_LICENSE:=GPL-2.0
2121 PKG_LICENSE_FILES:=LICENSE
22-PKG_MAINTAINTER:=ElonH <elonh@immortalwrt.org>
2322
2423 PKG_BUILD_PARALLEL:=1
2524
@@ -50,13 +49,10 @@ NOSTDINC_FLAGS = \
5049 EXTRA_CFLAGS:= \
5150 -DRTW_SINGLE_WIPHY \
5251 -DRTW_USE_CFG80211_STA_EVENT \
53- -DCONFIG_RADIO_WORK \
5452 -DCONFIG_IOCTL_CFG80211 \
5553 -DCONFIG_CONCURRENT_MODE
5654
5755 EXTRA_KCONFIG:= \
58- CONFIG_POWER_SAVING=n \
59- CONFIG_RTW_DEBUG=y \
6056 CONFIG_RTL8822BU=m \
6157 USER_MODULE_NAME=rtl88x2bu
6258
--- a/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch
+++ b/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch
@@ -27,8 +27,8 @@ index 0d20a7e..f0a9f88 100644
2727 +#include <generated/autoconf.h>
2828 +#include "rtl_autoconf.h"
2929 #include "hal_ic_cfg.h"
30- #if defined(PLATFORM_LINUX) && defined (PLATFORM_WINDOWS)
3130
31+ #define CONFIG_RSSI_PRIORITY
3232 diff --git a/include/linux/wireless.h b/include/linux/old_unused_rtl_wireless.h
3333 similarity index 100%
3434 rename from include/linux/wireless.h
--- /dev/null
+++ b/package/kernel/rtl88x2bu/patches/020-change-value-of-vht-enable-and-usb-mode.patch
@@ -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 */
Show on old repository browser