rtl8821cu: fix luci control

Known issues:
1. Default does not start, need to be set manually.
2. Default works in legacy mode, so recommend to switch to n/ac mode.
3. Switch to n/ac mode and relay WiFi needs to restart to work normally.
4. It is not recommended to change the country code, which may cause the
   module to fail to find the 5GHz channel when scanning WiFi.
This commit is contained in:
AmadeusGhost 2020-12-01 11:30:02 +08:00 committed by CN_SZTL
parent a39d9546b7
commit 0b626110f3
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -47,6 +47,7 @@ NOSTDINC_FLAGS = \
-I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \
-I$(STAGING_DIR)/usr/include/mac80211 \
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
-include backport/autoconf.h \
-include backport/backport.h
EXTRA_KCONFIG:=\
@ -58,6 +59,7 @@ ifeq ($(ARCH),aarch64)
endif
EXTRA_CFLAGS:= \
-DRTW_SINGLE_WIPHY \
-DRTW_USE_CFG80211_STA_EVENT \
-DCONFIG_RADIO_WORK \
-DCONFIG_IOCTL_CFG80211 \