mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
48 lines
1.5 KiB
Lua
48 lines
1.5 KiB
Lua
|
|
m = Map("sfe")
|
|
m.title = translate("Turbo ACC Acceleration Settings")
|
|
m.description = translate("Opensource Qualcomm Shortcut FE driver (Fast Path)")
|
|
|
|
m:append(Template("sfe/status"))
|
|
|
|
s = m:section(TypedSection, "sfe", "")
|
|
s.addremove = false
|
|
s.anonymous = true
|
|
|
|
|
|
enable = s:option(Flag, "enabled", translate("Enable SFE Fast Path"))
|
|
enable.default = 0
|
|
enable.rmempty = false
|
|
enable.description = translate("Enable Fast Path offloading for connections. (decrease cpu load / increase routing throughput)")
|
|
|
|
wifi = s:option(Flag, "wifi", translate("Bridge Acceleration"))
|
|
wifi.default = 0
|
|
wifi.rmempty = false
|
|
wifi.description = translate("Enable Bridge Acceleration (may be functional conflict with bridge-mode VPN Server)")
|
|
wifi:depends("enabled", 1)
|
|
|
|
if nixio.fs.access("/proc/sys/net/ipv6") then
|
|
ipv6 = s:option(Flag, "ipv6", translate("IPv6 Acceleration"))
|
|
ipv6.default = 0
|
|
ipv6.rmempty = false
|
|
ipv6.description = translate("Enable IPv6 Acceleration")
|
|
ipv6:depends("enabled", 1)
|
|
end
|
|
|
|
bbr = s:option(Flag, "bbr", translate("Enable BBR"))
|
|
bbr.default = 0
|
|
bbr.rmempty = false
|
|
bbr.description = translate("Bottleneck Bandwidth and Round-trip propagation time (BBR)")
|
|
|
|
dns = s:option(Flag, "dns", translate("DNS Acceleration"))
|
|
dns.default = 0
|
|
dns.rmempty = false
|
|
dns.description = translate("Enable DNS Cache Acceleration and anti ISP DNS pollution")
|
|
|
|
o = s:option(Value, "dns_server", translate("Upsteam DNS Server"))
|
|
o.default = "114.114.114.114,114.114.115.115"
|
|
o.description = translate("Muitiple DNS server can saperate with ','")
|
|
o:depends("dns", 1)
|
|
|
|
return m
|