From: Jo-Philipp Wich Date: Sun, 16 Nov 2008 18:30:53 +0000 (+0000) Subject: * modules/admin-core: adept wireless scheme to new config options X-Git-Tag: 0.9.0~973 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36e3f2a3e8b3533b369174199e5fb2b745c9352f;p=oweals%2Fluci.git * modules/admin-core: adept wireless scheme to new config options --- diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless index 823ee2fa4..c449850f1 100644 --- a/modules/admin-core/root/lib/uci/schema/default/wireless +++ b/modules/admin-core/root/lib/uci/schema/default/wireless @@ -83,16 +83,26 @@ config variable config variable option name 'txantenna' option section 'wireless.wifi-device' - option title 'Transmitter Antenna (atheros)' + option title 'Transmitter Antenna' option datatype uint list depends type=atheros + list depends type=broadcom config variable option name 'rxantenna' option section 'wireless.wifi-device' - option title 'Receiver Antenna (atheros)' + option title 'Receiver Antenna' option datatype uint list depends type=atheros + list depends type=broadcom + +config variable + option name 'txpower' + option section 'wireless.wifi-device' + option title 'Transmit Power (broadcom)' + option description 'dbm' + option datatype uint + list depends type=broadcom config variable option name 'distance' @@ -129,20 +139,6 @@ config variable option type lazylist option datatype macaddr -config variable - option name 'txant' - option section 'wireless.wifi-device' - option title 'Transmitter Antenna (broadcom)' - option datatype uint - list depends 'type=broadcom' - -config variable - option name 'rxant' - option section 'wireless.wifi-device' - option title 'Receiver Antenna (broadcom)' - option datatype uint - list depends 'type=broadcom' - config variable option name 'frameburst' option section 'wireless.wifi-device'