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

Add Qualcomm Shortcut FE driver support

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-04-14 21:02:45 +02:00
parent 3b1c0ae6c8
commit e3ea12a28f
22 changed files with 12374 additions and 0 deletions

View file

@ -1067,6 +1067,13 @@ function settings_add()
ucic:set("openmptcprouter","settings","scaling_governor",scaling_governor)
end
-- Enable/disable Qualcomm Shortcut FE
local sfe_enabled = luci.http.formvalue("sfe_enabled") or "0"
ucic:set("openmptcprouter","settings","sfe_enabled",sfe_enabled)
local sfe_bridge = luci.http.formvalue("sfe_bridge") or "0"
ucic:set("openmptcprouter","settings","sfe_bridge",sfe_bridge)
ucic:save("openmptcprouter")
ucic:commit("openmptcprouter")