From 36e3f2a3e8b3533b369174199e5fb2b745c9352f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 16 Nov 2008 18:30:53 +0000 Subject: [PATCH] * modules/admin-core: adept wireless scheme to new config options --- .../root/lib/uci/schema/default/wireless | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) 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' -- 2.25.1