summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-qos
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-18 16:16:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-18 16:16:18 +0000
commite4d13b45ee6e5005f8e03e2be7415f28b10a64cc (patch)
tree1ec3c84e21514f711fc6d68b1c1d1991fee8694c /applications/luci-qos
parent7df655af2adc2c04554e60bc8a181ccc831919e4 (diff)
[PATCH] Add halfduplex option for qos-scripts
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Diffstat (limited to 'applications/luci-qos')
-rw-r--r--applications/luci-qos/luasrc/i18n/qos.de.lua1
-rw-r--r--applications/luci-qos/luasrc/i18n/qos.en.lua1
-rw-r--r--applications/luci-qos/luasrc/i18n/qos.fr.lua1
-rw-r--r--applications/luci-qos/luasrc/i18n/qos.pt-br.lua1
-rw-r--r--applications/luci-qos/luasrc/model/cbi/qos/qos.lua2
-rw-r--r--applications/luci-qos/root/lib/uci/schema/default/qos6
6 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-qos/luasrc/i18n/qos.de.lua b/applications/luci-qos/luasrc/i18n/qos.de.lua
index 1ef5499bd..0f15f859d 100644
--- a/applications/luci-qos/luasrc/i18n/qos.de.lua
+++ b/applications/luci-qos/luasrc/i18n/qos.de.lua
@@ -1,6 +1,7 @@
qos = 'Quality of Service'
qos_interface_classgroup = 'Klassifizierung'
qos_interface_overhead = 'Overheadberechnung'
+qos_interface_halfduplex = 'Half-duplex'
qos_interface_download = 'Downlink'
qos_interface_upload = 'Uplink'
qos_classify = 'Priorisierung'
diff --git a/applications/luci-qos/luasrc/i18n/qos.en.lua b/applications/luci-qos/luasrc/i18n/qos.en.lua
index 67494e71d..befab67ec 100644
--- a/applications/luci-qos/luasrc/i18n/qos.en.lua
+++ b/applications/luci-qos/luasrc/i18n/qos.en.lua
@@ -2,6 +2,7 @@ qos = 'Quality of Service'
qos_desc = 'With QoS you can priorize network traffic selected by adresses, ports or services.'
qos_interface_classgroup = 'Classification'
qos_interface_overhead = 'Calculate Overhead'
+qos_interface_halfduplex = 'Half-duplex'
qos_interface_download = 'Downlink'
qos_interface_upload = 'Uplink'
qos_classify = 'Prioritization'
diff --git a/applications/luci-qos/luasrc/i18n/qos.fr.lua b/applications/luci-qos/luasrc/i18n/qos.fr.lua
index 73c54dccf..9377d300d 100644
--- a/applications/luci-qos/luasrc/i18n/qos.fr.lua
+++ b/applications/luci-qos/luasrc/i18n/qos.fr.lua
@@ -12,6 +12,7 @@ qos_express = 'express'
qos_interface_classgroup = 'Classification'
qos_interface_download = 'Liaison descendante'
qos_interface_overhead = 'calcul de la surcharge'
+qos_interface_halfduplex = 'Half-duplex'
qos_interface_upload = 'Liaison montante'
qos_normal = 'normal'
qos_priority = 'prioritaire'
diff --git a/applications/luci-qos/luasrc/i18n/qos.pt-br.lua b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua
index 582e7aa94..6b15ed4d8 100644
--- a/applications/luci-qos/luasrc/i18n/qos.pt-br.lua
+++ b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua
@@ -2,6 +2,7 @@ qos = 'Qualidade de Serviço'
qos_desc = 'Com QoS você pode priozirar o tráfego da rede selecionada por endereços, portas ou serviços.'
qos_interface_classgroup = 'Classificação'
qos_interface_overhead = 'Calcular Overhead'
+qos_interface_halfduplex = 'Half-duplex'
qos_interface_download = 'Link para download'
qos_interface_upload = 'Link para upload'
qos_classify = 'Priorização'
diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
index 4b94355f1..22dfbea5f 100644
--- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
+++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
@@ -25,6 +25,8 @@ c.default = "Default"
s:option(Flag, "overhead")
+s:option(Flag, "halfduplex")
+
s:option(Value, "download", nil, "kb/s")
s:option(Value, "upload", nil, "kb/s")
diff --git a/applications/luci-qos/root/lib/uci/schema/default/qos b/applications/luci-qos/root/lib/uci/schema/default/qos
index 24f8e0d5d..753d2e6de 100644
--- a/applications/luci-qos/root/lib/uci/schema/default/qos
+++ b/applications/luci-qos/root/lib/uci/schema/default/qos
@@ -22,6 +22,12 @@ config variable
option datatype 'boolean'
config variable
+ option name 'halfduplex'
+ option title 'Half-duplex link'
+ option section 'qos.interface'
+ option datatype 'boolean'
+
+config variable
option name 'classgroup'
option title 'QoS classification'
option section 'qos.interface'