<%+header%> <% local disp = require "luci.dispatcher" -- local request = disp.context.path local request = disp.context.request local mtkwifi = require("mtkwifi") local devname = request[5] local devs = mtkwifi.get_all_devs() local dev = {} for _,v in ipairs(devs) do if v.devname == devname then dev = v end end local cfgs = mtkwifi.load_profile(dev.profile) %>
" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')" autocomplete="false">
无线高级设置 - <%=devname%> <% local diff = mtkwifi.diff_profile(dev.profile) if next(diff) ~= nil then %> ('">reload to apply changes) <% end %> <% if cfgs.HT_OpMode then %> <% end %> <% if cfgs.HT_GI then %> <% end %> <% if cfgs.VHT_BW then %> <% end %> <% if cfgs.HT_STBC then %> <% end %> <% if cfgs.HT_AMSDU then %> <% end %> <% if cfgs.HT_AutoBA then %> <% end %> <% if cfgs.HT_BADecline then %> <% end %> <% if cfgs.HT_DisallowTKIP then %> <% end %> <% if cfgs.HT_LDPC then %> <% end %> <% if cfgs.VHT_SGI then %> <% end %> <% if cfgs.VHT_STBC then %> <% end %> <% if cfgs.VHT_BW_SIGNAL then %> <% end %> <% if cfgs.VHT_LDPC then %> <% end %> <% if cfgs.BGProtection then %> <% end %> <% if cfgs.VHT_BW then %> <% end %> <% if cfgs.BeaconPeriod then %> <% end %> <% if cfgs.DtimPeriod then %> <% end %> <% if cfgs.FragThreshold then %> <% end %> <% if cfgs.RTSThreshold then %> <% end %> <% if cfgs.TxPower then %> <% end %> <% if cfgs.TxPreamble then %> <% end %> <% if cfgs.ShortSlot then %> <% end %> <% if cfgs.TxBurst then %> <% end %> <% if cfgs.PktAggregate then %> <% end %> <% if cfgs.IEEE80211H then %> <% end %>
模式
信道 <% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %>
区域代码
Country Region
无线模式
HT Guard Interval
信道带宽
2G 40MHZ模式辅助信道 <% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %>
5G 2nd 80Mhz Channel <% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %>
STBC checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
A-MSDU checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
Auto Block ACK checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
Decline BA Request checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
HT Disallow TKIP checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
HT LDPC checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
VHT Short GI
VHT STBC checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
VHT BW Signaling checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用 checked="checked"<% end %>/> Dynamic
VHT LDPC checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
BG Protection Mode
HT Protection checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
Beacon Interval ms(范围 20-999, 默认值 100)
Data Beacon Rate (DTIM) ms(范围 1-255, 默认值 1)
Fragment Threshold (范围 256-2346, 默认值 2346)
RTS Threshold (范围 256-2347, 默认值 2347)
TX Power dbm(范围 1-100, 默认值 100)
Short Preamble checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
Short Slot checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
TX Burst checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
Packet Aggregate checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
802.11H checked="checked"<% end %>/> 启用 checked="checked"<% end %>/> 禁用
" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')" autocomplete="off">
无线参数(直接修改无线配置)

警告 : 如果你不了解请不要修改!

'" type="button" /> '" />
<%+footer%>