5 <title>Class: Network
</title>
8 <script src=
"scripts/prettify/prettify.js"></script>
9 <script src=
"scripts/prettify/lang-css.js"></script>
10 <script src=
"scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type=
"text/css" rel=
"stylesheet" href=
"styles/prettify-tomorrow.css">
15 <link type=
"text/css" rel=
"stylesheet" href=
"styles/bootstrap.min.css">
16 <link type=
"text/css" rel=
"stylesheet" href=
"styles/jaguar.css">
20 var config = {
"monospaceLinks":true,
"cleverLinks":true,
"default":{}};
27 <div id=
"wrap" class=
"clearfix">
29 <div class=
"navigation">
30 <h3 class=
"applicationName"><a href=
"index.html"></a></h3>
33 <input id=
"search" type=
"text" class=
"form-control input-sm" placeholder=
"Search Documentations">
37 <li class=
"item" data-name=
"LuCI">
39 <a href=
"LuCI.html">LuCI
</a>
42 <ul class=
"members itemMembers">
44 <span class=
"subtitle">Members
</span>
46 <li data-name=
"LuCI#env"><a href=
"LuCI.html#env">env
</a></li>
49 <ul class=
"typedefs itemMembers">
51 <span class=
"subtitle">Typedefs
</span>
53 <li data-name=
"LuCI.requestCallbackFn"><a href=
"LuCI.html#.requestCallbackFn">requestCallbackFn
</a></li>
56 <ul class=
"typedefs itemMembers">
59 <ul class=
"methods itemMembers">
61 <span class=
"subtitle">Methods
</span>
63 <li data-name=
"LuCI#bind"><a href=
"LuCI.html#bind">bind
</a></li>
65 <li data-name=
"LuCI#error"><a href=
"LuCI.html#error">error
</a></li>
67 <li data-name=
"LuCI#get"><a href=
"LuCI.html#get">get
</a></li>
69 <li data-name=
"LuCI#halt"><a href=
"LuCI.html#halt">halt
</a></li>
71 <li data-name=
"LuCI#hasSystemFeature"><a href=
"LuCI.html#hasSystemFeature">hasSystemFeature
</a></li>
73 <li data-name=
"LuCI#isObject"><a href=
"LuCI.html#isObject">isObject
</a></li>
75 <li data-name=
"LuCI#location"><a href=
"LuCI.html#location">location
</a></li>
77 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
79 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
81 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
83 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
85 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
87 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
89 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
91 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
93 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
95 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
97 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
99 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
102 <ul class=
"events itemMembers">
107 <li class=
"item" data-name=
"LuCI.Class">
109 <a href=
"LuCI.Class.html">LuCI.Class
</a>
112 <ul class=
"members itemMembers">
115 <ul class=
"typedefs itemMembers">
118 <ul class=
"typedefs itemMembers">
121 <ul class=
"methods itemMembers">
123 <span class=
"subtitle">Methods
</span>
125 <li data-name=
"LuCI.Class.extend"><a href=
"LuCI.Class.html#.extend">extend
</a></li>
127 <li data-name=
"LuCI.Class.instantiate"><a href=
"LuCI.Class.html#.instantiate">instantiate
</a></li>
129 <li data-name=
"LuCI.Class.isSubclass"><a href=
"LuCI.Class.html#.isSubclass">isSubclass
</a></li>
131 <li data-name=
"LuCI.Class.singleton"><a href=
"LuCI.Class.html#.singleton">singleton
</a></li>
133 <li data-name=
"LuCI.Class#super"><a href=
"LuCI.Class.html#super">super
</a></li>
135 <li data-name=
"LuCI.Class#varargs"><a href=
"LuCI.Class.html#varargs">varargs
</a></li>
138 <ul class=
"events itemMembers">
143 <li class=
"item" data-name=
"LuCI.dom">
145 <a href=
"LuCI.dom.html">LuCI.dom
</a>
148 <ul class=
"members itemMembers">
151 <ul class=
"typedefs itemMembers">
153 <span class=
"subtitle">Typedefs
</span>
155 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
158 <ul class=
"typedefs itemMembers">
161 <ul class=
"methods itemMembers">
163 <span class=
"subtitle">Methods
</span>
165 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
167 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
169 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
171 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
173 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
175 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
177 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
179 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
181 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
183 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
185 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
187 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
189 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
192 <ul class=
"events itemMembers">
197 <li class=
"item" data-name=
"LuCI.fs">
199 <a href=
"LuCI.fs.html">LuCI.fs
</a>
202 <ul class=
"members itemMembers">
205 <ul class=
"typedefs itemMembers">
207 <span class=
"subtitle">Typedefs
</span>
209 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
211 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
214 <ul class=
"typedefs itemMembers">
217 <ul class=
"methods itemMembers">
219 <span class=
"subtitle">Methods
</span>
221 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
223 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
225 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
227 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
229 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
231 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
233 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
235 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
238 <ul class=
"events itemMembers">
243 <li class=
"item" data-name=
"LuCI.Headers">
245 <a href=
"LuCI.Headers.html">LuCI.Headers
</a>
248 <ul class=
"members itemMembers">
251 <ul class=
"typedefs itemMembers">
254 <ul class=
"typedefs itemMembers">
257 <ul class=
"methods itemMembers">
259 <span class=
"subtitle">Methods
</span>
261 <li data-name=
"LuCI.Headers#get"><a href=
"LuCI.Headers.html#get">get
</a></li>
263 <li data-name=
"LuCI.Headers#has"><a href=
"LuCI.Headers.html#has">has
</a></li>
266 <ul class=
"events itemMembers">
271 <li class=
"item" data-name=
"LuCI.Network">
273 <a href=
"LuCI.Network.html">LuCI.Network
</a>
276 <ul class=
"members itemMembers">
279 <ul class=
"typedefs itemMembers">
281 <span class=
"subtitle">Typedefs
</span>
283 <li data-name=
"LuCI.Network.SwitchTopology"><a href=
"LuCI.Network.html#.SwitchTopology">SwitchTopology
</a></li>
285 <li data-name=
"LuCI.Network.WifiEncryption"><a href=
"LuCI.Network.html#.WifiEncryption">WifiEncryption
</a></li>
287 <li data-name=
"LuCI.Network.WifiPeerEntry"><a href=
"LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
289 <li data-name=
"LuCI.Network.WifiRateEntry"><a href=
"LuCI.Network.html#.WifiRateEntry">WifiRateEntry
</a></li>
291 <li data-name=
"LuCI.Network.WifiScanResult"><a href=
"LuCI.Network.html#.WifiScanResult">WifiScanResult
</a></li>
294 <ul class=
"typedefs itemMembers">
297 <ul class=
"methods itemMembers">
299 <span class=
"subtitle">Methods
</span>
301 <li data-name=
"LuCI.Network#addNetwork"><a href=
"LuCI.Network.html#addNetwork">addNetwork
</a></li>
303 <li data-name=
"LuCI.Network#addWifiNetwork"><a href=
"LuCI.Network.html#addWifiNetwork">addWifiNetwork
</a></li>
305 <li data-name=
"LuCI.Network#deleteNetwork"><a href=
"LuCI.Network.html#deleteNetwork">deleteNetwork
</a></li>
307 <li data-name=
"LuCI.Network#deleteWifiNetwork"><a href=
"LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
309 <li data-name=
"LuCI.Network#flushCache"><a href=
"LuCI.Network.html#flushCache">flushCache
</a></li>
311 <li data-name=
"LuCI.Network#formatWifiEncryption"><a href=
"LuCI.Network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
313 <li data-name=
"LuCI.Network#getDevice"><a href=
"LuCI.Network.html#getDevice">getDevice
</a></li>
315 <li data-name=
"LuCI.Network#getDevices"><a href=
"LuCI.Network.html#getDevices">getDevices
</a></li>
317 <li data-name=
"LuCI.Network#getDSLModemType"><a href=
"LuCI.Network.html#getDSLModemType">getDSLModemType
</a></li>
319 <li data-name=
"LuCI.Network#getHostHints"><a href=
"LuCI.Network.html#getHostHints">getHostHints
</a></li>
321 <li data-name=
"LuCI.Network#getIfnameOf"><a href=
"LuCI.Network.html#getIfnameOf">getIfnameOf
</a></li>
323 <li data-name=
"LuCI.Network#getNetwork"><a href=
"LuCI.Network.html#getNetwork">getNetwork
</a></li>
325 <li data-name=
"LuCI.Network#getNetworks"><a href=
"LuCI.Network.html#getNetworks">getNetworks
</a></li>
327 <li data-name=
"LuCI.Network#getProtocol"><a href=
"LuCI.Network.html#getProtocol">getProtocol
</a></li>
329 <li data-name=
"LuCI.Network#getProtocols"><a href=
"LuCI.Network.html#getProtocols">getProtocols
</a></li>
331 <li data-name=
"LuCI.Network#getSwitchTopologies"><a href=
"LuCI.Network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
333 <li data-name=
"LuCI.Network#getWAN6Networks"><a href=
"LuCI.Network.html#getWAN6Networks">getWAN6Networks
</a></li>
335 <li data-name=
"LuCI.Network#getWANNetworks"><a href=
"LuCI.Network.html#getWANNetworks">getWANNetworks
</a></li>
337 <li data-name=
"LuCI.Network#getWifiDevice"><a href=
"LuCI.Network.html#getWifiDevice">getWifiDevice
</a></li>
339 <li data-name=
"LuCI.Network#getWifiDevices"><a href=
"LuCI.Network.html#getWifiDevices">getWifiDevices
</a></li>
341 <li data-name=
"LuCI.Network#getWifiNetwork"><a href=
"LuCI.Network.html#getWifiNetwork">getWifiNetwork
</a></li>
343 <li data-name=
"LuCI.Network#getWifiNetworks"><a href=
"LuCI.Network.html#getWifiNetworks">getWifiNetworks
</a></li>
345 <li data-name=
"LuCI.Network#isIgnoredDevice"><a href=
"LuCI.Network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
347 <li data-name=
"LuCI.Network#maskToPrefix"><a href=
"LuCI.Network.html#maskToPrefix">maskToPrefix
</a></li>
349 <li data-name=
"LuCI.Network#prefixToMask"><a href=
"LuCI.Network.html#prefixToMask">prefixToMask
</a></li>
351 <li data-name=
"LuCI.Network#registerErrorCode"><a href=
"LuCI.Network.html#registerErrorCode">registerErrorCode
</a></li>
353 <li data-name=
"LuCI.Network#registerPatternVirtual"><a href=
"LuCI.Network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
355 <li data-name=
"LuCI.Network#registerProtocol"><a href=
"LuCI.Network.html#registerProtocol">registerProtocol
</a></li>
357 <li data-name=
"LuCI.Network#renameNetwork"><a href=
"LuCI.Network.html#renameNetwork">renameNetwork
</a></li>
360 <ul class=
"events itemMembers">
365 <li class=
"item" data-name=
"LuCI.Network.Device">
367 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
370 <ul class=
"members itemMembers">
373 <ul class=
"typedefs itemMembers">
376 <ul class=
"typedefs itemMembers">
379 <ul class=
"methods itemMembers">
381 <span class=
"subtitle">Methods
</span>
383 <li data-name=
"LuCI.Network.Device#getBridgeID"><a href=
"LuCI.Network.Device.html#getBridgeID">getBridgeID
</a></li>
385 <li data-name=
"LuCI.Network.Device#getBridgeSTP"><a href=
"LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
387 <li data-name=
"LuCI.Network.Device#getI18n"><a href=
"LuCI.Network.Device.html#getI18n">getI18n
</a></li>
389 <li data-name=
"LuCI.Network.Device#getIP6Addrs"><a href=
"LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
391 <li data-name=
"LuCI.Network.Device#getIPAddrs"><a href=
"LuCI.Network.Device.html#getIPAddrs">getIPAddrs
</a></li>
393 <li data-name=
"LuCI.Network.Device#getMAC"><a href=
"LuCI.Network.Device.html#getMAC">getMAC
</a></li>
395 <li data-name=
"LuCI.Network.Device#getMTU"><a href=
"LuCI.Network.Device.html#getMTU">getMTU
</a></li>
397 <li data-name=
"LuCI.Network.Device#getName"><a href=
"LuCI.Network.Device.html#getName">getName
</a></li>
399 <li data-name=
"LuCI.Network.Device#getNetwork"><a href=
"LuCI.Network.Device.html#getNetwork">getNetwork
</a></li>
401 <li data-name=
"LuCI.Network.Device#getNetworks"><a href=
"LuCI.Network.Device.html#getNetworks">getNetworks
</a></li>
403 <li data-name=
"LuCI.Network.Device#getPorts"><a href=
"LuCI.Network.Device.html#getPorts">getPorts
</a></li>
405 <li data-name=
"LuCI.Network.Device#getRXBytes"><a href=
"LuCI.Network.Device.html#getRXBytes">getRXBytes
</a></li>
407 <li data-name=
"LuCI.Network.Device#getRXPackets"><a href=
"LuCI.Network.Device.html#getRXPackets">getRXPackets
</a></li>
409 <li data-name=
"LuCI.Network.Device#getShortName"><a href=
"LuCI.Network.Device.html#getShortName">getShortName
</a></li>
411 <li data-name=
"LuCI.Network.Device#getTXBytes"><a href=
"LuCI.Network.Device.html#getTXBytes">getTXBytes
</a></li>
413 <li data-name=
"LuCI.Network.Device#getTXPackets"><a href=
"LuCI.Network.Device.html#getTXPackets">getTXPackets
</a></li>
415 <li data-name=
"LuCI.Network.Device#getType"><a href=
"LuCI.Network.Device.html#getType">getType
</a></li>
417 <li data-name=
"LuCI.Network.Device#getTypeI18n"><a href=
"LuCI.Network.Device.html#getTypeI18n">getTypeI18n
</a></li>
419 <li data-name=
"LuCI.Network.Device#getWifiNetwork"><a href=
"LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
421 <li data-name=
"LuCI.Network.Device#isBridge"><a href=
"LuCI.Network.Device.html#isBridge">isBridge
</a></li>
423 <li data-name=
"LuCI.Network.Device#isBridgePort"><a href=
"LuCI.Network.Device.html#isBridgePort">isBridgePort
</a></li>
425 <li data-name=
"LuCI.Network.Device#isUp"><a href=
"LuCI.Network.Device.html#isUp">isUp
</a></li>
428 <ul class=
"events itemMembers">
433 <li class=
"item" data-name=
"LuCI.Network.Hosts">
435 <a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>
438 <ul class=
"members itemMembers">
441 <ul class=
"typedefs itemMembers">
444 <ul class=
"typedefs itemMembers">
447 <ul class=
"methods itemMembers">
449 <span class=
"subtitle">Methods
</span>
451 <li data-name=
"LuCI.Network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
453 <li data-name=
"LuCI.Network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
455 <li data-name=
"LuCI.Network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
457 <li data-name=
"LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
459 <li data-name=
"LuCI.Network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
461 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
463 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
465 <li data-name=
"LuCI.Network.Hosts#getMACHints"><a href=
"LuCI.Network.Hosts.html#getMACHints">getMACHints
</a></li>
468 <ul class=
"events itemMembers">
473 <li class=
"item" data-name=
"LuCI.Network.Protocol">
475 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
478 <ul class=
"members itemMembers">
481 <ul class=
"typedefs itemMembers">
484 <ul class=
"typedefs itemMembers">
487 <ul class=
"methods itemMembers">
489 <span class=
"subtitle">Methods
</span>
491 <li data-name=
"LuCI.Network.Protocol#addDevice"><a href=
"LuCI.Network.Protocol.html#addDevice">addDevice
</a></li>
493 <li data-name=
"LuCI.Network.Protocol#containsDevice"><a href=
"LuCI.Network.Protocol.html#containsDevice">containsDevice
</a></li>
495 <li data-name=
"LuCI.Network.Protocol#deleteDevice"><a href=
"LuCI.Network.Protocol.html#deleteDevice">deleteDevice
</a></li>
497 <li data-name=
"LuCI.Network.Protocol#get"><a href=
"LuCI.Network.Protocol.html#get">get
</a></li>
499 <li data-name=
"LuCI.Network.Protocol#getDevice"><a href=
"LuCI.Network.Protocol.html#getDevice">getDevice
</a></li>
501 <li data-name=
"LuCI.Network.Protocol#getDevices"><a href=
"LuCI.Network.Protocol.html#getDevices">getDevices
</a></li>
503 <li data-name=
"LuCI.Network.Protocol#getDNS6Addrs"><a href=
"LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
505 <li data-name=
"LuCI.Network.Protocol#getDNSAddrs"><a href=
"LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
507 <li data-name=
"LuCI.Network.Protocol#getErrors"><a href=
"LuCI.Network.Protocol.html#getErrors">getErrors
</a></li>
509 <li data-name=
"LuCI.Network.Protocol#getExpiry"><a href=
"LuCI.Network.Protocol.html#getExpiry">getExpiry
</a></li>
511 <li data-name=
"LuCI.Network.Protocol#getGateway6Addr"><a href=
"LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
513 <li data-name=
"LuCI.Network.Protocol#getGatewayAddr"><a href=
"LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
515 <li data-name=
"LuCI.Network.Protocol#getI18n"><a href=
"LuCI.Network.Protocol.html#getI18n">getI18n
</a></li>
517 <li data-name=
"LuCI.Network.Protocol#getIfname"><a href=
"LuCI.Network.Protocol.html#getIfname">getIfname
</a></li>
519 <li data-name=
"LuCI.Network.Protocol#getIP6Addr"><a href=
"LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
521 <li data-name=
"LuCI.Network.Protocol#getIP6Addrs"><a href=
"LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
523 <li data-name=
"LuCI.Network.Protocol#getIP6Prefix"><a href=
"LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
525 <li data-name=
"LuCI.Network.Protocol#getIPAddr"><a href=
"LuCI.Network.Protocol.html#getIPAddr">getIPAddr
</a></li>
527 <li data-name=
"LuCI.Network.Protocol#getIPAddrs"><a href=
"LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
529 <li data-name=
"LuCI.Network.Protocol#getL2Device"><a href=
"LuCI.Network.Protocol.html#getL2Device">getL2Device
</a></li>
531 <li data-name=
"LuCI.Network.Protocol#getL3Device"><a href=
"LuCI.Network.Protocol.html#getL3Device">getL3Device
</a></li>
533 <li data-name=
"LuCI.Network.Protocol#getMetric"><a href=
"LuCI.Network.Protocol.html#getMetric">getMetric
</a></li>
535 <li data-name=
"LuCI.Network.Protocol#getName"><a href=
"LuCI.Network.Protocol.html#getName">getName
</a></li>
537 <li data-name=
"LuCI.Network.Protocol#getNetmask"><a href=
"LuCI.Network.Protocol.html#getNetmask">getNetmask
</a></li>
539 <li data-name=
"LuCI.Network.Protocol#getOpkgPackage"><a href=
"LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
541 <li data-name=
"LuCI.Network.Protocol#getProtocol"><a href=
"LuCI.Network.Protocol.html#getProtocol">getProtocol
</a></li>
543 <li data-name=
"LuCI.Network.Protocol#getType"><a href=
"LuCI.Network.Protocol.html#getType">getType
</a></li>
545 <li data-name=
"LuCI.Network.Protocol#getUptime"><a href=
"LuCI.Network.Protocol.html#getUptime">getUptime
</a></li>
547 <li data-name=
"LuCI.Network.Protocol#getZoneName"><a href=
"LuCI.Network.Protocol.html#getZoneName">getZoneName
</a></li>
549 <li data-name=
"LuCI.Network.Protocol#isAlias"><a href=
"LuCI.Network.Protocol.html#isAlias">isAlias
</a></li>
551 <li data-name=
"LuCI.Network.Protocol#isBridge"><a href=
"LuCI.Network.Protocol.html#isBridge">isBridge
</a></li>
553 <li data-name=
"LuCI.Network.Protocol#isDynamic"><a href=
"LuCI.Network.Protocol.html#isDynamic">isDynamic
</a></li>
555 <li data-name=
"LuCI.Network.Protocol#isEmpty"><a href=
"LuCI.Network.Protocol.html#isEmpty">isEmpty
</a></li>
557 <li data-name=
"LuCI.Network.Protocol#isFloating"><a href=
"LuCI.Network.Protocol.html#isFloating">isFloating
</a></li>
559 <li data-name=
"LuCI.Network.Protocol#isInstalled"><a href=
"LuCI.Network.Protocol.html#isInstalled">isInstalled
</a></li>
561 <li data-name=
"LuCI.Network.Protocol#isUp"><a href=
"LuCI.Network.Protocol.html#isUp">isUp
</a></li>
563 <li data-name=
"LuCI.Network.Protocol#isVirtual"><a href=
"LuCI.Network.Protocol.html#isVirtual">isVirtual
</a></li>
565 <li data-name=
"LuCI.Network.Protocol#set"><a href=
"LuCI.Network.Protocol.html#set">set
</a></li>
568 <ul class=
"events itemMembers">
573 <li class=
"item" data-name=
"LuCI.Network.WifiDevice">
575 <a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>
578 <ul class=
"members itemMembers">
581 <ul class=
"typedefs itemMembers">
584 <ul class=
"typedefs itemMembers">
587 <ul class=
"methods itemMembers">
589 <span class=
"subtitle">Methods
</span>
591 <li data-name=
"LuCI.Network.WifiDevice#addWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
593 <li data-name=
"LuCI.Network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
595 <li data-name=
"LuCI.Network.WifiDevice#get"><a href=
"LuCI.Network.WifiDevice.html#get">get
</a></li>
597 <li data-name=
"LuCI.Network.WifiDevice#getHTModes"><a href=
"LuCI.Network.WifiDevice.html#getHTModes">getHTModes
</a></li>
599 <li data-name=
"LuCI.Network.WifiDevice#getHWModes"><a href=
"LuCI.Network.WifiDevice.html#getHWModes">getHWModes
</a></li>
601 <li data-name=
"LuCI.Network.WifiDevice#getI18n"><a href=
"LuCI.Network.WifiDevice.html#getI18n">getI18n
</a></li>
603 <li data-name=
"LuCI.Network.WifiDevice#getName"><a href=
"LuCI.Network.WifiDevice.html#getName">getName
</a></li>
605 <li data-name=
"LuCI.Network.WifiDevice#getScanList"><a href=
"LuCI.Network.WifiDevice.html#getScanList">getScanList
</a></li>
607 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
609 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetworks"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
611 <li data-name=
"LuCI.Network.WifiDevice#isDisabled"><a href=
"LuCI.Network.WifiDevice.html#isDisabled">isDisabled
</a></li>
613 <li data-name=
"LuCI.Network.WifiDevice#isUp"><a href=
"LuCI.Network.WifiDevice.html#isUp">isUp
</a></li>
615 <li data-name=
"LuCI.Network.WifiDevice#set"><a href=
"LuCI.Network.WifiDevice.html#set">set
</a></li>
618 <ul class=
"events itemMembers">
623 <li class=
"item" data-name=
"LuCI.Network.WifiNetwork">
625 <a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>
628 <ul class=
"members itemMembers">
631 <ul class=
"typedefs itemMembers">
634 <ul class=
"typedefs itemMembers">
637 <ul class=
"methods itemMembers">
639 <span class=
"subtitle">Methods
</span>
641 <li data-name=
"LuCI.Network.WifiNetwork#disconnectClient"><a href=
"LuCI.Network.WifiNetwork.html#disconnectClient">disconnectClient
</a></li>
643 <li data-name=
"LuCI.Network.WifiNetwork#get"><a href=
"LuCI.Network.WifiNetwork.html#get">get
</a></li>
645 <li data-name=
"LuCI.Network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
647 <li data-name=
"LuCI.Network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
649 <li data-name=
"LuCI.Network.WifiNetwork#getActiveMode"><a href=
"LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
651 <li data-name=
"LuCI.Network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
653 <li data-name=
"LuCI.Network.WifiNetwork#getActiveSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
655 <li data-name=
"LuCI.Network.WifiNetwork#getAssocList"><a href=
"LuCI.Network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
657 <li data-name=
"LuCI.Network.WifiNetwork#getBitRate"><a href=
"LuCI.Network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
659 <li data-name=
"LuCI.Network.WifiNetwork#getBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
661 <li data-name=
"LuCI.Network.WifiNetwork#getChannel"><a href=
"LuCI.Network.WifiNetwork.html#getChannel">getChannel
</a></li>
663 <li data-name=
"LuCI.Network.WifiNetwork#getCountryCode"><a href=
"LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
665 <li data-name=
"LuCI.Network.WifiNetwork#getDevice"><a href=
"LuCI.Network.WifiNetwork.html#getDevice">getDevice
</a></li>
667 <li data-name=
"LuCI.Network.WifiNetwork#getFrequency"><a href=
"LuCI.Network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
669 <li data-name=
"LuCI.Network.WifiNetwork#getI18n"><a href=
"LuCI.Network.WifiNetwork.html#getI18n">getI18n
</a></li>
671 <li data-name=
"LuCI.Network.WifiNetwork#getID"><a href=
"LuCI.Network.WifiNetwork.html#getID">getID
</a></li>
673 <li data-name=
"LuCI.Network.WifiNetwork#getIfname"><a href=
"LuCI.Network.WifiNetwork.html#getIfname">getIfname
</a></li>
675 <li data-name=
"LuCI.Network.WifiNetwork#getMeshID"><a href=
"LuCI.Network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
677 <li data-name=
"LuCI.Network.WifiNetwork#getMode"><a href=
"LuCI.Network.WifiNetwork.html#getMode">getMode
</a></li>
679 <li data-name=
"LuCI.Network.WifiNetwork#getName"><a href=
"LuCI.Network.WifiNetwork.html#getName">getName
</a></li>
681 <li data-name=
"LuCI.Network.WifiNetwork#getNetwork"><a href=
"LuCI.Network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
683 <li data-name=
"LuCI.Network.WifiNetwork#getNetworkNames"><a href=
"LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
685 <li data-name=
"LuCI.Network.WifiNetwork#getNetworks"><a href=
"LuCI.Network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
687 <li data-name=
"LuCI.Network.WifiNetwork#getNoise"><a href=
"LuCI.Network.WifiNetwork.html#getNoise">getNoise
</a></li>
689 <li data-name=
"LuCI.Network.WifiNetwork#getShortName"><a href=
"LuCI.Network.WifiNetwork.html#getShortName">getShortName
</a></li>
691 <li data-name=
"LuCI.Network.WifiNetwork#getSignal"><a href=
"LuCI.Network.WifiNetwork.html#getSignal">getSignal
</a></li>
693 <li data-name=
"LuCI.Network.WifiNetwork#getSignalLevel"><a href=
"LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
695 <li data-name=
"LuCI.Network.WifiNetwork#getSignalPercent"><a href=
"LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
697 <li data-name=
"LuCI.Network.WifiNetwork#getSSID"><a href=
"LuCI.Network.WifiNetwork.html#getSSID">getSSID
</a></li>
699 <li data-name=
"LuCI.Network.WifiNetwork#getTXPower"><a href=
"LuCI.Network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
701 <li data-name=
"LuCI.Network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
703 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDevice"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
705 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
707 <li data-name=
"LuCI.Network.WifiNetwork#isClientDisconnectSupported"><a href=
"LuCI.Network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported
</a></li>
709 <li data-name=
"LuCI.Network.WifiNetwork#isDisabled"><a href=
"LuCI.Network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
711 <li data-name=
"LuCI.Network.WifiNetwork#isUp"><a href=
"LuCI.Network.WifiNetwork.html#isUp">isUp
</a></li>
713 <li data-name=
"LuCI.Network.WifiNetwork#set"><a href=
"LuCI.Network.WifiNetwork.html#set">set
</a></li>
716 <ul class=
"events itemMembers">
721 <li class=
"item" data-name=
"LuCI.Poll">
723 <a href=
"LuCI.Poll.html">LuCI.Poll
</a>
726 <ul class=
"members itemMembers">
729 <ul class=
"typedefs itemMembers">
732 <ul class=
"typedefs itemMembers">
735 <ul class=
"methods itemMembers">
737 <span class=
"subtitle">Methods
</span>
739 <li data-name=
"LuCI.Poll#active"><a href=
"LuCI.Poll.html#active">active
</a></li>
741 <li data-name=
"LuCI.Poll#add"><a href=
"LuCI.Poll.html#add">add
</a></li>
743 <li data-name=
"LuCI.Poll#remove"><a href=
"LuCI.Poll.html#remove">remove
</a></li>
745 <li data-name=
"LuCI.Poll#start"><a href=
"LuCI.Poll.html#start">start
</a></li>
747 <li data-name=
"LuCI.Poll#stop"><a href=
"LuCI.Poll.html#stop">stop
</a></li>
750 <ul class=
"events itemMembers">
755 <li class=
"item" data-name=
"LuCI.Request">
757 <a href=
"LuCI.Request.html">LuCI.Request
</a>
760 <ul class=
"members itemMembers">
763 <ul class=
"typedefs itemMembers">
765 <span class=
"subtitle">Typedefs
</span>
767 <li data-name=
"LuCI.Request.interceptorFn"><a href=
"LuCI.Request.html#.interceptorFn">interceptorFn
</a></li>
769 <li data-name=
"LuCI.Request.RequestOptions"><a href=
"LuCI.Request.html#.RequestOptions">RequestOptions
</a></li>
772 <ul class=
"typedefs itemMembers">
775 <ul class=
"methods itemMembers">
777 <span class=
"subtitle">Methods
</span>
779 <li data-name=
"LuCI.Request#addInterceptor"><a href=
"LuCI.Request.html#addInterceptor">addInterceptor
</a></li>
781 <li data-name=
"LuCI.Request#expandURL"><a href=
"LuCI.Request.html#expandURL">expandURL
</a></li>
783 <li data-name=
"LuCI.Request#get"><a href=
"LuCI.Request.html#get">get
</a></li>
785 <li data-name=
"LuCI.Request#post"><a href=
"LuCI.Request.html#post">post
</a></li>
787 <li data-name=
"LuCI.Request#removeInterceptor"><a href=
"LuCI.Request.html#removeInterceptor">removeInterceptor
</a></li>
789 <li data-name=
"LuCI.Request#request"><a href=
"LuCI.Request.html#request">request
</a></li>
792 <ul class=
"events itemMembers">
797 <li class=
"item" data-name=
"LuCI.Request.poll">
799 <a href=
"LuCI.Request.poll.html">LuCI.Request.poll
</a>
802 <ul class=
"members itemMembers">
805 <ul class=
"typedefs itemMembers">
807 <span class=
"subtitle">Typedefs
</span>
809 <li data-name=
"LuCI.Request.poll~callbackFn"><a href=
"LuCI.Request.poll.html#~callbackFn">callbackFn
</a></li>
812 <ul class=
"typedefs itemMembers">
815 <ul class=
"methods itemMembers">
817 <span class=
"subtitle">Methods
</span>
819 <li data-name=
"LuCI.Request.poll#active"><a href=
"LuCI.Request.poll.html#active">active
</a></li>
821 <li data-name=
"LuCI.Request.poll#add"><a href=
"LuCI.Request.poll.html#add">add
</a></li>
823 <li data-name=
"LuCI.Request.poll#remove"><a href=
"LuCI.Request.poll.html#remove">remove
</a></li>
825 <li data-name=
"LuCI.Request.poll#start"><a href=
"LuCI.Request.poll.html#start">start
</a></li>
827 <li data-name=
"LuCI.Request.poll#stop"><a href=
"LuCI.Request.poll.html#stop">stop
</a></li>
830 <ul class=
"events itemMembers">
835 <li class=
"item" data-name=
"LuCI.Response">
837 <a href=
"LuCI.Response.html">LuCI.Response
</a>
840 <ul class=
"members itemMembers">
842 <span class=
"subtitle">Members
</span>
844 <li data-name=
"LuCI.Response#duration"><a href=
"LuCI.Response.html#duration">duration
</a></li>
846 <li data-name=
"LuCI.Response#headers"><a href=
"LuCI.Response.html#headers">headers
</a></li>
848 <li data-name=
"LuCI.Response#ok"><a href=
"LuCI.Response.html#ok">ok
</a></li>
850 <li data-name=
"LuCI.Response#status"><a href=
"LuCI.Response.html#status">status
</a></li>
852 <li data-name=
"LuCI.Response#statusText"><a href=
"LuCI.Response.html#statusText">statusText
</a></li>
854 <li data-name=
"LuCI.Response#url"><a href=
"LuCI.Response.html#url">url
</a></li>
857 <ul class=
"typedefs itemMembers">
860 <ul class=
"typedefs itemMembers">
863 <ul class=
"methods itemMembers">
865 <span class=
"subtitle">Methods
</span>
867 <li data-name=
"LuCI.Response#clone"><a href=
"LuCI.Response.html#clone">clone
</a></li>
869 <li data-name=
"LuCI.Response#json"><a href=
"LuCI.Response.html#json">json
</a></li>
871 <li data-name=
"LuCI.Response#text"><a href=
"LuCI.Response.html#text">text
</a></li>
874 <ul class=
"events itemMembers">
879 <li class=
"item" data-name=
"LuCI.rpc">
881 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
884 <ul class=
"members itemMembers">
887 <ul class=
"typedefs itemMembers">
889 <span class=
"subtitle">Typedefs
</span>
891 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
893 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
895 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
897 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
900 <ul class=
"typedefs itemMembers">
903 <ul class=
"methods itemMembers">
905 <span class=
"subtitle">Methods
</span>
907 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
909 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
911 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
913 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
915 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
917 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
919 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
921 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
923 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
926 <ul class=
"events itemMembers">
931 <li class=
"item" data-name=
"LuCI.uci">
933 <a href=
"LuCI.uci.html">LuCI.uci
</a>
936 <ul class=
"members itemMembers">
939 <ul class=
"typedefs itemMembers">
941 <span class=
"subtitle">Typedefs
</span>
943 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
945 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
947 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
950 <ul class=
"typedefs itemMembers">
953 <ul class=
"methods itemMembers">
955 <span class=
"subtitle">Methods
</span>
957 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
959 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
961 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
963 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
965 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
967 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
969 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
971 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
973 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
975 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
977 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
979 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
981 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
983 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
985 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
987 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
989 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
992 <ul class=
"events itemMembers">
997 <li class=
"item" data-name=
"LuCI.view">
999 <a href=
"LuCI.view.html">LuCI.view
</a>
1002 <ul class=
"members itemMembers">
1005 <ul class=
"typedefs itemMembers">
1008 <ul class=
"typedefs itemMembers">
1011 <ul class=
"methods itemMembers">
1013 <span class=
"subtitle">Methods
</span>
1015 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
1017 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
1019 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
1021 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
1023 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
1025 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
1028 <ul class=
"events itemMembers">
1033 <li class=
"item" data-name=
"LuCI.XHR">
1034 <span class=
"title">
1035 <a href=
"LuCI.XHR.html">LuCI.XHR
</a>
1038 <ul class=
"members itemMembers">
1041 <ul class=
"typedefs itemMembers">
1044 <ul class=
"typedefs itemMembers">
1047 <ul class=
"methods itemMembers">
1049 <span class=
"subtitle">Methods
</span>
1051 <li data-name=
"LuCI.XHR#abort"><a href=
"LuCI.XHR.html#abort">abort
</a></li>
1053 <li data-name=
"LuCI.XHR#busy"><a href=
"LuCI.XHR.html#busy">busy
</a></li>
1055 <li data-name=
"LuCI.XHR#cancel"><a href=
"LuCI.XHR.html#cancel">cancel
</a></li>
1057 <li data-name=
"LuCI.XHR#get"><a href=
"LuCI.XHR.html#get">get
</a></li>
1059 <li data-name=
"LuCI.XHR#post"><a href=
"LuCI.XHR.html#post">post
</a></li>
1061 <li data-name=
"LuCI.XHR#send_form"><a href=
"LuCI.XHR.html#send_form">send_form
</a></li>
1064 <ul class=
"events itemMembers">
1072 <h1 class=
"page-title" data-filename=
"LuCI.Network.html">Class: Network
</h1>
1081 <span class=
"ancestors"><a href=
"LuCI.html">LuCI
</a>.
</span>
1086 <div class=
"class-description"><p>The
<code>LuCI.Network
</code> class combines data from multiple
<code>ubus
</code> apis to
1087 provide an abstraction of the current network configuration state.
</p>
1088 <p>It provides methods to enumerate interfaces and devices, to query
1089 current configuration details and to manipulate settings.
</p></div>
1094 <div class=
"container-overview">
1100 <div class=
"nameContainer">
1101 <h4 class=
"name" id=
"Network">
1103 new LuCI.Network
<span class=
"signature">()
</span>
1107 <div class=
"tag-source">
1108 network.js, line
645
1126 <dl class=
"details">
1174 <h3 class=
"subsection-title">Classes
</h3>
1177 <dt><a href=
"LuCI.Network.Device.html">Device
</a></dt>
1180 <dt><a href=
"LuCI.Network.Hosts.html">Hosts
</a></dt>
1183 <dt><a href=
"LuCI.Network.Protocol.html">Protocol
</a></dt>
1186 <dt><a href=
"LuCI.Network.WifiDevice.html">WifiDevice
</a></dt>
1189 <dt><a href=
"LuCI.Network.WifiNetwork.html">WifiNetwork
</a></dt>
1199 <h3 class=
"subsection-title">Methods
</h3>
1204 <div class=
"nameContainer">
1205 <h4 class=
"name" id=
"addNetwork">
1207 addNetwork
<span class=
"signature">(name,
<span class=
"optional">options
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>}
</span>
1211 <div class=
"tag-source">
1212 network.js, line
901
1222 <div class=
"description">
1223 <p>Adds a new network of the given name and update it with the given
1224 uci option values.
</p>
1225 <p>If a network with the given name already exist but is empty, then
1226 this function will update its option, otherwise it will do nothing.
</p>
1237 <table class=
"params">
1248 <th class=
"last">Description
</th>
1257 <td class=
"name"><code>name
</code></td>
1263 <span class=
"param-type">string
</span>
1271 <td class=
"description last">
1278 <p>The name of the network to add. Must be in the format
<code>[a-zA-Z0-
9_]+
</code>.
</p></td>
1285 <td class=
"name"><code>options
</code></td>
1291 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1299 <td class=
"description last">
1302 <span class=
"optional">optional
</span>
1308 <p>An object of uci option values to set on the new network or to
1309 update in an existing, empty network.
</p></td>
1318 <dl class=
"details">
1356 <table class=
"params">
1361 <th class=
"last">Description
</th>
1370 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
1374 <td class=
"description last">Returns a promise resolving to the
<code>Protocol
</code> subclass instance
1375 describing the added network or resolving to
<code>null
</code> if the name
1376 was invalid or if a non-empty network of the given name already
1391 <div class=
"nameContainer">
1392 <h4 class=
"name" id=
"addWifiNetwork">
1394 addWifiNetwork
<span class=
"signature">(options)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>}
</span>
1398 <div class=
"tag-source">
1399 network.js, line
1350
1409 <div class=
"description">
1410 <p>Adds a new wireless network to the configuration and sets its options
1411 to the provided values.
</p>
1422 <table class=
"params">
1433 <th class=
"last">Description
</th>
1442 <td class=
"name"><code>options
</code></td>
1448 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1456 <td class=
"description last">
1458 <p>The options to set for the newly added wireless network. This object
1459 must at least contain a
<code>device
</code> property which is set to the radio
1460 name the new network belongs to.
</p></td>
1469 <dl class=
"details">
1507 <table class=
"params">
1512 <th class=
"last">Description
</th>
1521 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
1525 <td class=
"description last">Returns a promise resolving to a
<code>WifiNetwork
</code> instance describing
1526 the newly added wireless network or
<code>null
</code> if the given options
1527 were invalid or if the associated radio device could not be found.
</td>
1541 <div class=
"nameContainer">
1542 <h4 class=
"name" id=
"deleteNetwork">
1544 deleteNetwork
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1548 <div class=
"tag-source">
1549 network.js, line
979
1559 <div class=
"description">
1560 <p>Deletes the given network and its references from the network and
1561 firewall configuration.
</p>
1572 <table class=
"params">
1583 <th class=
"last">Description
</th>
1592 <td class=
"name"><code>name
</code></td>
1598 <span class=
"param-type">string
</span>
1606 <td class=
"description last">
1608 <p>The name of the network to delete.
</p></td>
1617 <dl class=
"details">
1655 <table class=
"params">
1660 <th class=
"last">Description
</th>
1669 Promise.
<boolean
>
1673 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network and
1674 references to it were successfully deleted from the configuration or
1675 <code>false
</code> if the given network could not be found.
</td>
1689 <div class=
"nameContainer">
1690 <h4 class=
"name" id=
"deleteWifiNetwork">
1692 deleteWifiNetwork
<span class=
"signature">(netname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1696 <div class=
"tag-source">
1697 network.js, line
1388
1707 <div class=
"description">
1708 <p>Deletes the given wireless network from the configuration.
</p>
1719 <table class=
"params">
1730 <th class=
"last">Description
</th>
1739 <td class=
"name"><code>netname
</code></td>
1745 <span class=
"param-type">string
</span>
1753 <td class=
"description last">
1755 <p>The name of the network to remove. This may be either a
1756 network ID in the form
<code>radio#.network#
</code> or a Linux network device
1757 name like
<code>wlan0
</code> which is resolved to the corresponding configuration
1758 section through
<code>ubus
</code> runtime information.
</p></td>
1767 <dl class=
"details">
1805 <table class=
"params">
1810 <th class=
"last">Description
</th>
1819 Promise.
<boolean
>
1823 <td class=
"description last">Returns a promise resolving to
<code>true
</code> if the wireless network has been
1824 successfully deleted from the configuration or
<code>false
</code> if it could not
1839 <div class=
"nameContainer">
1840 <h4 class=
"name" id=
"flushCache">
1842 flushCache
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Object
>}
</span>
1846 <div class=
"tag-source">
1847 network.js, line
745
1857 <div class=
"description">
1858 <p>Flushes the local network state cache and fetches updated information
1859 from the remote
<code>ubus
</code> apis.
</p>
1870 <dl class=
"details">
1908 <table class=
"params">
1913 <th class=
"last">Description
</th>
1926 <td class=
"description last">Returns a promise resolving to the internal network state object.
</td>
1940 <div class=
"nameContainer">
1941 <h4 class=
"name" id=
"formatWifiEncryption">
1943 formatWifiEncryption
<span class=
"signature">(encryption)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
1947 <div class=
"tag-source">
1948 network.js, line
736
1958 <div class=
"description">
1959 <p>Converts a given
<a href=
"LuCI.Network.html#.WifiEncryption"><code>encryption entry
</code></a>
1960 into a human readable string such as
<code>mixed WPA/WPA2 PSK (TKIP, CCMP)
</code>
1961 or
<code>WPA3 SAE (CCMP)
</code>.
</p>
1972 <table class=
"params">
1983 <th class=
"last">Description
</th>
1992 <td class=
"name"><code>encryption
</code></td>
1998 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
2006 <td class=
"description last">
2008 <p>The wireless encryption entry to convert.
</p></td>
2017 <dl class=
"details">
2055 <table class=
"params">
2060 <th class=
"last">Description
</th>
2076 <td class=
"description last">Returns the description string for the given encryption entry or
2077 <code>null
</code> if the given entry was invalid.
</td>
2091 <div class=
"nameContainer">
2092 <h4 class=
"name" id=
"getDevice">
2094 getDevice
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>)
>}
</span>
2098 <div class=
"tag-source">
2099 network.js, line
1104
2109 <div class=
"description">
2110 <p>Get a
<a href=
"LuCI.Network.Device.html"><code>Device
</code></a> instance describing the
2111 given network device.
</p>
2122 <table class=
"params">
2133 <th class=
"last">Description
</th>
2142 <td class=
"name"><code>name
</code></td>
2148 <span class=
"param-type">string
</span>
2156 <td class=
"description last">
2158 <p>The name of the network device to get, e.g.
<code>eth0
</code> or
<code>br-lan
</code>.
</p></td>
2167 <dl class=
"details">
2205 <table class=
"params">
2210 <th class=
"last">Description
</th>
2219 Promise.
<(null|
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>)
>
2223 <td class=
"description last">Returns a promise resolving to the
<code>Device
</code> instance describing
2224 the network device or
<code>null
</code> if the given device name could not
2239 <div class=
"nameContainer">
2240 <h4 class=
"name" id=
"getDevices">
2242 getDevices
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>>}
</span>
2246 <div class=
"tag-source">
2247 network.js, line
1127
2257 <div class=
"description">
2258 <p>Get a sorted list of all found network devices.
</p>
2269 <dl class=
"details">
2307 <table class=
"params">
2312 <th class=
"last">Description
</th>
2321 Promise.
<Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>>
2325 <td class=
"description last">Returns a promise resolving to a sorted array of
<code>Device
</code> class
2326 instances describing the network devices found on the system.
</td>
2340 <div class=
"nameContainer">
2341 <h4 class=
"name" id=
"getDSLModemType">
2343 getDSLModemType
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|string)
>}
</span>
2347 <div class=
"tag-source">
2348 network.js, line
1650
2358 <div class=
"description">
2359 <p>Queries the internal DSL modem type from board information.
</p>
2370 <dl class=
"details">
2408 <table class=
"params">
2413 <th class=
"last">Description
</th>
2422 Promise.
<(null|string)
>
2426 <td class=
"description last">Returns a promise resolving to the type of the internal modem
2427 (e.g.
<code>vdsl
</code>) or to
<code>null
</code> if no internal modem is present.
</td>
2441 <div class=
"nameContainer">
2442 <h4 class=
"name" id=
"getHostHints">
2444 getHostHints
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<<a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>>}
</span>
2448 <div class=
"tag-source">
2449 network.js, line
1667
2459 <div class=
"description">
2460 <p>Queries aggregated information about known hosts.
</p>
2461 <p>This function aggregates information from various sources such as
2462 DHCP lease databases, ARP and IPv6 neighbour entries, wireless
2463 association list etc. and returns a
<a href=
"LuCI.Network.Hosts.html"><code>Hosts
</code></a>
2464 class instance describing the found hosts.
</p>
2475 <dl class=
"details">
2513 <table class=
"params">
2518 <th class=
"last">Description
</th>
2527 Promise.
<<a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>>
2531 <td class=
"description last">Returns a
<code>Hosts
</code> instance describing host known on the system.
</td>
2545 <div class=
"nameContainer">
2546 <h4 class=
"name" id=
"getIfnameOf">
2548 getIfnameOf
<span class=
"signature">(obj)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
2552 <div class=
"tag-source">
2553 network.js, line
1639
2563 <div class=
"description">
2564 <p>Obtains the the network device name of the given object.
</p>
2575 <table class=
"params">
2586 <th class=
"last">Description
</th>
2595 <td class=
"name"><code>obj
</code></td>
2601 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
2604 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
2607 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
2610 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
2613 <span class=
"param-type">string
</span>
2621 <td class=
"description last">
2623 <p>The object to get the device name from.
</p></td>
2632 <dl class=
"details">
2670 <table class=
"params">
2675 <th class=
"last">Description
</th>
2691 <td class=
"description last">Returns a string containing the device name or
<code>null
</code> if the given
2692 object could not be converted to a name.
</td>
2706 <div class=
"nameContainer">
2707 <h4 class=
"name" id=
"getNetwork">
2709 getNetwork
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>}
</span>
2713 <div class=
"tag-source">
2714 network.js, line
938
2724 <div class=
"description">
2725 <p>Get a
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> instance describing
2726 the network with the given name.
</p>
2737 <table class=
"params">
2748 <th class=
"last">Description
</th>
2757 <td class=
"name"><code>name
</code></td>
2763 <span class=
"param-type">string
</span>
2771 <td class=
"description last">
2773 <p>The logical interface name of the network get, e.g.
<code>lan
</code> or
<code>wan
</code>.
</p></td>
2782 <dl class=
"details">
2820 <table class=
"params">
2825 <th class=
"last">Description
</th>
2834 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
2838 <td class=
"description last">Returns a promise resolving to a
2839 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instance describing
2840 the network or
<code>null
</code> if the network did not exist.
</td>
2854 <div class=
"nameContainer">
2855 <h4 class=
"name" id=
"getNetworks">
2857 getNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
2861 <div class=
"tag-source">
2862 network.js, line
963
2872 <div class=
"description">
2873 <p>Gets an array containing all known networks.
</p>
2884 <dl class=
"details">
2922 <table class=
"params">
2927 <th class=
"last">Description
</th>
2936 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
2940 <td class=
"description last">Returns a promise resolving to a name-sorted array of
2941 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instances
2942 describing all known networks.
</td>
2956 <div class=
"nameContainer">
2957 <h4 class=
"name" id=
"getProtocol">
2959 getProtocol
<span class=
"signature">(protoname,
<span class=
"optional">netname
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>}
</span>
2963 <div class=
"tag-source">
2964 network.js, line
767
2974 <div class=
"description">
2975 <p>Instantiates the given
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> backend,
2976 optionally using the given network name.
</p>
2987 <table class=
"params">
3000 <th class=
"last">Description
</th>
3009 <td class=
"name"><code>protoname
</code></td>
3015 <span class=
"param-type">string
</span>
3022 <td class=
"default">
3027 <td class=
"description last">
3034 <p>The protocol backend to use, e.g.
<code>static
</code> or
<code>dhcp
</code>.
</p></td>
3041 <td class=
"name"><code>netname
</code></td>
3047 <span class=
"param-type">string
</span>
3054 <td class=
"default">
3061 <td class=
"description last">
3064 <span class=
"optional">optional
</span>
3070 <p>The network name to use for the instantiated protocol. This should be
3071 usually set to one of the interfaces described in /etc/config/network
3072 but it is allowed to omit it, e.g. to query protocol capabilities
3073 without the need for an existing interface.
</p></td>
3082 <dl class=
"details">
3120 <table class=
"params">
3125 <th class=
"last">Description
</th>
3137 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
3141 <td class=
"description last">Returns the instantiated protocol backend class or
<code>null
</code> if the given
3142 protocol isn't known.
</td>
3156 <div class=
"nameContainer">
3157 <h4 class=
"name" id=
"getProtocols">
3159 getProtocols
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>}
</span>
3163 <div class=
"tag-source">
3164 network.js, line
782
3174 <div class=
"description">
3175 <p>Obtains instances of all known
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a>
3176 backend classes.
</p>
3187 <dl class=
"details">
3225 <table class=
"params">
3230 <th class=
"last">Description
</th>
3239 Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>
3243 <td class=
"description last">Returns an array of protocol class instances.
</td>
3257 <div class=
"nameContainer">
3258 <h4 class=
"name" id=
"getSwitchTopologies">
3260 getSwitchTopologies
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Object.
<string,
<a href=
"LuCI.Network.html#.SwitchTopology">LuCI.Network.SwitchTopology
</a>>>}
</span>
3264 <div class=
"tag-source">
3265 network.js, line
1544
3275 <div class=
"description">
3276 <p>Returns the topologies of all swconfig switches found on the system.
</p>
3287 <dl class=
"details">
3325 <table class=
"params">
3330 <th class=
"last">Description
</th>
3339 Promise.
<Object.
<string,
<a href=
"LuCI.Network.html#.SwitchTopology">LuCI.Network.SwitchTopology
</a>>>
3343 <td class=
"description last">Returns a promise resolving to an object containing the topologies
3344 of each switch. The object keys correspond to the name of the switches
3345 such as
<code>switch0
</code>, the values are
3346 <a href=
"LuCI.Network.html#.SwitchTopology"><code>SwitchTopology
</code></a> objects describing
3361 <div class=
"nameContainer">
3362 <h4 class=
"name" id=
"getWAN6Networks">
3364 getWAN6Networks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
3368 <div class=
"tag-source">
3369 network.js, line
1495
3379 <div class=
"description">
3380 <p>Get IPv6 wan networks.
</p>
3381 <p>This function looks up all networks having a default
<code>::/
0</code> route
3382 and returns them as array.
</p>
3393 <dl class=
"details">
3431 <table class=
"params">
3436 <th class=
"last">Description
</th>
3445 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3449 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3450 instances describing the found IPv6 default route interfaces.
</td>
3464 <div class=
"nameContainer">
3465 <h4 class=
"name" id=
"getWANNetworks">
3467 getWANNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
3471 <div class=
"tag-source">
3472 network.js, line
1470
3482 <div class=
"description">
3483 <p>Get IPv4 wan networks.
</p>
3484 <p>This function looks up all networks having a default
<code>0.0.0.0/
0</code> route
3485 and returns them as array.
</p>
3496 <dl class=
"details">
3534 <table class=
"params">
3539 <th class=
"last">Description
</th>
3548 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3552 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3553 instances describing the found default route interfaces.
</td>
3567 <div class=
"nameContainer">
3568 <h4 class=
"name" id=
"getWifiDevice">
3570 getWifiDevice
<span class=
"signature">(devname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>)
>}
</span>
3574 <div class=
"tag-source">
3575 network.js, line
1257
3585 <div class=
"description">
3586 <p>Get a
<a href=
"LuCI.Network.WifiDevice.html"><code>WifiDevice
</code></a> instance describing
3587 the given wireless radio.
</p>
3598 <table class=
"params">
3609 <th class=
"last">Description
</th>
3618 <td class=
"name"><code>devname
</code></td>
3624 <span class=
"param-type">string
</span>
3632 <td class=
"description last">
3634 <p>The configuration name of the wireless radio to lookup, e.g.
<code>radio0
</code>
3635 for the first mac80211 phy on the system.
</p></td>
3644 <dl class=
"details">
3682 <table class=
"params">
3687 <th class=
"last">Description
</th>
3696 Promise.
<(null|
<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>)
>
3700 <td class=
"description last">Returns a promise resolving to the
<code>WifiDevice
</code> instance describing
3701 the underlying radio device or
<code>null
</code> if the wireless radio could not
3716 <div class=
"nameContainer">
3717 <h4 class=
"name" id=
"getWifiDevices">
3719 getWifiDevices
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>>>}
</span>
3723 <div class=
"tag-source">
3724 network.js, line
1277
3734 <div class=
"description">
3735 <p>Obtain a list of all configured radio devices.
</p>
3746 <dl class=
"details">
3784 <table class=
"params">
3789 <th class=
"last">Description
</th>
3798 Promise.
<Array.
<<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>>>
3802 <td class=
"description last">Returns a promise resolving to an array of
<code>WifiDevice
</code> instances
3803 describing the wireless radios configured in the system.
3804 The order of the array corresponds to the order of the radios in
3805 the configuration.
</td>
3819 <div class=
"nameContainer">
3820 <h4 class=
"name" id=
"getWifiNetwork">
3822 getWifiNetwork
<span class=
"signature">(netname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>}
</span>
3826 <div class=
"tag-source">
3827 network.js, line
1306
3837 <div class=
"description">
3838 <p>Get a
<a href=
"LuCI.Network.WifiNetwork.html"><code>WifiNetwork
</code></a> instance describing
3839 the given wireless network.
</p>
3850 <table class=
"params">
3861 <th class=
"last">Description
</th>
3870 <td class=
"name"><code>netname
</code></td>
3876 <span class=
"param-type">string
</span>
3884 <td class=
"description last">
3886 <p>The name of the wireless network to lookup. This may be either an uci
3887 configuration section ID, a network ID in the form
<code>radio#.network#
</code>
3888 or a Linux network device name like
<code>wlan0
</code> which is resolved to the
3889 corresponding configuration section through
<code>ubus
</code> runtime information.
</p></td>
3898 <dl class=
"details">
3936 <table class=
"params">
3941 <th class=
"last">Description
</th>
3950 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
3954 <td class=
"description last">Returns a promise resolving to the
<code>WifiNetwork
</code> instance describing
3955 the wireless network or
<code>null
</code> if the corresponding network could not
3970 <div class=
"nameContainer">
3971 <h4 class=
"name" id=
"getWifiNetworks">
3973 getWifiNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>>>}
</span>
3977 <div class=
"tag-source">
3978 network.js, line
1320
3988 <div class=
"description">
3989 <p>Get an array of all
<a href=
"LuCI.Network.WifiNetwork.html"><code>WifiNetwork
</code></a>
3990 instances describing the wireless networks present on the system.
</p>
4001 <dl class=
"details">
4039 <table class=
"params">
4044 <th class=
"last">Description
</th>
4053 Promise.
<Array.
<<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>>>
4057 <td class=
"description last">Returns a promise resolving to an array of
<code>WifiNetwork
</code> instances
4058 describing the wireless networks. The array will be empty if no networks
4073 <div class=
"nameContainer">
4074 <h4 class=
"name" id=
"isIgnoredDevice">
4076 isIgnoredDevice
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4080 <div class=
"tag-source">
4081 network.js, line
1240
4091 <div class=
"description">
4092 <p>Test if a given network device name is in the list of patterns for
4093 device names to ignore.
</p>
4094 <p>Ignored device names are usually Linux network devices which are
4095 spawned implicitly by kernel modules such as
<code>tunl0
</code> or
<code>hwsim0
</code>
4096 and which are unsuitable for use in network configuration.
</p>
4107 <table class=
"params">
4118 <th class=
"last">Description
</th>
4127 <td class=
"name"><code>name
</code></td>
4133 <span class=
"param-type">string
</span>
4141 <td class=
"description last">
4143 <p>The device name to test.
</p></td>
4152 <dl class=
"details">
4190 <table class=
"params">
4195 <th class=
"last">Description
</th>
4208 <td class=
"description last">Returns
<code>true
</code> if the given name is in the ignore pattern list,
4209 else returns
<code>false
</code>.
</td>
4223 <div class=
"nameContainer">
4224 <h4 class=
"name" id=
"maskToPrefix">
4226 maskToPrefix
<span class=
"signature">(netmask,
<span class=
"optional">v6
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|number}
</span>
4230 <div class=
"tag-source">
4231 network.js, line
681
4241 <div class=
"description">
4242 <p>Converts the given netmask to a prefix size in bits.
</p>
4253 <table class=
"params">
4266 <th class=
"last">Description
</th>
4275 <td class=
"name"><code>netmask
</code></td>
4281 <span class=
"param-type">string
</span>
4288 <td class=
"default">
4293 <td class=
"description last">
4300 <p>The netmask to convert into a bit count.
</p></td>
4307 <td class=
"name"><code>v6
</code></td>
4313 <span class=
"param-type">boolean
</span>
4320 <td class=
"default">
4327 <td class=
"description last">
4330 <span class=
"optional">optional
</span>
4336 <p>Whether to parse the given netmask as IPv4 (
<code>false
</code>) or IPv6 (
<code>true
</code>)
4346 <dl class=
"details">
4384 <table class=
"params">
4389 <th class=
"last">Description
</th>
4405 <td class=
"description last">Returns the number of prefix bits contained in the netmask or
<code>null
</code>
4406 if the given netmask value was invalid.
</td>
4420 <div class=
"nameContainer">
4421 <h4 class=
"name" id=
"prefixToMask">
4423 prefixToMask
<span class=
"signature">(bits,
<span class=
"optional">v6
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
4427 <div class=
"tag-source">
4428 network.js, line
663
4438 <div class=
"description">
4439 <p>Converts the given prefix size in bits to a netmask.
</p>
4450 <table class=
"params">
4463 <th class=
"last">Description
</th>
4472 <td class=
"name"><code>bits
</code></td>
4478 <span class=
"param-type">number
</span>
4485 <td class=
"default">
4490 <td class=
"description last">
4497 <p>The prefix size in bits.
</p></td>
4504 <td class=
"name"><code>v6
</code></td>
4510 <span class=
"param-type">boolean
</span>
4517 <td class=
"default">
4524 <td class=
"description last">
4527 <span class=
"optional">optional
</span>
4533 <p>Whether to convert the bits value into an IPv4 netmask (
<code>false
</code>) or
4534 an IPv6 netmask (
<code>true
</code>).
</p></td>
4543 <dl class=
"details">
4581 <table class=
"params">
4586 <th class=
"last">Description
</th>
4602 <td class=
"description last">Returns a string containing the netmask corresponding to the bit count
4603 or
<code>null
</code> when the given amount of bits exceeds the maximum possible
4604 value of
<code>32</code> for IPv4 or
<code>128</code> for IPv6.
</td>
4618 <div class=
"nameContainer">
4619 <h4 class=
"name" id=
"registerErrorCode">
4621 registerErrorCode
<span class=
"signature">(code, message)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4625 <div class=
"tag-source">
4626 network.js, line
870
4636 <div class=
"description">
4637 <p>Registers a new human readable translation string for a
<code>Protocol
</code>
4649 <table class=
"params">
4660 <th class=
"last">Description
</th>
4669 <td class=
"name"><code>code
</code></td>
4675 <span class=
"param-type">string
</span>
4683 <td class=
"description last">
4685 <p>The
<code>ubus
</code> protocol error code to register a translation for, e.g.
4686 <code>NO_DEVICE
</code>.
</p></td>
4693 <td class=
"name"><code>message
</code></td>
4699 <span class=
"param-type">string
</span>
4707 <td class=
"description last">
4709 <p>The message to use as translation for the given protocol error code.
</p></td>
4718 <dl class=
"details">
4756 <table class=
"params">
4761 <th class=
"last">Description
</th>
4774 <td class=
"description last">Returns
<code>true
</code> if the error code description has been added or
<code>false
</code>
4775 if either the arguments were invalid or if there already was a
4776 description for the given code.
</td>
4790 <div class=
"nameContainer">
4791 <h4 class=
"name" id=
"registerPatternVirtual">
4793 registerPatternVirtual
<span class=
"signature">(pat)
</span>
4797 <div class=
"tag-source">
4798 network.js, line
850
4808 <div class=
"description">
4809 <p>Registers a new regular expression pattern to recognize
4810 virtual interfaces.
</p>
4821 <table class=
"params">
4832 <th class=
"last">Description
</th>
4841 <td class=
"name"><code>pat
</code></td>
4847 <span class=
"param-type">RegExp
</span>
4855 <td class=
"description last">
4857 <p>A
<code>RegExp
</code> instance to match a virtual interface name
4858 such as
<code>6in4-wan
</code> or
<code>tun0
</code>.
</p></td>
4867 <dl class=
"details">
4908 <div class=
"nameContainer">
4909 <h4 class=
"name" id=
"registerProtocol">
4911 registerProtocol
<span class=
"signature">(protoname, methods)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>}
</span>
4915 <div class=
"tag-source">
4916 network.js, line
809
4926 <div class=
"description">
4927 <p>Registers a new
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass
4928 with the given methods and returns the resulting subclass value.
</p>
4929 <p>This functions internally calls
4930 <a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a> on the
<code>Network.Protocol
</code>
4942 <table class=
"params">
4953 <th class=
"last">Description
</th>
4962 <td class=
"name"><code>protoname
</code></td>
4968 <span class=
"param-type">string
</span>
4976 <td class=
"description last">
4978 <p>The name of the new protocol to register.
</p></td>
4985 <td class=
"name"><code>methods
</code></td>
4991 <span class=
"param-type">Object.
<string, *
></span>
4999 <td class=
"description last">
5001 <p>The member methods and values of the new
<code>Protocol
</code> subclass to
5002 be passed to
<a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a>.
</p></td>
5011 <dl class=
"details">
5049 <table class=
"params">
5054 <th class=
"last">Description
</th>
5063 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
5067 <td class=
"description last">Returns the new
<code>Protocol
</code> subclass.
</td>
5081 <div class=
"nameContainer">
5082 <h4 class=
"name" id=
"renameNetwork">
5084 renameNetwork
<span class=
"signature">(oldName, newName)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
5088 <div class=
"tag-source">
5089 network.js, line
1043
5099 <div class=
"description">
5100 <p>Rename the given network and its references to a new name.
</p>
5111 <table class=
"params">
5122 <th class=
"last">Description
</th>
5131 <td class=
"name"><code>oldName
</code></td>
5137 <span class=
"param-type">string
</span>
5145 <td class=
"description last">
5147 <p>The current name of the network.
</p></td>
5154 <td class=
"name"><code>newName
</code></td>
5160 <span class=
"param-type">string
</span>
5168 <td class=
"description last">
5170 <p>The name to rename the network to, must be in the format
5171 <code>[a-z-A-Z0-
9_]+
</code>.
</p></td>
5180 <dl class=
"details">
5218 <table class=
"params">
5223 <th class=
"last">Description
</th>
5232 Promise.
<boolean
>
5236 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network was
5237 successfully renamed or
<code>false
</code> if the new name was invalid, if
5238 a network with the new name already exists or if the network to
5239 rename could not be found.
</td>
5254 <h3 class=
"subsection-title">Type Definitions
</h3>
5259 <div class=
"nameContainer">
5260 <h4 class=
"name" id=
".SwitchTopology">LuCI.Network.SwitchTopology
<span class=
"type-signature type object.<string, (object|array)>">Object.
<string, (Object|Array)
></span> </h4>
5267 <div class=
"description">
5268 <p>Describes an swconfig switch topology by specifying the CPU
5269 connections and external port labels of a switch.
</p>
5274 <dl class=
"details">
5277 <h5 class=
"subsection-title">Properties:
</h5>
5281 <table class=
"props">
5294 <th class=
"last">Description
</th>
5303 <td class=
"name"><code>netdevs
</code></td>
5309 <span class=
"param-type">Object.
<number, string
></span>
5319 <td class=
"description last"><p>The
<code>netdevs
</code> property points to an object describing the CPU port
5320 connections of the switch. The numeric key of the enclosed object is
5321 the port number, the value contains the Linux network device name the
5322 port is hardwired to.
</p></td>
5329 <td class=
"name"><code>ports
</code></td>
5335 <span class=
"param-type">Array.
<Object.
<string, (boolean|number|string)
>></span>
5345 <td class=
"description last"><p>The
<code>ports
</code> property points to an array describing the populated
5346 ports of the switch in the external label order. Each array item is
5347 an object containg the following keys:
</p>
5349 <li><code>num
</code> - the internal switch port number
</li>
5350 <li><code>label
</code> - the label of the port, e.g.
<code>LAN
1</code> or
<code>CPU (eth0)
</code></li>
5351 <li><code>device
</code> - the connected Linux network device name (CPU ports only)
</li>
5352 <li><code>tagged
</code> - a boolean indicating whether the port must be tagged to
5353 function (CPU ports only)
</li>
5391 <div class=
"nameContainer">
5392 <h4 class=
"name" id=
".WifiEncryption">LuCI.Network.WifiEncryption
<span class=
"type-signature type object.<string, (boolean|array.<(number|string)>)>">Object.
<string, (boolean|Array.
<(number|string)
>)
></span> </h4>
5399 <div class=
"description">
5400 <p>An encryption entry describes active wireless encryption settings
5401 such as the used key management protocols, active ciphers and
5402 protocol versions.
</p>
5407 <dl class=
"details">
5410 <h5 class=
"subsection-title">Properties:
</h5>
5414 <table class=
"props">
5429 <th class=
"last">Description
</th>
5438 <td class=
"name"><code>enabled
</code></td>
5444 <span class=
"param-type">boolean
</span>
5451 <td class=
"attributes">
5460 <td class=
"description last"><p>Specifies whether any kind of encryption, such as
<code>WEP
</code> or
<code>WPA
</code> is
5461 enabled. If set to
<code>false
</code>, then no encryption is active and the
5462 corresponding network is open.
</p></td>
5469 <td class=
"name"><code>wep
</code></td>
5475 <span class=
"param-type">Array.
<string
></span>
5482 <td class=
"attributes">
5493 <td class=
"description last"><p>When the
<code>wep
</code> property exists, the network uses WEP encryption.
5494 In this case, the property is set to an array of active WEP modes
5495 which might be either
<code>open
</code>,
<code>shared
</code> or both.
</p></td>
5502 <td class=
"name"><code>wpa
</code></td>
5508 <span class=
"param-type">Array.
<number
></span>
5515 <td class=
"attributes">
5526 <td class=
"description last"><p>When the
<code>wpa
</code> property exists, the network uses WPA security.
5527 In this case, the property is set to an array containing the WPA
5528 protocol versions used, e.g.
<code>[
1,
2 ]
</code> for WPA/WPA2 mixed mode or
5529 <code>[
3 ]
</code> for WPA3-SAE.
</p></td>
5536 <td class=
"name"><code>authentication
</code></td>
5542 <span class=
"param-type">Array.
<string
></span>
5549 <td class=
"attributes">
5560 <td class=
"description last"><p>The
<code>authentication
</code> property only applies to WPA encryption and
5561 is defined when the
<code>wpa
</code> property is set as well. It points to
5562 an array of active authentication suites used by the network, e.g.
5563 <code>[
"psk
" ]
</code> for a WPA(
2)-PSK network or
<code>[
"psk
",
"sae
" ]
</code> for
5564 mixed WPA2-PSK/WPA3-SAE encryption.
</p></td>
5571 <td class=
"name"><code>ciphers
</code></td>
5577 <span class=
"param-type">Array.
<string
></span>
5584 <td class=
"attributes">
5595 <td class=
"description last"><p>If either WEP or WPA encryption is active, then the
<code>ciphers
</code>
5596 property will be set to an array describing the active encryption
5597 ciphers used by the network, e.g.
<code>[
"tkip
",
"ccmp
" ]
</code> for a
5598 WPA/WPA2-PSK mixed network or
<code>[
"wep-
40",
"wep-
104" ]
</code> for an
5599 WEP network.
</p></td>
5636 <div class=
"nameContainer">
5637 <h4 class=
"name" id=
".WifiPeerEntry">LuCI.Network.WifiPeerEntry
<span class=
"type-signature type object.<string, (boolean|number|string|luci.network.wifirateentry)>">Object.
<string, (boolean|number|string|
<a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a>)
></span> </h4>
5644 <div class=
"description">
5645 <p>A wireless peer entry describes the properties of a remote wireless
5646 peer associated with a local network.
</p>
5651 <dl class=
"details">
5654 <h5 class=
"subsection-title">Properties:
</h5>
5658 <table class=
"props">
5673 <th class=
"last">Description
</th>
5682 <td class=
"name"><code>mac
</code></td>
5688 <span class=
"param-type">string
</span>
5695 <td class=
"attributes">
5704 <td class=
"description last"><p>The MAC address (BSSID).
</p></td>
5711 <td class=
"name"><code>signal
</code></td>
5717 <span class=
"param-type">number
</span>
5724 <td class=
"attributes">
5733 <td class=
"description last"><p>The received signal strength.
</p></td>
5740 <td class=
"name"><code>signal_avg
</code></td>
5746 <span class=
"param-type">number
</span>
5753 <td class=
"attributes">
5764 <td class=
"description last"><p>The average signal strength if supported by the driver.
</p></td>
5771 <td class=
"name"><code>noise
</code></td>
5777 <span class=
"param-type">number
</span>
5784 <td class=
"attributes">
5795 <td class=
"description last"><p>The current noise floor of the radio. May be
<code>0</code> or absent if not
5796 supported by the driver.
</p></td>
5803 <td class=
"name"><code>inactive
</code></td>
5809 <span class=
"param-type">number
</span>
5816 <td class=
"attributes">
5825 <td class=
"description last"><p>The amount of milliseconds the peer has been inactive, e.g. due
5826 to powersave.
</p></td>
5833 <td class=
"name"><code>connected_time
</code></td>
5839 <span class=
"param-type">number
</span>
5846 <td class=
"attributes">
5855 <td class=
"description last"><p>The amount of milliseconds the peer is associated to this network.
</p></td>
5862 <td class=
"name"><code>thr
</code></td>
5868 <span class=
"param-type">number
</span>
5875 <td class=
"attributes">
5886 <td class=
"description last"><p>The estimated throughput of the peer, May be
<code>0</code> or absent if not
5887 supported by the driver.
</p></td>
5894 <td class=
"name"><code>authorized
</code></td>
5900 <span class=
"param-type">boolean
</span>
5907 <td class=
"attributes">
5916 <td class=
"description last"><p>Specifies whether the peer is authorized to associate to this network.
</p></td>
5923 <td class=
"name"><code>authenticated
</code></td>
5929 <span class=
"param-type">boolean
</span>
5936 <td class=
"attributes">
5945 <td class=
"description last"><p>Specifies whether the peer completed authentication to this network.
</p></td>
5952 <td class=
"name"><code>preamble
</code></td>
5958 <span class=
"param-type">string
</span>
5965 <td class=
"attributes">
5974 <td class=
"description last"><p>The preamble mode used by the peer. May be
<code>long
</code> or
<code>short
</code>.
</p></td>
5981 <td class=
"name"><code>wme
</code></td>
5987 <span class=
"param-type">boolean
</span>
5994 <td class=
"attributes">
6003 <td class=
"description last"><p>Specifies whether the peer supports WME/WMM capabilities.
</p></td>
6010 <td class=
"name"><code>mfp
</code></td>
6016 <span class=
"param-type">boolean
</span>
6023 <td class=
"attributes">
6032 <td class=
"description last"><p>Specifies whether management frame protection is active.
</p></td>
6039 <td class=
"name"><code>tdls
</code></td>
6045 <span class=
"param-type">boolean
</span>
6052 <td class=
"attributes">
6061 <td class=
"description last"><p>Specifies whether TDLS is active.
</p></td>
6068 <td class=
"name"><code>mesh llid
</code></td>
6074 <span class=
"param-type">number
</span>
6081 <td class=
"attributes">
6092 <td class=
"description last"><p>The mesh LLID, may be
<code>0</code> or absent if not applicable or supported
6093 by the driver.
</p></td>
6100 <td class=
"name"><code>mesh plid
</code></td>
6106 <span class=
"param-type">number
</span>
6113 <td class=
"attributes">
6124 <td class=
"description last"><p>The mesh PLID, may be
<code>0</code> or absent if not applicable or supported
6125 by the driver.
</p></td>
6132 <td class=
"name"><code>mesh plink
</code></td>
6138 <span class=
"param-type">string
</span>
6145 <td class=
"attributes">
6156 <td class=
"description last"><p>The mesh peer link state description, may be an empty string (
<code>''
</code>)
6157 or absent if not applicable or supported by the driver.
</p>
6158 <p>The following states are known:
</p>
6160 <li><code>LISTEN
</code></li>
6161 <li><code>OPN_SNT
</code></li>
6162 <li><code>OPN_RCVD
</code></li>
6163 <li><code>CNF_RCVD
</code></li>
6164 <li><code>ESTAB
</code></li>
6165 <li><code>HOLDING
</code></li>
6166 <li><code>BLOCKED
</code></li>
6167 <li><code>UNKNOWN
</code></li>
6175 <td class=
"name"><code>mesh local PS
</code></td>
6181 <span class=
"param-type">number
</span>
6188 <td class=
"attributes">
6199 <td class=
"description last"><p>The local powersafe mode for the peer link, may be an empty
6200 string (
<code>''
</code>) or absent if not applicable or supported by
6202 <p>The following modes are known:
</p>
6204 <li><code>ACTIVE
</code> (no power save)
</li>
6205 <li><code>LIGHT SLEEP
</code></li>
6206 <li><code>DEEP SLEEP
</code></li>
6207 <li><code>UNKNOWN
</code></li>
6215 <td class=
"name"><code>mesh peer PS
</code></td>
6221 <span class=
"param-type">number
</span>
6228 <td class=
"attributes">
6239 <td class=
"description last"><p>The remote powersafe mode for the peer link, may be an empty
6240 string (
<code>''
</code>) or absent if not applicable or supported by
6242 <p>The following modes are known:
</p>
6244 <li><code>ACTIVE
</code> (no power save)
</li>
6245 <li><code>LIGHT SLEEP
</code></li>
6246 <li><code>DEEP SLEEP
</code></li>
6247 <li><code>UNKNOWN
</code></li>
6255 <td class=
"name"><code>mesh non-peer PS
</code></td>
6261 <span class=
"param-type">number
</span>
6268 <td class=
"attributes">
6279 <td class=
"description last"><p>The powersafe mode for all non-peer neigbours, may be an empty
6280 string (
<code>''
</code>) or absent if not applicable or supported by the driver.
</p>
6281 <p>The following modes are known:
</p>
6283 <li><code>ACTIVE
</code> (no power save)
</li>
6284 <li><code>LIGHT SLEEP
</code></li>
6285 <li><code>DEEP SLEEP
</code></li>
6286 <li><code>UNKNOWN
</code></li>
6294 <td class=
"name"><code>rx
</code></td>
6300 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6307 <td class=
"attributes">
6316 <td class=
"description last"><p>Describes the receiving wireless rate from the peer.
</p></td>
6323 <td class=
"name"><code>tx
</code></td>
6329 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6336 <td class=
"attributes">
6345 <td class=
"description last"><p>Describes the transmitting wireless rate to the peer.
</p></td>
6382 <div class=
"nameContainer">
6383 <h4 class=
"name" id=
".WifiRateEntry">LuCI.Network.WifiRateEntry
<span class=
"type-signature type object.<string, (boolean|number)>">Object.
<string, (boolean|number)
></span> </h4>
6390 <div class=
"description">
6391 <p>A wireless rate entry describes the properties of a wireless
6392 transmission rate to or from a peer.
</p>
6397 <dl class=
"details">
6400 <h5 class=
"subsection-title">Properties:
</h5>
6404 <table class=
"props">
6419 <th class=
"last">Description
</th>
6428 <td class=
"name"><code>drop_misc
</code></td>
6434 <span class=
"param-type">number
</span>
6441 <td class=
"attributes">
6452 <td class=
"description last"><p>The amount of received misc. packages that have been dropped, e.g.
6453 due to corruption or missing authentication. Only applicable to
6454 receiving rates.
</p></td>
6461 <td class=
"name"><code>packets
</code></td>
6467 <span class=
"param-type">number
</span>
6474 <td class=
"attributes">
6483 <td class=
"description last"><p>The amount of packets that have been received or sent.
</p></td>
6490 <td class=
"name"><code>bytes
</code></td>
6496 <span class=
"param-type">number
</span>
6503 <td class=
"attributes">
6512 <td class=
"description last"><p>The amount of bytes that have been received or sent.
</p></td>
6519 <td class=
"name"><code>failed
</code></td>
6525 <span class=
"param-type">number
</span>
6532 <td class=
"attributes">
6543 <td class=
"description last"><p>The amount of failed tranmission attempts. Only applicable to
6544 transmit rates.
</p></td>
6551 <td class=
"name"><code>retries
</code></td>
6557 <span class=
"param-type">number
</span>
6564 <td class=
"attributes">
6575 <td class=
"description last"><p>The amount of retried transmissions. Only applicable to transmit
6583 <td class=
"name"><code>is_ht
</code></td>
6589 <span class=
"param-type">boolean
</span>
6596 <td class=
"attributes">
6605 <td class=
"description last"><p>Specifies whether this rate is an HT (IEEE
802.11n) rate.
</p></td>
6612 <td class=
"name"><code>is_vht
</code></td>
6618 <span class=
"param-type">boolean
</span>
6625 <td class=
"attributes">
6634 <td class=
"description last"><p>Specifies whether this rate is an VHT (IEEE
802.11ac) rate.
</p></td>
6641 <td class=
"name"><code>mhz
</code></td>
6647 <span class=
"param-type">number
</span>
6654 <td class=
"attributes">
6663 <td class=
"description last"><p>The channel width in MHz used for the transmission.
</p></td>
6670 <td class=
"name"><code>rate
</code></td>
6676 <span class=
"param-type">number
</span>
6683 <td class=
"attributes">
6692 <td class=
"description last"><p>The bitrate in bit/s of the transmission.
</p></td>
6699 <td class=
"name"><code>mcs
</code></td>
6705 <span class=
"param-type">number
</span>
6712 <td class=
"attributes">
6723 <td class=
"description last"><p>The MCS index of the used transmission rate. Only applicable to
6724 HT or VHT rates.
</p></td>
6731 <td class=
"name"><code>40mhz
</code></td>
6737 <span class=
"param-type">number
</span>
6744 <td class=
"attributes">
6755 <td class=
"description last"><p>Specifies whether the tranmission rate used
40MHz wide channel.
6756 Only applicable to HT or VHT rates.
</p>
6757 <p>Note: this option exists for backwards compatibility only and its
6758 use is discouraged. The
<code>mhz
</code> field should be used instead to
6759 determine the channel width.
</p></td>
6766 <td class=
"name"><code>short_gi
</code></td>
6772 <span class=
"param-type">boolean
</span>
6779 <td class=
"attributes">
6790 <td class=
"description last"><p>Specifies whether a short guard interval is used for the transmission.
6791 Only applicable to HT or VHT rates.
</p></td>
6798 <td class=
"name"><code>nss
</code></td>
6804 <span class=
"param-type">number
</span>
6811 <td class=
"attributes">
6822 <td class=
"description last"><p>Specifies the number of spatial streams used by the transmission.
6823 Only applicable to VHT rates.
</p></td>
6860 <div class=
"nameContainer">
6861 <h4 class=
"name" id=
".WifiScanResult">LuCI.Network.WifiScanResult
<span class=
"type-signature type object.<string, (number|string|luci.network.wifiencryption)>">Object.
<string, (number|string|
<a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a>)
></span> </h4>
6868 <div class=
"description">
6869 <p>A wireless scan result object describes a neighbouring wireless
6870 network found in the vincinity.
</p>
6875 <dl class=
"details">
6878 <h5 class=
"subsection-title">Properties:
</h5>
6882 <table class=
"props">
6895 <th class=
"last">Description
</th>
6904 <td class=
"name"><code>ssid
</code></td>
6910 <span class=
"param-type">string
</span>
6920 <td class=
"description last"><p>The SSID / Mesh ID of the network.
</p></td>
6927 <td class=
"name"><code>bssid
</code></td>
6933 <span class=
"param-type">string
</span>
6943 <td class=
"description last"><p>The BSSID if the network.
</p></td>
6950 <td class=
"name"><code>mode
</code></td>
6956 <span class=
"param-type">string
</span>
6966 <td class=
"description last"><p>The operation mode of the network (
<code>Master
</code>,
<code>Ad-Hoc
</code>,
<code>Mesh Point
</code>).
</p></td>
6973 <td class=
"name"><code>channel
</code></td>
6979 <span class=
"param-type">number
</span>
6989 <td class=
"description last"><p>The wireless channel of the network.
</p></td>
6996 <td class=
"name"><code>signal
</code></td>
7002 <span class=
"param-type">number
</span>
7012 <td class=
"description last"><p>The received signal strength of the network in dBm.
</p></td>
7019 <td class=
"name"><code>quality
</code></td>
7025 <span class=
"param-type">number
</span>
7035 <td class=
"description last"><p>The numeric quality level of the signal, can be used in conjunction
7036 with
<code>quality_max
</code> to calculate a quality percentage.
</p></td>
7043 <td class=
"name"><code>quality_max
</code></td>
7049 <span class=
"param-type">number
</span>
7059 <td class=
"description last"><p>The maximum possible quality level of the signal, can be used in
7060 conjunction with
<code>quality
</code> to calculate a quality percentage.
</p></td>
7067 <td class=
"name"><code>encryption
</code></td>
7073 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
7083 <td class=
"description last"><p>The encryption used by the wireless network.
</p></td>
7134 Documentation generated by
<a target=
"_blank" href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.3</a> on Thu Nov
07 2019 12:
20:
51 GMT+
0100 (Central European Standard Time)
7138 <script>prettyPrint();
</script>
7139 <script src=
"scripts/jaguar.js"></script>