From 75f37c302b4a594a1d4b4f3d27d12ec1bf2af851 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 1 Jan 2009 18:41:47 +0000 Subject: [PATCH] branches/luci-0.8: backport probereq iwpriv support tags/0.8.3: backport probereq iwpriv support --- i18n/english/luasrc/i18n/wifi.en.lua | 1 + i18n/english/luasrc/i18n/wifi.en.xml | 3 ++- i18n/german/luasrc/i18n/wifi.de.lua | 1 + i18n/german/luasrc/i18n/wifi.de.xml | 3 ++- i18n/italian/luasrc/i18n/wifi.it.lua | 1 + i18n/italian/luasrc/i18n/wifi.it.xml | 1 + i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua | 2 ++ i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml | 2 ++ modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 5 +++++ 9 files changed, 17 insertions(+), 2 deletions(-) diff --git a/i18n/english/luasrc/i18n/wifi.en.lua b/i18n/english/luasrc/i18n/wifi.en.lua index e5680d1d8..438ef1c66 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 4a64b5d4f..fd6751f32 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 6bb5228f5..3e48b35b7 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 a05adf4e5..040bffa40 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 42811f3ad..223ef274b 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 2a12cb95f..a09339fec 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 ab6bceafd..52a37b701 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 c722b1b00..6953be0f7 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 0ed725b61..dd3e5eda3 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 -- 2.25.1