unlock all channels in REALTEK_DEFINE (default) channel plan

This commit is contained in:
kimocoder 2018-07-03 10:20:59 +02:00
parent 761551db75
commit 05b29d4114
2 changed files with 6 additions and 1 deletions

View File

@ -194,6 +194,9 @@ ifeq ($(CONFIG_PCI_HCI), y)
HCI_NAME = pci
endif
ifeq ($(CONFIG_USB2_EXTERNAL_POWER), y)
EXTRA_CFLAGS += -DCONFIG_USE_EXTERNAL_POWER
endif
_OS_INTFS_FILES := os_dep/osdep_service.o \
os_dep/linux/os_intfs.o \

View File

@ -345,7 +345,9 @@ static RT_CHANNEL_PLAN_MAP RTW_ChannelPlanMap[] = {
};
static RT_CHANNEL_PLAN_MAP RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE =
CHPLAN_ENT(RTW_RD_2G_WORLD, RTW_RD_5G_FCC1, TXPWR_LMT_FCC); /* 0x7F, Realtek Define */
CHPLAN_ENT(RTW_RD_2G_GLOBAL, RTW_RD_5G_FCC11, TXPWR_LMT_FCC); /* 0x7F, Realtek Define -- *tweaked* */
/* Default is RTW_RD_2G_WORLD / RTW_RD_5G_FCC1, which has some channels disabled
CHPLAN_ENT(RTW_RD_2G_WORLD, RTW_RD_5G_FCC1, TXPWR_LMT_FCC); */
bool rtw_chplan_is_empty(u8 id)
{