mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
fix country setting and update vhc configure and rate fix (part 1)
This commit is contained in:
parent
dec5aaf128
commit
9e6fd2455c
7
Makefile
7
Makefile
@ -76,6 +76,8 @@ CONFIG_RTW_DEBUG = n
|
||||
CONFIG_RTW_LOG_LEVEL = 3
|
||||
CONFIG_USB_DEBUG = n
|
||||
#DEBUG=1
|
||||
######################### Enable Country Set ###############
|
||||
CONFIG_RTW_IOCTL_SET_COUNTRY = y
|
||||
######################## Wake On Lan ##########################
|
||||
CONFIG_WOWLAN = n
|
||||
#bit2: deauth, bit1: unicast, bit0: magic pkt.
|
||||
@ -614,6 +616,11 @@ ifeq ($(CONFIG_RTW_DEBUG), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_RTW_DEBUG
|
||||
EXTRA_CFLAGS += -DRTW_LOG_LEVEL=$(CONFIG_RTW_LOG_LEVEL)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_RTW_IOCTL_SET_COUNTRY), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_RTW_IOCTL_SET_COUNTRY
|
||||
endif
|
||||
|
||||
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||
|
@ -5471,7 +5471,7 @@ int proc_get_monitor(struct seq_file *m, void *v)
|
||||
_adapter *padapter = (_adapter *)rtw_netdev_priv(dev);
|
||||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||
|
||||
if (WIFI_MONITOR_STATE == get_fwstate(pmlmepriv)) {
|
||||
if (check_fwstate(pmlmepriv, WIFI_MONITOR_STATE) == _TRUE) {
|
||||
RTW_PRINT_SEL(m, "Monitor mode : Enable\n");
|
||||
|
||||
RTW_PRINT_SEL(m, "ch=%d, ch_offset=%d, bw=%d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user