Support iw reg set

This commit is contained in:
Rin Cat
2020-10-23 20:06:35 -04:00
parent a33122f8c0
commit 3a6f393add
3 changed files with 9 additions and 3 deletions

View File

@@ -89,6 +89,7 @@ CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
CONFIG_RTW_UP_MAPPING_RULE = tos
# Enable VHT rate on 2.4G channel or not
CONFIG_RTW_VHT_2G4 = y
CONFIG_RTW_IOCTL_SET_COUNTRY = y
########################## Debug ###########################
CONFIG_RTW_DEBUG = y
@@ -1294,6 +1295,10 @@ else
EXTRA_CFLAGS += -DRTW_VHT_2G4=0
endif
ifeq ($(CONFIG_RTW_IOCTL_SET_COUNTRY), y)
EXTRA_CFLAGS += -DCONFIG_RTW_IOCTL_SET_COUNTRY
endif
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT