1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge pull request #115 from Ysurac/develop

sync
This commit is contained in:
suyuan 2021-04-15 10:26:23 +08:00 committed by GitHub
commit 8ed1058af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 12527 additions and 61 deletions

View file

@ -322,6 +322,28 @@
</div>
</div>
</fieldset>
<%
if nixio.fs.access("/lib/modules/" .. nixio.uname().release .. "/shortcut-fe.ko") then
%>
<hr />
<fieldset class="cbi-section" id="fe">
<legend><%:Qualcomm Shortcut FE driver%></legend>
<div class="cbi-section-descr"></div>
<div class="cbi-value">
<label class="cbi-value-title"><%:Enable Fast Patch offloading for connections%></label>
<div class="cbi-value-field">
<input type="checkbox" name="sfe_enabled" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","sfe_enabled") == "1" then %>checked<% end %>>
</div>
</div>
<div class="cbi-value">
<label class="cbi-value-title"><%:Enable Bridge Acceleration%></label>
<div class="cbi-value-field">
<input type="checkbox" name="sfe_bridge" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","sfe_bridge") == "1" then %>checked<% end %>>
</div>
</div>
</fieldset>
<% end %>
<% if nixio.fs.access("/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq") then %>
<fieldset class="cbi-section" id="system">
<legend><%:Systems settings%></legend>