list depends 'proto=static, ip6addr'
list depends 'proto=pppoe, username, password'
list depends 'proto=ppp, device'
+ list depends 'proto=3g, device'
list depends 'proto=pptp, username, password, server'
list depends 'proto=dhcp'
list depends 'proto=none'
list depends 'proto=pppoe'
list depends 'proto=pptp'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'demand'
list depends 'proto=pppoe'
list depends 'proto=pptp'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'username'
list depends 'proto=pppoe'
list depends 'proto=pptp'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'password'
list depends 'proto=pppoe'
list depends 'proto=pptp'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'server'
option section 'network.interface'
option datatype 'device'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'defaultroute'
option section 'network.interface'
option datatype 'boolean'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'peerdns'
option section 'network.interface'
option datatype 'boolean'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'ipv6'
option section 'network.interface'
option datatype 'boolean'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'connect'
option section 'network.interface'
option datatype 'file'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'disconnect'
option section 'network.interface'
option datatype 'file'
list depends 'proto=ppp'
+ list depends 'proto=3g'
config variable
option name 'pppd_options'
option section 'network.interface'
option datatype 'string'
list depends 'proto=ppp'
+ list depends 'proto=3g'
+
+config variable
+ option name 'maxwait'
+ option title 'Setup wait time'
+ option description 'Number of seconds to wait for the device to become ready'
+ option section 'network.interface'
+ option datatype 'uint'
+ list depends 'proto=3g'
+
+config variable
+ option name 'apn'
+ option title 'Access point (APN)'
+ option section 'network.interface'
+ option datatype 'string'
+ list depends 'proto=3g'
+
+config variable
+ option name 'pincode'
+ option title 'PIN code'
+ option section 'network.interface'
+ option datatype 'uint'
+ list depends 'proto=3g'
+
+config variable
+ option name 'service'
+ option title 'Service type'
+ option section 'network.interface'
+ option type 'enum'
+ option required 'true'
+ list depends 'proto=3g'
+
+config enum
+ option variable 'network.interface.service'
+ option value 'umts'
+ option title 'UMTS/GPRS'
+
+config enum
+ option variable 'network.interface.service'
+ option value 'cdma'
+ option title 'CDMA'
+
+config enum
+ option variable 'network.interface.service'
+ option value 'evdo'
+ option title 'EV-DO'
config variable
option name 'proto'
option value 'ppp'
option title 'Interface is a PPP connection'
+config enum
+ option variable 'network.interface.proto'
+ option value '3g'
+ option title '3G UMTS/GPRS connection'
+
config variable
option name 'type'
option title 'Option type'