mtwifi: add default config for mt7915d

Based on: https://github.com/MeIsReallyBa/MT7915_7621-MT_WIFI-Openwrt
This commit is contained in:
AmadeusGhost 2021-10-21 23:04:20 +08:00
parent e76d06cd15
commit 974cee715d
7 changed files with 910 additions and 131 deletions

View File

@ -7,13 +7,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mt_wifi PKG_NAME:=mt_wifi
PKG_VERSION:=1 PKG_VERSION:=1
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_CONFIG_DEPENDS := \ PKG_CONFIG_DEPENDS := \
CONFIG_MTK_CHIP_MT7603E_MT7612E \ CONFIG_MTK_CHIP_MT7603E_MT7612E \
CONFIG_MTK_CHIP_MT7603E_MT7615E \ CONFIG_MTK_CHIP_MT7603E_MT7615E \
CONFIG_MTK_CHIP_MT7615E \ CONFIG_MTK_CHIP_MT7615E \
CONFIG_MTK_CHIP_MT7615E_DBDC CONFIG_MTK_CHIP_MT7615E_DBDC \
CONFIG_MTK_CHIP_MT7915E_DBDC
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -51,16 +52,18 @@ else ifeq ($(CONFIG_MTK_CHIP_MT7603E_MT7615E),y)
$(INSTALL_BIN) ./files/7603_7615-l1profile.dat $(1)/etc/wireless/l1profile.dat $(INSTALL_BIN) ./files/7603_7615-l1profile.dat $(1)/etc/wireless/l1profile.dat
$(INSTALL_BIN) ./files/mt7603.dat $(1)/etc/wireless/mt7615/mt7615.1.dat $(INSTALL_BIN) ./files/mt7603.dat $(1)/etc/wireless/mt7615/mt7615.1.dat
$(INSTALL_BIN) ./files/mt7615.dat $(1)/etc/wireless/mt7615/mt7615.2.dat $(INSTALL_BIN) ./files/mt7615.dat $(1)/etc/wireless/mt7615/mt7615.2.dat
else else ifeq ($(CONFIG_MTK_CHIP_MT7615E_DBDC),y)
ifeq ($(CONFIG_MTK_CHIP_MT7615E_DBDC),y) $(INSTALL_BIN) ./files/7615d.l1profile.dat $(1)/etc/wireless/l1profile.dat
$(INSTALL_BIN) ./files/dbdc.l1profile.dat $(1)/etc/wireless/l1profile.dat
$(INSTALL_BIN) ./files/mt7615.1.2G.dat $(1)/etc/wireless/mt7615/ $(INSTALL_BIN) ./files/mt7615.1.2G.dat $(1)/etc/wireless/mt7615/
$(INSTALL_BIN) ./files/mt7615.1.5G.dat $(1)/etc/wireless/mt7615/ $(INSTALL_BIN) ./files/mt7615.1.5G.dat $(1)/etc/wireless/mt7615/
else ifeq ($(CONFIG_MTK_CHIP_MT7915E_DBDC),y)
$(INSTALL_BIN) ./files/7915d.l1profile.dat $(1)/etc/wireless/l1profile.dat
$(INSTALL_BIN) ./files/mt7915.1.2G.dat $(1)/etc/wireless/mt7615/
$(INSTALL_BIN) ./files/mt7915.1.5G.dat $(1)/etc/wireless/mt7615/
else else
$(INSTALL_BIN) ./files/7615.l1profile.dat $(1)/etc/wireless/l1profile.dat $(INSTALL_BIN) ./files/7615.l1profile.dat $(1)/etc/wireless/l1profile.dat
$(INSTALL_BIN) ./files/mt7615.2G.dat $(1)/etc/wireless/mt7615/mt7615.1.dat $(INSTALL_BIN) ./files/mt7615.2G.dat $(1)/etc/wireless/mt7615/mt7615.1.dat
$(INSTALL_BIN) ./files/mt7615.5G.dat $(1)/etc/wireless/mt7615/mt7615.2.dat $(INSTALL_BIN) ./files/mt7615.5G.dat $(1)/etc/wireless/mt7615/mt7615.2.dat
endif
endif endif
$(INSTALL_BIN) ./files/SingleSKU.dat $(1)/etc_ro/Wireless/RT2860AP/ $(INSTALL_BIN) ./files/SingleSKU.dat $(1)/etc_ro/Wireless/RT2860AP/
$(INSTALL_BIN) ./files/SingleSKU_BF.dat $(1)/etc_ro/Wireless/RT2860AP/ $(INSTALL_BIN) ./files/SingleSKU_BF.dat $(1)/etc_ro/Wireless/RT2860AP/

View File

