projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add regdomain, country and outdoor options for madwifi
[project/luci.git]
/
modules
/
admin-core
/
root
/
lib
/
uci
/
schema
/
default
/
wireless
diff --git
a/modules/admin-core/root/lib/uci/schema/default/wireless
b/modules/admin-core/root/lib/uci/schema/default/wireless
index
7e72049
..
bd466d1
100644
(file)
--- a/
modules/admin-core/root/lib/uci/schema/default/wireless
+++ b/
modules/admin-core/root/lib/uci/schema/default/wireless
@@
-146,10
+146,24
@@
config variable
list depends 'type=broadcom'
config variable
list depends 'type=broadcom'
config variable
+ option name 'regdomain'
+ option section 'wireless.wifi-device'
+ option title 'Regulatory Domain'
+ list depends 'type=atheros'
+
+config variable
option name 'country'
option section 'wireless.wifi-device'
option name 'country'
option section 'wireless.wifi-device'
- option title 'Country Code
(broadcom)
'
+ option title 'Country Code'
list depends 'type=broadcom'
list depends 'type=broadcom'
+ list depends 'type=atheros'
+
+config variable
+ option name 'outdoor'
+ option section 'wireless.wifi-device'
+ option title 'Outdoor Channels'
+ option datatype boolean
+ list depends 'type=atheros'
config variable
option name 'maxassoc'
config variable
option name 'maxassoc'