fix country setting and update vhc configure and rate fix (part 1)

This commit is contained in:
kimocoder 2019-09-19 14:18:39 +00:00
parent dec5aaf128
commit 9e6fd2455c
2 changed files with 8 additions and 1 deletions

View File

@ -76,6 +76,8 @@ CONFIG_RTW_DEBUG = n
CONFIG_RTW_LOG_LEVEL = 3 CONFIG_RTW_LOG_LEVEL = 3
CONFIG_USB_DEBUG = n CONFIG_USB_DEBUG = n
#DEBUG=1 #DEBUG=1
######################### Enable Country Set ###############
CONFIG_RTW_IOCTL_SET_COUNTRY = y
######################## Wake On Lan ########################## ######################## Wake On Lan ##########################
CONFIG_WOWLAN = n CONFIG_WOWLAN = n
#bit2: deauth, bit1: unicast, bit0: magic pkt. #bit2: deauth, bit1: unicast, bit0: magic pkt.
@ -614,6 +616,11 @@ ifeq ($(CONFIG_RTW_DEBUG), y)
EXTRA_CFLAGS += -DCONFIG_RTW_DEBUG EXTRA_CFLAGS += -DCONFIG_RTW_DEBUG
EXTRA_CFLAGS += -DRTW_LOG_LEVEL=$(CONFIG_RTW_LOG_LEVEL) EXTRA_CFLAGS += -DRTW_LOG_LEVEL=$(CONFIG_RTW_LOG_LEVEL)
endif endif
ifeq ($(CONFIG_RTW_IOCTL_SET_COUNTRY), y)
EXTRA_CFLAGS += -DCONFIG_RTW_IOCTL_SET_COUNTRY
endif
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
ifeq ($(CONFIG_PLATFORM_I386_PC), y) ifeq ($(CONFIG_PLATFORM_I386_PC), y)

View File

@ -5471,7 +5471,7 @@ int proc_get_monitor(struct seq_file *m, void *v)
_adapter *padapter = (_adapter *)rtw_netdev_priv(dev); _adapter *padapter = (_adapter *)rtw_netdev_priv(dev);
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); 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, "Monitor mode : Enable\n");
RTW_PRINT_SEL(m, "ch=%d, ch_offset=%d, bw=%d\n", RTW_PRINT_SEL(m, "ch=%d, ch_offset=%d, bw=%d\n",