2014-07-05 00:48:56 +00:00
|
|
|
need_string('regdom')
|
|
|
|
|
|
|
|
for _, config in ipairs({'wifi24', 'wifi5'}) do
|
|
|
|
need_string(config .. '.ssid')
|
|
|
|
need_number(config .. '.channel')
|
|
|
|
need_string(config .. '.htmode')
|
|
|
|
need_string(config .. '.mesh_ssid')
|
|
|
|
need_string_match(config .. '.mesh_bssid', '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$')
|
|
|
|
need_number(config .. '.mesh_mcast_rate')
|
2015-01-18 06:35:48 +00:00
|
|
|
need_number(config .. '.mesh_vlan', false)
|
2015-05-01 03:36:14 +00:00
|
|
|
need_boolean(config .. '.client_disabled', false)
|
|
|
|
need_boolean(config .. '.mesh_disabled', false)
|
2014-07-05 00:48:56 +00:00
|
|
|
end
|
2014-07-16 14:44:33 +00:00
|
|
|
|
|
|
|
need_boolean('mesh_on_wan', false)
|