e8.datatype = "range(30,300)"
e8.rmempty = false
+e10 = e:option(Value, "trm_scanbuffer", translate("Scan Buffer Size"),
+ translate("Buffer size in bytes to prepare nearby scan results."))
+e10.default = 1024
+e10.datatype = "range(512,4096)"
+e10.optional = true
+
return m
--- Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
+-- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
bssid.default = s.bssid or ""
s.cipher = "auto"
- if string.match(s.encryption, '\+') and not string.match(s.encryption, '^wep') then
- s.pos = string.find(s.encryption, '\+')
+ if string.match(s.encryption, '%+') and not string.match(s.encryption, '^wep') then
+ s.pos = string.find(s.encryption, '%+')
s.cipher = string.sub(s.encryption, s.pos + 1)
s.encryption = string.sub(s.encryption, 0, s.pos - 1)
end
#~ msgid "Restrict travelmate to a dedicated radio, e.g. 'radio0'."
#~ msgstr "Restringir o travelmate a um rádio dedicado (ex: 'radio0')."
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
#~ msgid "running"
#~ msgstr "работает"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr "带 SSID"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr "帶 SSID"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""