mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
unlock all channels in REALTEK_DEFINE (default) channel plan
This commit is contained in:
parent
761551db75
commit
05b29d4114
3
Makefile
3
Makefile
@ -194,6 +194,9 @@ ifeq ($(CONFIG_PCI_HCI), y)
|
|||||||
HCI_NAME = pci
|
HCI_NAME = pci
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_USB2_EXTERNAL_POWER), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_USE_EXTERNAL_POWER
|
||||||
|
endif
|
||||||
|
|
||||||
_OS_INTFS_FILES := os_dep/osdep_service.o \
|
_OS_INTFS_FILES := os_dep/osdep_service.o \
|
||||||
os_dep/linux/os_intfs.o \
|
os_dep/linux/os_intfs.o \
|
||||||
|
@ -345,7 +345,9 @@ static RT_CHANNEL_PLAN_MAP RTW_ChannelPlanMap[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static RT_CHANNEL_PLAN_MAP RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE =
|
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)
|
bool rtw_chplan_is_empty(u8 id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user