From: Jo-Philipp Wich Date: Thu, 1 Jan 2009 18:41:47 +0000 (+0000) Subject: branches/luci-0.8: backport probereq iwpriv support X-Git-Tag: 0.8.4~30 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0b46add42e6ff708bdc604e9960ab2592bb6dabe;p=project%2Fluci.git branches/luci-0.8: backport probereq iwpriv support tags/0.8.3: backport probereq iwpriv support --- diff --git a/i18n/english/luasrc/i18n/wifi.en.lua b/i18n/english/luasrc/i18n/wifi.en.lua index e5680d1d86..438ef1c66a 100644 --- a/i18n/english/luasrc/i18n/wifi.en.lua +++ b/i18n/english/luasrc/i18n/wifi.en.lua @@ -33,4 +33,5 @@ wifi_wmm = 'WMM Mode' wifi_xr = 'XR Support' wifi_ar = 'AR Support' wifi_nosbeacon = 'Disable HW-Beacon timer' +wifi_noprobereq = 'Don not send probe responses' wifi_wpareq = 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.' diff --git a/i18n/english/luasrc/i18n/wifi.en.xml b/i18n/english/luasrc/i18n/wifi.en.xml index 4a64b5d4fc..fd6751f328 100644 --- a/i18n/english/luasrc/i18n/wifi.en.xml +++ b/i18n/english/luasrc/i18n/wifi.en.xml @@ -37,7 +37,8 @@ XR Support AR Support Disable HW-Beacon timer +Don not send probe responses WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed. - \ No newline at end of file + diff --git a/i18n/german/luasrc/i18n/wifi.de.lua b/i18n/german/luasrc/i18n/wifi.de.lua index 6bb5228f54..3e48b35b7a 100644 --- a/i18n/german/luasrc/i18n/wifi.de.lua +++ b/i18n/german/luasrc/i18n/wifi.de.lua @@ -33,4 +33,5 @@ wifi_wmm = 'WMM Modus' wifi_xr = 'XR-Unterstützung' wifi_ar = 'AR-Unterstützung' wifi_nosbeacon = 'Deaktiviere Hardware-Beacon Zeitgeber' +wifi_noprobereq = 'Scan-Anforderungen nicht beantworten' wifi_wpareq = 'Für WPA-Verschlüsselung muss wpa_supplicant (für Clientmodus) oder hostapd (für AP und Ad-hoc-Modus) installiert sein.' diff --git a/i18n/german/luasrc/i18n/wifi.de.xml b/i18n/german/luasrc/i18n/wifi.de.xml index a05adf4e5c..040bffa403 100644 --- a/i18n/german/luasrc/i18n/wifi.de.xml +++ b/i18n/german/luasrc/i18n/wifi.de.xml @@ -37,7 +37,8 @@ XR-Unterstützung AR-Unterstützung Deaktiviere Hardware-Beacon Zeitgeber +Scan-Anforderungen nicht beantworten Für WPA-Verschlüsselung muss wpa_supplicant (für Clientmodus) oder hostapd (für AP und Ad-hoc-Modus) installiert sein. - \ No newline at end of file + diff --git a/i18n/italian/luasrc/i18n/wifi.it.lua b/i18n/italian/luasrc/i18n/wifi.it.lua index 42811f3add..223ef274b5 100644 --- a/i18n/italian/luasrc/i18n/wifi.it.lua +++ b/i18n/italian/luasrc/i18n/wifi.it.lua @@ -33,4 +33,5 @@ wifi_wmm = 'Modalità WMM' wifi_xr = 'Supporto XR' wifi_ar = 'Supporto AR' wifi_nosbeacon = 'Disabilita Timer Beacon HW' +wifi_noprobereq = 'Disabilita Probe-Responses' wifi_wpareq = 'La crittografia WPA richiede l'installazione di wpa_supplicant (per la modalità client) o hostapd (per la modalità AP o ad-hoc).' diff --git a/i18n/italian/luasrc/i18n/wifi.it.xml b/i18n/italian/luasrc/i18n/wifi.it.xml index 2a12cb95fc..a09339fec1 100644 --- a/i18n/italian/luasrc/i18n/wifi.it.xml +++ b/i18n/italian/luasrc/i18n/wifi.it.xml @@ -37,6 +37,7 @@ Supporto XR Supporto AR Disabilita Timer Beacon HW +Disabilita Probe-Responses La crittografia WPA richiede l'installazione di wpa_supplicant (per la modalità client) o hostapd (per la modalità AP o ad-hoc). diff --git a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua index ab6bceafda..52a37b7012 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua @@ -32,4 +32,6 @@ wifi_ff = 'Fast Frames' wifi_wmm = 'Modo WMM' wifi_xr = 'Suporte XR' wifi_ar = 'Suporte AR' +wifi_nosbeacon = 'Disable HW-Beacon timer' +wifi_noprobereq = 'Don not send probe responses' wifi_wpareq = 'Criptografia-WPA requer wpa_supplicant (para o modo cliente) ou hostapd (para o modo AP e ad-hoc) instalados.' diff --git a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml index c722b1b001..6953be0f70 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml @@ -36,6 +36,8 @@ Modo WMM Suporte XR Suporte AR +Disable HW-Beacon timer +Don not send probe responses Criptografia-WPA requer wpa_supplicant (para o modo cliente) ou hostapd (para o modo AP e ad-hoc) instalados. diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index 0ed725b613..dd3e5eda3f 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -234,6 +234,11 @@ if hwtype == "atheros" then local nos = s:option(Flag, "nosbeacon", translate("wifi_nosbeacon")) nos:depends({mode="sta"}) nos.optional = true + + local probereq = s:option(Flag, "probereq", translate("wifi_noprobereq")) + probereq.optional = true + probereq.enabled = "0" + probereq.disabled = "1" end