@ -23,4 +23,9 @@ config MTK_CHIP_MT7615E_DBDC
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n default n
config MTK_CHIP_MT7915E_DBDC
bool "MTK_CHIP_MT7915E_DBDC"
default y if PACKAGE_kmod-mt7915d
default n
endmenu endmenu

View File

@ -0,0 +1,12 @@
Default
INDEX0=MT7915D
INDEX0_profile_path=/etc/wireless/mt7615/mt7615.1.2G.dat;/etc/wireless/mt7615/mt7615.1.5G.dat
INDEX0_EEPROM_offset=0x0
INDEX0_EEPROM_size=0x20000
INDEX0_EEPROM_name=e2p
INDEX0_main_ifname=rax0;ra0
INDEX0_ext_ifname=rax;ra
INDEX0_wds_ifname=wdsx;wds
INDEX0_apcli_ifname=apclix;apcli
INDEX0_single_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
INDEX0_bf_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku-bf.dat

View File

@ -5,8 +5,7 @@
package.path = '/lib/wifi/?.lua;'..package.path package.path = '/lib/wifi/?.lua;'..package.path
local vif_prefix = {"ra", "rai", "rae", "rax", "ray", "raz", local vif_prefix = {"ra", "rai", "rae", "rax", "ray", "raz", }
"apcli", "apclix", "apclii", "apcliy", "apclie", "apcliz", }
local function esc(x) local function esc(x)
return (x:gsub('%%', '%%%%') return (x:gsub('%%', '%%%%')
@ -25,20 +24,6 @@ end
function add_vif_into_lan(vif) function add_vif_into_lan(vif)
local mtkwifi = require("mtkwifi") local mtkwifi = require("mtkwifi")
local wanif = mtkwifi.__trim(mtkwifi.read_pipe("uci get network.wan.ifname"))
if ('' ~= wanif and string.match(vif, wanif)) then
return
end
local brvifs = mtkwifi.__trim(
mtkwifi.read_pipe("uci get network.lan.ifname"))
if not string.match(brvifs, esc(vif)) then
nixio.syslog("debug", "mt7615_up: add "..vif.." into lan")
brvifs = brvifs.." "..vif
os.execute("uci set network.lan.ifname=\""..brvifs.."\"")
os.execute("uci commit")
-- os.execute("brctl addif br-lan "..vif)
os.execute("ubus call network.interface.lan add_device \"{\\\"name\\\":\\\""..vif.."\\\"}\"")
end
end end
function mt7615_up(devname) function mt7615_up(devname)
@ -47,62 +32,16 @@ function mt7615_up(devname)
nixio.syslog("debug", "mt7615_up called!") nixio.syslog("debug", "mt7615_up called!")
local devs, l1parser = mtkwifi.__get_l1dat() os.execute("ifconfig ra0 up")
-- l1 profile present, good! os.execute("ifconfig apcli0 up" )
if l1parser and devs then os.execute("ifconfig rax0 up")
dev = devs.devname_ridx[devname] os.execute("ifconfig apclix0 up" )
if not dev then os.execute("ifconfig rai0 up")
nixio.syslog("err", "mt7615_up: dev "..devname.." not found!") os.execute("ifconfig apclii0 up " )
return os.execute("brctl addif br-lan ra0 " )
end os.execute("brctl addif br-lan rax0 " )
-- we have to bring up main_ifname first, main_ifname will create all other vifs. os.execute("brctl addif br-lan rai0 " )
if mtkwifi.exists("/sys/class/net/"..dev.main_ifname) then
nixio.syslog("debug", "mt7615_up: ifconfig "..dev.main_ifname.." up")
os.execute("ifconfig "..dev.main_ifname.." up")
add_vif_into_lan(dev.main_ifname)
else
nixio.syslog("err", "mt7615_up: main_ifname "..dev.main_ifname.." missing, quit!")
return
end
for _,vif in ipairs(string.split(mtkwifi.read_pipe("ls /sys/class/net"), "\n"))
do
if vif ~= dev.main_ifname and
( string.match(vif, esc(dev.ext_ifname).."[0-9]+")
or string.match(vif, esc(dev.apcli_ifname).."[0-9]+")
or string.match(vif, esc(dev.wds_ifname).."[0-9]+")
or string.match(vif, esc(dev.mesh_ifname).."[0-9]+"))
then
nixio.syslog("debug", "mt7615_up: ifconfig "..vif.."0 up")
os.execute("ifconfig "..vif.." up")
add_vif_into_lan(vif)
-- else nixio.syslog("debug", "mt7615_up: skip "..vif..", prefix not match "..pre)
end
end
elseif mtkwifi.exists("/etc/wireless/mt7615/"..devname..".dat") then
for _, pre in ipairs(vif_prefix) do
-- we have to bring up root vif first, root vif will create all other vifs.
if mtkwifi.exists("/sys/class/net/"..pre.."0") then
nixio.syslog("debug", "mt7615_up: ifconfig "..pre.."0 up")
os.execute("ifconfig "..pre.."0 up")
add_vif_into_lan(pre.."0")
end
for _,vif in ipairs(string.split(mtkwifi.read_pipe("ls /sys/class/net"), "\n"))
do
-- nixio.syslog("debug", "mt7615_up: navigate "..pre)
if string.match(vif, pre.."[1-9]+") then
nixio.syslog("debug", "mt7615_up: ifconfig "..vif.." up")
os.execute("ifconfig "..vif.." up")
add_vif_into_lan(vif)
-- else nixio.syslog("debug", "mt7615_up: skip "..vif..", prefix not match "..pre)
end
end
end
else nixio.syslog("debug", "mt7615_up: skip "..devname..", config not exist")
end
os.execute(" rm -rf /tmp/mtk/wifi/mt7615*.need_reload") os.execute(" rm -rf /tmp/mtk/wifi/mt7615*.need_reload")
os.execute("/etc/init.d/network restart")
end end
function mt7615_down(devname) function mt7615_down(devname)
@ -111,70 +50,23 @@ function mt7615_down(devname)
nixio.syslog("debug", "mt7615_down called!") nixio.syslog("debug", "mt7615_down called!")
local devs, l1parser = mtkwifi.__get_l1dat() local devs, l1parser = mtkwifi.__get_l1dat()
-- l1 profile present, good! os.execute("ifconfig ra0 down")
if l1parser and devs then os.execute("ifconfig apcli0 down")
dev = devs.devname_ridx[devname] os.execute("ifconfig rax0 down")
if not dev then os.execute("ifconfig apclix0 down")
nixio.syslog("err", "mt7615_down: dev "..devname.." not found!") os.execute("ifconfig rai0 down")
return os.execute("ifconfig apclii0 down")
end
for _,vif in ipairs(string.split(mtkwifi.read_pipe("ls /sys/class/net"), "\n"))
do
if vif == dev.main_ifname
or string.match(vif, esc(dev.ext_ifname).."[0-9]+")
or string.match(vif, esc(dev.apcli_ifname).."[0-9]+")
or string.match(vif, esc(dev.wds_ifname).."[0-9]+")
or string.match(vif, esc(dev.mesh_ifname).."[0-9]+")
then
nixio.syslog("debug", "mt7615_down: ifconfig "..vif.." down")
os.execute("ifconfig "..vif.." down")
local brvifs = mtkwifi.__trim(mtkwifi.read_pipe("uci get network.lan.ifname"))
if string.match(brvifs, esc(vif)) then
brvifs = mtkwifi.__trim(string.gsub(brvifs, esc(vif), ""))
nixio.syslog("debug", "mt7615_down: remove "..vif.." from lan")
os.execute("uci set network.lan.ifname=\""..brvifs.."\"")
os.execute("uci commit")
os.execute("ubus call network.interface.lan remove_device \"{\\\"name\\\":\\\""..vif.."\\\"}\"")
end
-- else nixio.syslog("debug", "mt7615_down: skip "..vif..", prefix not match "..pre)
end
end
elseif mtkwifi.exists("/etc/wireless/mt7615/"..devname..".dat") then
for _, pre in ipairs(vif_prefix) do
for _,vif in ipairs(string.split(mtkwifi.read_pipe("ls /sys/class/net"), "\n"))
do
if string.match(vif, pre.."[0-9]+") then
nixio.syslog("debug", "mt7615_down: ifconfig "..vif.."down")
os.execute("ifconfig "..vif.." down")
local brvifs = mtkwifi.read_pipe("uci get network.lan.ifname")
if string.match(brvifs, vif) then
brvifs = mtkwifi.__trim(string.gsub(brvifs, vif, ""))
nixio.syslog("debug", "mt7615_down: remove "..vif.." from lan")
os.execute("uci set network.lan.ifname=\""..brvifs.."\"")
os.execute("uci commit")
os.execute("ubus call network.interface.lan remove_device \"{\\\"name\\\":\\\""..vif.."\\\"}\"")
end
-- else nixio.syslog("debug", "mt7615_down: skip "..vif..", prefix not match "..pre)
end
end
end
else nixio.syslog("debug", "mt7615_down: skip "..devname..", config not exist")
end
os.execute(" rm -rf /tmp/mtk/wifi/mt7615*.need_reload") os.execute(" rm -rf /tmp/mtk/wifi/mt7615*.need_reload")
end end
function mt7615_reload(devname) function mt7615_reload(devname)
local nixio = require("nixio") local nixio = require("nixio")
nixio.syslog("debug", "mt7615_reload called!")
mt7615_down(devname) mt7615_down(devname)
mt7615_up(devname) mt7615_up(devname)
end end
function mt7615_restart(devname) function mt7615_restart(devname)
local nixio = require("nixio") local nixio = require("nixio")
nixio.syslog("debug", "mt7615_restart called!")
mt7615_down(devname) mt7615_down(devname)
os.execute("rmmod mt_wifi") os.execute("rmmod mt_wifi")
os.execute("modprobe mt_wifi") os.execute("modprobe mt_wifi")
@ -221,4 +113,3 @@ config wifi-iface
end end
end end
end end

View File

@ -0,0 +1,433 @@
#The word of "Default" must not be removed
Default
AccessControlList0=
AccessControlList1=
AccessControlList10=
AccessControlList11=
AccessControlList12=
AccessControlList13=
AccessControlList14=
AccessControlList15=
AccessControlList2=
AccessControlList3=
AccessControlList4=
AccessControlList5=
AccessControlList6=
AccessControlList7=
AccessControlList8=
AccessControlList9=
AccessPolicy0=0
AccessPolicy1=0
AccessPolicy10=0
AccessPolicy11=0
AccessPolicy12=0
AccessPolicy13=0
AccessPolicy14=0
AccessPolicy15=0
AccessPolicy2=0
AccessPolicy3=0
AccessPolicy4=0
AccessPolicy5=0
AccessPolicy6=0
AccessPolicy7=0
AccessPolicy8=0
AccessPolicy9=0
AckPolicy=0;0;0;0
APACM=0;0;0;0
APAifsn=3;7;1;1
ApCliAuthMode=
ApCliBssid=
ApCliDefaultKeyID=
ApCliEnable=0
ApCliEncrypType=
ApCliKey1Str=
ApCliKey1Str1=
ApCliKey1Type=
ApCliKey2Str=
ApCliKey2Str1=
ApCliKey2Type=
ApCliKey3Str=
ApCliKey3Str1=
ApCliKey3Type=
ApCliKey4Str=
ApCliKey4Str1=
ApCliKey4Type=
ApCliSsid=
ApCliWirelessMode=
ApCliWPAPSK=
ApCliWPAPSK1=
ApCliMuOfdmaDlEnable=1
ApCliMuOfdmaUlEnable=1
ApCliMuMimoDlEnable=1
ApCliMuMimoUlEnable=1
APCwmax=6;10;4;3
APCwmin=4;4;3;2
UAPSDCapable=1
APTxop=0;0;94;47
AuthMode=OPEN
AutoChannelSelect=0
AutoChannelSkipList=
AutoProvisionEn=0
BandSteering=0
BasicRate=15
BeaconPeriod=100
BFBACKOFFenable=0
BgndScanSkipCh=
BGProtection=0
BndStrgBssIdx=
BSSACM=0;0;0;0
BSSAifsn=3;7;2;2
BSSCwmax=10;10;4;3
BSSCwmin=4;4;3;2
BssidNum=1
BSSTxop=0;0;94;47
BW_Enable=0
BW_Guarantee_Rate=
BW_Maximum_Rate=
BW_Priority=
BW_Root=0
CalCacheApply=0
CarrierDetect=0
Channel=6
ChannelGrp=
CountryCode=US
CountryRegion=0
CountryRegionABand=9
CP_SUPPORT=2
CSPeriod=6
DBDC_MODE=1
DebugFlags=0
DefaultKeyID=1
DfsCalibration=0
DfsFalseAlarmPrevent=1
DfsZeroWait=0
DfsZeroWaitCacTime=255
Disable160RuMu=1
DisableOLBC=0
DtimPeriod=1
E2pAccessMode=2
EAPifname=br-lan
EDCCAEnable=1
EncrypType=NONE
EthConvertMode=dongle
EtherTrafficBand=0
Ethifname=
ETxBfEnCond=1
FineAGC=0
FixedTxMode=
ForceRoamSupport=
FragThreshold=2346
FreqDelta=0
FtSupport=0
GreenAP=0
G_BAND_256QAM=1
HeraStbcPriority=0
HideSSID=0
HT_AMSDU=1
AMSDU_NUM=4
HT_AutoBA=1
HT_BADecline=0
HT_BAWinSize=256
HT_BSSCoexistence=1
HT_BW=1
HT_DisallowTKIP=1
HT_EXTCHA=1
HT_GI=1
HT_HTC=1
HT_LDPC=1
HT_LinkAdapt=0
HT_MCS=33
HT_MpduDensity=5
HT_OpMode=0
HT_PROTECT=1
HT_RDG=0
HT_RxStream=2
HT_STBC=1
HT_TxStream=2
IcapMode=0
idle_timeout_interval=0
IEEE80211H=1
IEEE8021X=0
IgmpSnEnable=0
ITxBfEn=1
Key1Str=
Key1Str1=
Key1Str10=
Key1Str11=
Key1Str12=
Key1Str13=
Key1Str14=
Key1Str15=
Key1Str16=
Key1Str2=
Key1Str3=
Key1Str4=
Key1Str5=
Key1Str6=
Key1Str7=
Key1Str8=
Key1Str9=
Key1Type=0
Key2Str=
Key2Str1=
Key2Str10=
Key2Str11=
Key2Str12=
Key2Str13=
Key2Str14=
Key2Str15=
Key2Str16=
Key2Str2=
Key2Str3=
Key2Str4=
Key2Str5=
Key2Str6=
Key2Str7=
Key2Str8=
Key2Str9=
Key2Type=0
Key3Str=
Key3Str1=
Key3Str10=
Key3Str11=
Key3Str12=
Key3Str13=
Key3Str14=
Key3Str15=
Key3Str16=
Key3Str2=
Key3Str3=
Key3Str4=
Key3Str5=
Key3Str6=
Key3Str7=
Key3Str8=
Key3Str9=
Key3Type=0
Key4Str=
Key4Str1=
Key4Str10=
Key4Str11=
Key4Str12=
Key4Str13=
Key4Str14=
Key4Str15=
Key4Str16=
Key4Str2=
Key4Str3=
Key4Str4=
Key4Str5=
Key4Str6=
Key4Str7=
Key4Str8=
Key4Str9=
Key4Type=0
LinkTestSupport=0
MACRepeaterEn=
MACRepeaterOuiMode=2
MaxRuOfdma=8
MaxDLMuMimo=2
MaxULMuMimo=2
MeshAuthMode=
MeshAutoLink=0
MeshDefaultkey=0
MeshEncrypType=
MeshId=
MeshWEPKEY=
MeshWPAKEY=
MUTxRxEnable=1
NoForwarding=0
NoForwardingBTNBSSID=0
own_ip_addr=192.168.1.1
PcieAspm=0
PERCENTAGEenable=0
PhyRateLimit=0
PMFMFPC=1
PMFMFPR=0
PMFSHA256=0
PMKCachePeriod=10
PowerUpCckOfdm=0:0:0:0:0:0:0
PowerUpHT20=0:0:0:0:0:0:0
PowerUpHT40=0:0:0:0:0:0:0
PowerUpVHT160=0:0:0:0:0:0:0
PowerUpVHT20=0:0:0:0:0:0:0
PowerUpVHT40=0:0:0:0:0:0:0
PowerUpVHT80=0:0:0:0:0:0:0
PreAntSwitch=
PreAuth=0
PreAuthifname=br-lan
RadioLinkSelection=0
RadioOn=1
RADIUS_Acct_Key=
RADIUS_Acct_Port=1813
RADIUS_Acct_Server=
RADIUS_Key1=
RADIUS_Key10=
RADIUS_Key11=
RADIUS_Key12=
RADIUS_Key13=
RADIUS_Key14=
RADIUS_Key15=
RADIUS_Key16=
RADIUS_Key2=
RADIUS_Key3=
RADIUS_Key4=
RADIUS_Key5=
RADIUS_Key6=
RADIUS_Key7=
RADIUS_Key8=
RADIUS_Key9=
RADIUS_Port=1812
RADIUS_Server=0
RDRegion=
RED_Enable=1
RekeyInterval=3600
RekeyMethod=DISABLE
RRMEnable=1
WNMEnable=1
RTSThreshold=2347
session_timeout_interval=0
ShortSlot=1
SkuTableIdx=0
SKUenable=0
SREnable=0
SRMode=0
SRSDEnable=0
PPEnable=0
SSID=
SSID1=OpenWrt
SSID10=
SSID11=
SSID12=
SSID13=
SSID14=
SSID15=
SSID16=
SSID2=
SSID3=
SSID4=
SSID5=
SSID6=
SSID7=
SSID8=
SSID9=
StationKeepAlive=0
StreamMode=0
StreamModeMac0=
StreamModeMac1=
StreamModeMac2=
StreamModeMac3=
TGnWifiTest=0
ThermalRecal=0
CCKTxStream=4
TWTSupport=1
TxBurst=1
TxPower=100
TxPreamble=1
VHT_BW=0
VHT_BW_SIGNAL=0
VHT_LDPC=1
VHT_Sec80_Channel=0
VHT_SGI=1
VHT_STBC=1
Vht1024QamSupport=0
VLANID=0
VLANPriority=0
VLANTag=0
VOW_Airtime_Ctrl_En=
VOW_Airtime_Fairness_En=1
VOW_BW_Ctrl=0
VOW_Group_Backlog=
VOW_Group_DWRR_Max_Wait_Time=
VOW_Group_DWRR_Quantum=
VOW_Group_Max_Airtime_Bucket_Size=
VOW_Group_Max_Rate=
VOW_Group_Max_Rate_Bucket_Size=
VOW_Group_Max_Ratio=
VOW_Group_Max_Wait_Time=
VOW_Group_Min_Airtime_Bucket_Size=
VOW_Group_Min_Rate=
VOW_Group_Min_Rate_Bucket_Size=
VOW_Group_Min_Ratio=
VOW_Rate_Ctrl_En=
VOW_Refill_Period=
VOW_RX_En=1
VOW_Sta_BE_DWRR_Quantum=
VOW_Sta_BK_DWRR_Quantum=
VOW_Sta_DWRR_Max_Wait_Time=
VOW_Sta_VI_DWRR_Quantum=
VOW_Sta_VO_DWRR_Quantum=
VOW_WATF_Enable=
VOW_WATF_MAC_LV0=
VOW_WATF_MAC_LV1=
VOW_WATF_MAC_LV2=
VOW_WATF_MAC_LV3=
VOW_WATF_Q_LV0=
VOW_WATF_Q_LV1=
VOW_WATF_Q_LV2=
VOW_WATF_Q_LV3=
VOW_WMM_Search_Rule_Band0=
VOW_WMM_Search_Rule_Band1=
WapiAsCertPath=
WapiAsIpAddr=
WapiAsPort=
Wapiifname=
WapiPsk1=
WapiPsk10=
WapiPsk11=
WapiPsk12=
WapiPsk13=
WapiPsk14=
WapiPsk15=
WapiPsk16=
WapiPsk2=
WapiPsk3=
WapiPsk4=
WapiPsk5=
WapiPsk6=
WapiPsk7=
WapiPsk8=
WapiPsk9=
WapiPskType=
WapiUserCertPath=
WCNTest=0
Wds0Key=
Wds1Key=
Wds2Key=
Wds3Key=
WdsEnable=0
WdsEncrypType=NONE
WdsList=
WdsPhyMode=0
WHNAT=0
WiFiTest=0
WirelessMode=16
WmmCapable=1
WPAPSK=
WPAPSK1=12345678
WPAPSK10=
WPAPSK11=
WPAPSK12=
WPAPSK13=
WPAPSK14=
WPAPSK15=
WPAPSK16=
WPAPSK2=
WPAPSK3=
WPAPSK4=
WPAPSK5=
WPAPSK6=
WPAPSK7=
WPAPSK8=
WPAPSK9=
WscConfMode=0
WscConfStatus=2
TxCmdMode=1
MuOfdmaDlEnable=1
MuOfdmaUlEnable=1
MuMimoDlEnable=1
MuMimoUlEnable=1
MapMode=0
KernelRps=1
MboSupport=1
QuickChannelSwitch=1

View File

@ -0,0 +1,435 @@
#The word of "Default" must not be removed
Default
AccessControlList0=
AccessControlList1=
AccessControlList10=
AccessControlList11=
AccessControlList12=
AccessControlList13=
AccessControlList14=
AccessControlList15=
AccessControlList2=
AccessControlList3=
AccessControlList4=
AccessControlList5=
AccessControlList6=
AccessControlList7=
AccessControlList8=
AccessControlList9=
AccessPolicy0=0
AccessPolicy1=0
AccessPolicy10=0
AccessPolicy11=0
AccessPolicy12=0
AccessPolicy13=0
AccessPolicy14=0
AccessPolicy15=0
AccessPolicy2=0
AccessPolicy3=0
AccessPolicy4=0
AccessPolicy5=0
AccessPolicy6=0
AccessPolicy7=0
AccessPolicy8=0
AccessPolicy9=0
AckPolicy=0;0;0;0
APACM=0;0;0;0
APAifsn=3;7;1;1
ApCliAuthMode=
ApCliBssid=
ApCliDefaultKeyID=
ApCliEnable=0
ApCliEncrypType=
ApCliKey1Str=
ApCliKey1Str1=
ApCliKey1Type=
ApCliKey2Str=
ApCliKey2Str1=
ApCliKey2Type=
ApCliKey3Str=
ApCliKey3Str1=
ApCliKey3Type=
ApCliKey4Str=
ApCliKey4Str1=
ApCliKey4Type=
ApCliSsid=
ApCliWirelessMode=
ApCliWPAPSK=
ApCliWPAPSK1=
ApCliMuOfdmaDlEnable=1
ApCliMuOfdmaUlEnable=1
ApCliMuMimoDlEnable=1
ApCliMuMimoUlEnable=1
APCwmax=6;10;4;3
APCwmin=4;4;3;2
UAPSDCapable=1
APTxop=0;0;94;47
AuthMode=OPEN
AutoChannelSelect=0
AutoChannelSkipList=
AutoProvisionEn=0
BandSteering=0
BasicRate=15
BeaconPeriod=100
BFBACKOFFenable=0
BgndScanSkipCh=
BGProtection=0
BndStrgBssIdx=
BSSACM=0;0;0;0
BSSAifsn=3;7;2;2
BSSCwmax=10;10;4;3
BSSCwmin=4;4;3;2
BssidNum=1
BSSTxop=0;0;94;47
BW_Enable=0
BW_Guarantee_Rate=
BW_Maximum_Rate=
BW_Priority=
BW_Root=0
CalCacheApply=0
CarrierDetect=0
Channel=36
ChannelGrp=
CountryCode=US
CountryRegion=0
CountryRegionABand=9
CP_SUPPORT=2
CSPeriod=6
DBDC_MODE=1
DebugFlags=0
DefaultKeyID=1
DfsCalibration=0
DfsEnable=1
DfsFalseAlarmPrevent=1
DfsZeroWait=0
DfsZeroWaitCacTime=255
DfsDedicatedZeroWait=0
DfsZeroWaitDefault=0
Disable160RuMu=1
DisableOLBC=0
DtimPeriod=1
E2pAccessMode=2
EAPifname=br-lan
EDCCAEnable=1
EncrypType=NONE
EthConvertMode=dongle
EtherTrafficBand=0
Ethifname=
ETxBfEnCond=1
FineAGC=0
FixedTxMode=
ForceRoamSupport=
FragThreshold=2346
FreqDelta=0
FtSupport=0
GreenAP=0
G_BAND_256QAM=1
HeraStbcPriority=0
HideSSID=0
HT_AMSDU=1
AMSDU_NUM=4
HT_AutoBA=1
HT_BADecline=0
HT_BAWinSize=256
HT_BSSCoexistence=1
HT_BW=1
HT_DisallowTKIP=1
HT_EXTCHA=1
HT_GI=1
HT_HTC=1
HT_LDPC=1
HT_LinkAdapt=0
HT_MCS=33
HT_MpduDensity=5
HT_OpMode=0
HT_PROTECT=1
HT_RDG=0
HT_RxStream=2
HT_STBC=1
HT_TxStream=2
IcapMode=0
idle_timeout_interval=0
IEEE80211H=1
IEEE8021X=0
IgmpSnEnable=0
ITxBfEn=1
Key1Str=
Key1Str1=
Key1Str10=
Key1Str11=
Key1Str12=
Key1Str13=
Key1Str14=
Key1Str15=
Key1Str16=
Key1Str2=
Key1Str3=
Key1Str4=
Key1Str5=
Key1Str6=
Key1Str7=
Key1Str8=
Key1Str9=
Key1Type=0
Key2Str=
Key2Str1=
Key2Str10=
Key2Str11=
Key2Str12=
Key2Str13=
Key2Str14=
Key2Str15=
Key2Str16=
Key2Str2=
Key2Str3=
Key2Str4=
Key2Str5=
Key2Str6=
Key2Str7=
Key2Str8=
Key2Str9=
Key2Type=0
Key3Str=
Key3Str1=
Key3Str10=
Key3Str11=
Key3Str12=
Key3Str13=
Key3Str14=
Key3Str15=
Key3Str16=
Key3Str2=
Key3Str3=
Key3Str4=
Key3Str5=
Key3Str6=
Key3Str7=
Key3Str8=
Key3Str9=
Key3Type=0
Key4Str=
Key4Str1=
Key4Str10=
Key4Str11=
Key4Str12=
Key4Str13=
Key4Str14=
Key4Str15=
Key4Str16=
Key4Str2=
Key4Str3=
Key4Str4=
Key4Str5=
Key4Str6=
Key4Str7=
Key4Str8=
Key4Str9=
Key4Type=0
LinkTestSupport=0
MACRepeaterEn=
MACRepeaterOuiMode=2
MaxRuOfdma=8
MaxDLMuMimo=2
MaxULMuMimo=2
MeshAuthMode=
MeshAutoLink=0
MeshDefaultkey=0
MeshEncrypType=
MeshId=
MeshWEPKEY=
MeshWPAKEY=
MUTxRxEnable=1
NoForwarding=0
NoForwardingBTNBSSID=0
own_ip_addr=192.168.1.1
PcieAspm=0
PERCENTAGEenable=0
PhyRateLimit=0
PMFMFPC=1
PMFMFPR=0
PMFSHA256=0
PMKCachePeriod=10
PowerUpCckOfdm=0:0:0:0:0:0:0
PowerUpHT20=0:0:0:0:0:0:0
PowerUpHT40=0:0:0:0:0:0:0
PowerUpVHT160=0:0:0:0:0:0:0
PowerUpVHT20=0:0:0:0:0:0:0
PowerUpVHT40=0:0:0:0:0:0:0
PowerUpVHT80=0:0:0:0:0:0:0
PreAntSwitch=
PreAuth=0
PreAuthifname=br-lan
RadioLinkSelection=0
RadioOn=1
RADIUS_Acct_Key=
RADIUS_Acct_Port=1813
RADIUS_Acct_Server=
RADIUS_Key1=
RADIUS_Key10=
RADIUS_Key11=
RADIUS_Key12=
RADIUS_Key13=
RADIUS_Key14=
RADIUS_Key15=
RADIUS_Key16=
RADIUS_Key2=
RADIUS_Key3=
RADIUS_Key4=
RADIUS_Key5=
RADIUS_Key6=
RADIUS_Key7=
RADIUS_Key8=
RADIUS_Key9=
RADIUS_Port=1812
RADIUS_Server=0
RDRegion=
RED_Enable=1
RekeyInterval=3600
RekeyMethod=DISABLE
RRMEnable=1
WNMEnable=1
RTSThreshold=2347
session_timeout_interval=0
ShortSlot=1
SkuTableIdx=0
SKUenable=0
SREnable=0
SRMode=0
SRSDEnable=0
PPEnable=0
SSID=
SSID1=OpenWrt
SSID10=
SSID11=
SSID12=
SSID13=
SSID14=
SSID15=
SSID16=
SSID2=
SSID3=
SSID4=
SSID5=
SSID6=
SSID7=
SSID8=
SSID9=
StationKeepAlive=0
StreamMode=0
StreamModeMac0=
StreamModeMac1=
StreamModeMac2=
StreamModeMac3=
TGnWifiTest=0
ThermalRecal=0
CCKTxStream=4
TWTSupport=1
TxBurst=1
TxPower=100
TxPreamble=1
VHT_BW=1
VHT_BW_SIGNAL=0
VHT_LDPC=1
VHT_Sec80_Channel=0
VHT_SGI=1
VHT_STBC=1
Vht1024QamSupport=0
VLANID=0
VLANPriority=0
VLANTag=0
VOW_Airtime_Ctrl_En=
VOW_Airtime_Fairness_En=1
VOW_BW_Ctrl=0
VOW_Group_Backlog=
VOW_Group_DWRR_Max_Wait_Time=
VOW_Group_DWRR_Quantum=
VOW_Group_Max_Airtime_Bucket_Size=
VOW_Group_Max_Rate=
VOW_Group_Max_Rate_Bucket_Size=
VOW_Group_Max_Ratio=
VOW_Group_Max_Wait_Time=
VOW_Group_Min_Airtime_Bucket_Size=
VOW_Group_Min_Rate=
VOW_Group_Min_Rate_Bucket_Size=
VOW_Group_Min_Ratio=
VOW_Rate_Ctrl_En=
VOW_Refill_Period=
VOW_RX_En=1
VOW_Sta_BE_DWRR_Quantum=
VOW_Sta_BK_DWRR_Quantum=
VOW_Sta_DWRR_Max_Wait_Time=
VOW_Sta_VI_DWRR_Quantum=
VOW_Sta_VO_DWRR_Quantum=
VOW_WATF_Enable=
VOW_WATF_MAC_LV0=
VOW_WATF_MAC_LV1=
VOW_WATF_MAC_LV2=
VOW_WATF_MAC_LV3=
VOW_WATF_Q_LV0=
VOW_WATF_Q_LV1=
VOW_WATF_Q_LV2=
VOW_WATF_Q_LV3=
VOW_WMM_Search_Rule_Band0=
VOW_WMM_Search_Rule_Band1=
WapiAsCertPath=
WapiAsIpAddr=
WapiAsPort=
Wapiifname=
WapiPsk1=
WapiPsk10=
WapiPsk11=
WapiPsk12=
WapiPsk13=
WapiPsk14=
WapiPsk15=
WapiPsk16=
WapiPsk2=
WapiPsk3=
WapiPsk4=
WapiPsk5=
WapiPsk6=
WapiPsk7=
WapiPsk8=
WapiPsk9=
WapiPskType=
WapiUserCertPath=
WCNTest=0
Wds0Key=
Wds1Key=
Wds2Key=
Wds3Key=
WdsEnable=0
WdsEncrypType=NONE
WdsList=
WdsPhyMode=0
WHNAT=0
WiFiTest=0
WirelessMode=17
WmmCapable=1
WPAPSK=
WPAPSK1=12345678
WPAPSK10=
WPAPSK11=
WPAPSK12=
WPAPSK13=
WPAPSK14=
WPAPSK15=
WPAPSK16=
WPAPSK2=
WPAPSK3=
WPAPSK4=
WPAPSK5=
WPAPSK6=
WPAPSK7=
WPAPSK8=
WPAPSK9=
WscConfMode=0
WscConfStatus=2
TxCmdMode=1
MuOfdmaDlEnable=1
MuOfdmaUlEnable=1
MuMimoDlEnable=1
MuMimoUlEnable=1
MapMode=0
MboSupport=1
QuickChannelSwitch=1