Added nosbeacon flags to wifi configuration
This commit is contained in:
parent
2bef86c824
commit
fc9260a0e5
5 changed files with 12 additions and 0 deletions
|
@ -32,4 +32,5 @@ wifi_ff = 'Fast Frames'
|
|||
wifi_wmm = 'WMM Mode'
|
||||
wifi_xr = 'XR Support'
|
||||
wifi_ar = 'AR Support'
|
||||
wifi_nosbeacon = 'Disable HW-Beacon timer'
|
||||
wifi_wpareq = 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
<i18n:msg xml:id="wifi_wmm">WMM Mode</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_xr">XR Support</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_ar">AR Support</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_nosbeacon">Disable HW-Beacon timer</i18n:msg>
|
||||
|
||||
<i18n:msg xml:id="wifi_wpareq">WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.</i18n:msg>
|
||||
|
||||
|
|
|
@ -32,4 +32,5 @@ wifi_ff = 'Schnelle Frames'
|
|||
wifi_wmm = 'WMM Modus'
|
||||
wifi_xr = 'XR-Unterstützung'
|
||||
wifi_ar = 'AR-Unterstützung'
|
||||
wifi_nosbeacon = 'Deaktiviere Hardware-Beacon Zeitgeber'
|
||||
wifi_wpareq = 'Für WPA-Verschlüsselung muss wpa_supplicant (für Clientmodus) oder hostapd (für AP und Ad-hoc-Modus) installiert sein.'
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
<i18n:msg xml:id="wifi_wmm">WMM Modus</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_xr">XR-Unterstützung</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_ar">AR-Unterstützung</i18n:msg>
|
||||
<i18n:msg xml:id="wifi_nosbeacon">Deaktiviere Hardware-Beacon Zeitgeber</i18n:msg>
|
||||
|
||||
<i18n:msg xml:id="wifi_wpareq">Für WPA-Verschlüsselung muss wpa_supplicant (für Clientmodus) oder hostapd (für AP und Ad-hoc-Modus) installiert sein.</i18n:msg>
|
||||
|
||||
|
|
|
@ -225,6 +225,14 @@ if hwtype == "atheros" then
|
|||
s:option(Flag, "wmm", translate("wifi_wmm")).optional = true
|
||||
s:option(Flag, "xr", translate("wifi_xr")).optional = true
|
||||
s:option(Flag, "ar", translate("wifi_ar")).optional = true
|
||||
|
||||
local swm = s:option(Flag, "sw_merge", translate("wifi_nosbeacon"))
|
||||
swm:depends({mode="adhoc"})
|
||||
swm.optional = true
|
||||
|
||||
local nos = s:option(Flag, "nosbeacon", translate("wifi_nosbeacon"))
|
||||
nos:depends({mode="sta"})
|
||||
nos.optional = true
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue