5 <title>Class: WifiNetwork</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":{"outputSourceFiles":true}};
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.WifiNetwork.html">Class: WifiNetwork</h1>
1081 <span class="ancestors"><a href="LuCI.html">LuCI</a><a href="LuCI.Network.html">.Network</a>.</span>
1086 <div class="class-description"><p>A <code>Network.WifiNetwork</code> instance represents a wireless network (vif)
1087 configured on top of a radio device and provides functions for querying
1088 the runtime state of the network. Most radio devices support multiple
1089 such networks in parallel.</p></div>
1094 <div class="container-overview">
1100 <div class="nameContainer">
1101 <h4 class="name" id="WifiNetwork">
1103 new LuCI.Network.WifiNetwork<span class="signature">()</span>
1107 <div class="tag-source">
1108 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3337">line 3337</a>
1126 <dl class="details">
1180 <h3 class="subsection-title">Methods</h3>
1185 <div class="nameContainer">
1186 <h4 class="name" id="disconnectClient">
1188 disconnectClient<span class="signature">(mac, <span class="optional">deauth</span>, <span class="optional">reason</span>, <span class="optional">ban_time</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<number>}</span>
1192 <div class="tag-source">
1193 <a href="network.js.html">network.js</a>, <a href="network.js.html#line4080">line 4080</a>
1203 <div class="description">
1204 <p>Forcibly disconnect the given client from the wireless network.</p>
1215 <table class="params">
1228 <th class="last">Description</th>
1237 <td class="name"><code>mac</code></td>
1243 <span class="param-type">string</span>
1250 <td class="default">
1255 <td class="description last">
1262 <p>The MAC address of the client to disconnect.</p></td>
1269 <td class="name"><code>deauth</code></td>
1275 <span class="param-type">boolean</span>
1282 <td class="default">
1289 <td class="description last">
1292 <span class="optional">optional</span>
1298 <p>Specifies whether to deauthenticate (<code>true</code>) or disassociate (<code>false</code>)
1299 the client.</p></td>
1306 <td class="name"><code>reason</code></td>
1312 <span class="param-type">number</span>
1319 <td class="default">
1326 <td class="description last">
1329 <span class="optional">optional</span>
1335 <p>Specifies the IEEE 802.11 reason code to disassoc/deauth the client
1336 with. Default is <code>1</code> which corresponds to <code>Unspecified reason</code>.</p></td>
1343 <td class="name"><code>ban_time</code></td>
1349 <span class="param-type">number</span>
1356 <td class="default">
1363 <td class="description last">
1366 <span class="optional">optional</span>
1372 <p>Specifies the amount of milliseconds to ban the client from
1373 reconnecting. By default, no ban time is set which allows the client
1374 to reassociate / reauthenticate immediately.</p></td>
1383 <dl class="details">
1421 <table class="params">
1426 <th class="last">Description</th>
1439 <td class="description last">Returns a promise resolving to the underlying ubus call result code
1440 which is typically <code>0</code>, even for not existing MAC addresses.
1441 The promise might reject with an error in case invalid arguments
1456 <div class="nameContainer">
1457 <h4 class="name" id="get">
1459 get<span class="signature">(opt)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.<string>}</span>
1463 <div class="tag-source">
1464 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3371">line 3371</a>
1474 <div class="description">
1475 <p>Read the given UCI option value of this wireless network.</p>
1486 <table class="params">
1497 <th class="last">Description</th>
1506 <td class="name"><code>opt</code></td>
1512 <span class="param-type">string</span>
1520 <td class="description last">
1522 <p>The UCI option name to read.</p></td>
1531 <dl class="details">
1569 <table class="params">
1574 <th class="last">Description</th>
1593 <td class="description last">Returns the UCI option value or <code>null</code> if the requested option is
1608 <div class="nameContainer">
1609 <h4 class="name" id="getActiveBSSID">
1611 getActiveBSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1615 <div class="tag-source">
1616 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3624">line 3624</a>
1626 <div class="description">
1627 <p>Query the current BSSID from runtime information.</p>
1638 <dl class="details">
1676 <table class="params">
1681 <th class="last">Description</th>
1694 <td class="description last">Returns the current BSSID or Mesh ID as reported by <code>ubus</code> runtime
1709 <div class="nameContainer">
1710 <h4 class="name" id="getActiveEncryption">
1712 getActiveEncryption<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1716 <div class="tag-source">
1717 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3635">line 3635</a>
1727 <div class="description">
1728 <p>Query the current encryption settings from runtime information.</p>
1739 <dl class="details">
1777 <table class="params">
1782 <th class="last">Description</th>
1795 <td class="description last">Returns a string describing the current encryption or <code>-</code> if the the
1796 encryption state could not be found in <code>ubus</code> runtime information.</td>
1810 <div class="nameContainer">
1811 <h4 class="name" id="getActiveMode">
1813 getActiveMode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1817 <div class="tag-source">
1818 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3572">line 3572</a>
1828 <div class="description">
1829 <p>Query the current operation mode from runtime information.</p>
1840 <dl class="details">
1878 <table class="params">
1883 <th class="last">Description</th>
1896 <td class="description last">Returns the human readable mode name as reported by <code>ubus</code> runtime
1897 state. Possible returned values are:
1899 <li><code>Master</code></li>
1900 <li><code>Ad-Hoc</code></li>
1901 <li><code>Client</code></li>
1902 <li><code>Monitor</code></li>
1903 <li><code>Master (VLAN)</code></li>
1904 <li><code>WDS</code></li>
1905 <li><code>Mesh Point</code></li>
1906 <li><code>P2P Client</code></li>
1907 <li><code>P2P Go</code></li>
1908 <li><code>Unknown</code></li>
1923 <div class="nameContainer">
1924 <h4 class="name" id="getActiveModeI18n">
1926 getActiveModeI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1930 <div class="tag-source">
1931 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3593">line 3593</a>
1941 <div class="description">
1942 <p>Query the current operation mode from runtime information as
1943 translated string.</p>
1954 <dl class="details">
1992 <table class="params">
1997 <th class="last">Description</th>
2010 <td class="description last">Returns the translated, human readable mode name as reported by
2011 <code>ubus</code> runtime state.</td>
2025 <div class="nameContainer">
2026 <h4 class="name" id="getActiveSSID">
2028 getActiveSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2032 <div class="tag-source">
2033 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3613">line 3613</a>
2043 <div class="description">
2044 <p>Query the current SSID from runtime information.</p>
2055 <dl class="details">
2093 <table class="params">
2098 <th class="last">Description</th>
2111 <td class="description last">Returns the current SSID or Mesh ID as reported by <code>ubus</code> runtime
2126 <div class="nameContainer">
2127 <h4 class="name" id="getAssocList">
2129 getAssocList<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.Network.html#.WifiPeerEntry">LuCI.Network.WifiPeerEntry</a>>>}</span>
2133 <div class="tag-source">
2134 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3815">line 3815</a>
2144 <div class="description">
2145 <p>Fetch the list of associated peers.</p>
2156 <dl class="details">
2194 <table class="params">
2199 <th class="last">Description</th>
2208 Promise.<Array.<<a href="LuCI.Network.html#.WifiPeerEntry">LuCI.Network.WifiPeerEntry</a>>>
2212 <td class="description last">Returns a promise resolving to an array of wireless peers associated
2213 with this network.</td>
2227 <div class="nameContainer">
2228 <h4 class="name" id="getBitRate">
2230 getBitRate<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
2234 <div class="tag-source">
2235 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3845">line 3845</a>
2245 <div class="description">
2246 <p>Query the current average bitrate of all peers associated to this
2247 wireless network.</p>
2258 <dl class="details">
2296 <table class="params">
2301 <th class="last">Description</th>
2317 <td class="description last">Returns the average bit rate among all peers associated to the network
2318 as reported by <code>ubus</code> runtime information or <code>null</code> if the information
2319 is not available.</td>
2333 <div class="nameContainer">
2334 <h4 class="name" id="getBSSID">
2336 getBSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2340 <div class="tag-source">
2341 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3450">line 3450</a>
2351 <div class="description">
2352 <p>Get the configured BSSID of the wireless network.</p>
2363 <dl class="details">
2401 <table class="params">
2406 <th class="last">Description</th>
2422 <td class="description last">Returns the BSSID value or <code>null</code> if none has been specified.</td>
2436 <div class="nameContainer">
2437 <h4 class="name" id="getChannel">
2439 getChannel<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
2443 <div class="tag-source">
2444 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3861">line 3861</a>
2454 <div class="description">
2455 <p>Query the current wireless channel.</p>
2466 <dl class="details">
2504 <table class="params">
2509 <th class="last">Description</th>
2525 <td class="description last">Returns the wireless channel as reported by <code>ubus</code> runtime information
2526 or <code>null</code> if it cannot be determined.</td>
2540 <div class="nameContainer">
2541 <h4 class="name" id="getCountryCode">
2543 getCountryCode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2547 <div class="tag-source">
2548 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3894">line 3894</a>
2558 <div class="description">
2559 <p>Query the current country code.</p>
2570 <dl class="details">
2608 <table class="params">
2613 <th class="last">Description</th>
2626 <td class="description last">Returns the wireless country code as reported by <code>ubus</code> runtime
2627 information or <code>00</code> if it cannot be determined.</td>
2641 <div class="nameContainer">
2642 <h4 class="name" id="getDevice">
2644 getDevice<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="LuCI.Network.Device.html">LuCI.Network.Device</a>}</span>
2648 <div class="tag-source">
2649 <a href="network.js.html">network.js</a>, <a href="network.js.html#line4040">line 4040</a>
2659 <div class="description">
2660 <p>Get the associated Linux network device.</p>
2671 <dl class="details">
2709 <table class="params">
2714 <th class="last">Description</th>
2723 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
2727 <td class="description last">Returns a <code>Network.Device</code> instance representing the Linux network
2728 device associted with this wireless network.</td>
2742 <div class="nameContainer">
2743 <h4 class="name" id="getFrequency">
2745 getFrequency<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2749 <div class="tag-source">
2750 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3827">line 3827</a>
2760 <div class="description">
2761 <p>Query the current operating frequency of the wireless network.</p>
2772 <dl class="details">
2810 <table class="params">
2815 <th class="last">Description</th>
2831 <td class="description last">Returns the current operating frequency of the network from <code>ubus</code>
2832 runtime information in GHz or <code>null</code> if the information is not
2847 <div class="nameContainer">
2848 <h4 class="name" id="getI18n">
2850 getI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2854 <div class="tag-source">
2855 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3988">line 3988</a>
2865 <div class="description">
2866 <p>Get a description string for this wireless network.</p>
2877 <dl class="details">
2915 <table class="params">
2920 <th class="last">Description</th>
2933 <td class="description last">Returns a string describing this network, consisting of the
2934 term <code>Wireless Network</code>, followed by the active operation mode,
2935 the SSID, BSSID or internal network ID and the Linux network device
2936 name, depending on which information is available.</td>
2950 <div class="nameContainer">
2951 <h4 class="name" id="getID">
2953 getID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2957 <div class="tag-source">
2958 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3475">line 3475</a>
2968 <div class="description">
2969 <p>Get the internal network ID of this wireless network.</p>
2970 <p>The network ID is a LuCI specific identifer in the form
2971 <code>radio#.network#</code> to identify wireless networks by their corresponding
2972 radio and network index numbers.</p>
2983 <dl class="details">
3021 <table class="params">
3026 <th class="last">Description</th>
3039 <td class="description last">Returns the LuCI specific network ID.</td>
3053 <div class="nameContainer">
3054 <h4 class="name" id="getIfname">
3056 getIfname<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
3060 <div class="tag-source">
3061 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3497">line 3497</a>
3071 <div class="description">
3072 <p>Get the Linux network device name.</p>
3083 <dl class="details">
3121 <table class="params">
3126 <th class="last">Description</th>
3142 <td class="description last">Returns the current Linux network device name as resolved from
3143 <code>ubus</code> runtime information or <code>null</code> if this network has no
3144 associated network device, e.g. when not configured or up.</td>
3158 <div class="nameContainer">
3159 <h4 class="name" id="getMeshID">
3161 getMeshID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
3165 <div class="tag-source">
3166 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3437">line 3437</a>
3176 <div class="description">
3177 <p>Get the configured Mesh ID of the wireless network.</p>
3188 <dl class="details">
3226 <table class="params">
3231 <th class="last">Description</th>
3247 <td class="description last">Returns the configured mesh ID value or <code>null</code> when this network
3248 is not in mesh mode.</td>
3262 <div class="nameContainer">
3263 <h4 class="name" id="getMode">
3265 getMode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3269 <div class="tag-source">
3270 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3412">line 3412</a>
3280 <div class="description">
3281 <p>Get the configured operation mode of the wireless network.</p>
3292 <dl class="details">
3330 <table class="params">
3335 <th class="last">Description</th>
3348 <td class="description last">Returns the configured operation mode. Possible values are:
3350 <li><code>ap</code> - Master (Access Point) mode</li>
3351 <li><code>sta</code> - Station (client) mode</li>
3352 <li><code>adhoc</code> - Ad-Hoc (IBSS) mode</li>
3353 <li><code>mesh</code> - Mesh (IEEE 802.11s) mode</li>
3354 <li><code>monitor</code> - Monitor mode</li>
3369 <div class="nameContainer">
3370 <h4 class="name" id="getName">
3372 getName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3376 <div class="tag-source">
3377 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3485">line 3485</a>
3387 <div class="description">
3388 <p>Get the configuration ID of this wireless network.</p>
3399 <dl class="details">
3437 <table class="params">
3442 <th class="last">Description</th>
3455 <td class="description last">Returns the corresponding UCI section ID of the network.</td>
3469 <div class="nameContainer">
3470 <h4 class="name" id="getNetwork">
3472 getNetwork<span class="signature">()</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>
3476 <div class="tag-source">
3477 <a href="network.js.html">network.js</a>, <a href="network.js.html#line4004">line 4004</a>
3487 <div class="description">
3488 <p>Get the primary logical interface this wireless network is attached to.</p>
3499 <dl class="details">
3537 <table class="params">
3542 <th class="last">Description</th>
3554 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
3558 <td class="description last">Returns a <code>Network.Protocol</code> instance representing the logical
3559 interface or <code>null</code> if this network is not attached to any logical
3574 <div class="nameContainer">
3575 <h4 class="name" id="getNetworkNames">
3577 getNetworkNames<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.<string>}</span>
3581 <div class="tag-source">
3582 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3461">line 3461</a>
3592 <div class="description">
3593 <p>Get the names of the logical interfaces this wireless network is
3605 <dl class="details">
3643 <table class="params">
3648 <th class="last">Description</th>
3661 <td class="description last">Returns an array of logical interface names.</td>
3675 <div class="nameContainer">
3676 <h4 class="name" id="getNetworks">
3678 getNetworks<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>
3682 <div class="tag-source">
3683 <a href="network.js.html">network.js</a>, <a href="network.js.html#line4015">line 4015</a>
3693 <div class="description">
3694 <p>Get the logical interfaces this wireless network is attached to.</p>
3705 <dl class="details">
3743 <table class="params">
3748 <th class="last">Description</th>
3757 Array.<<a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>>
3761 <td class="description last">Returns an array of <code>Network.Protocol</code> instances representing the
3762 logical interfaces this wireless network is attached to.</td>
3776 <div class="nameContainer">
3777 <h4 class="name" id="getNoise">
3779 getNoise<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
3783 <div class="tag-source">
3784 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3883">line 3883</a>
3794 <div class="description">
3795 <p>Query the current radio noise floor.</p>
3806 <dl class="details">
3844 <table class="params">
3849 <th class="last">Description</th>
3862 <td class="description last">Returns the radio noise floor in dBm as reported by <code>ubus</code> runtime
3863 information or <code>0</code> if it cannot be determined.</td>
3877 <div class="nameContainer">
3878 <h4 class="name" id="getShortName">
3880 getShortName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3884 <div class="tag-source">
3885 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3973">line 3973</a>
3895 <div class="description">
3896 <p>Get a short description string for this wireless network.</p>
3907 <dl class="details">
3945 <table class="params">
3950 <th class="last">Description</th>
3963 <td class="description last">Returns a string describing this network, consisting of the
3964 active operation mode, followed by either the SSID, BSSID or
3965 internal network ID, depending on which information is available.</td>
3979 <div class="nameContainer">
3980 <h4 class="name" id="getSignal">
3982 getSignal<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
3986 <div class="tag-source">
3987 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3872">line 3872</a>
3997 <div class="description">
3998 <p>Query the current wireless signal.</p>
4009 <dl class="details">
4047 <table class="params">
4052 <th class="last">Description</th>
4068 <td class="description last">Returns the wireless signal in dBm as reported by <code>ubus</code> runtime
4069 information or <code>null</code> if it cannot be determined.</td>
4083 <div class="nameContainer">
4084 <h4 class="name" id="getSignalLevel">
4086 getSignalLevel<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
4090 <div class="tag-source">
4091 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3932">line 3932</a>
4101 <div class="description">
4102 <p>Calculate the current signal.</p>
4113 <dl class="details">
4121 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
4153 <table class="params">
4158 <th class="last">Description</th>
4171 <td class="description last">Returns the calculated signal level, which is the difference between
4172 noise and signal (SNR), divided by 5.</td>
4186 <div class="nameContainer">
4187 <h4 class="name" id="getSignalPercent">
4189 getSignalPercent<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
4193 <div class="tag-source">
4194 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3955">line 3955</a>
4204 <div class="description">
4205 <p>Calculate the current signal quality percentage.</p>
4216 <dl class="details">
4254 <table class="params">
4259 <th class="last">Description</th>
4272 <td class="description last">Returns the calculated signal quality in percent. The value is
4273 calculated from the <code>quality</code> and <code>quality_max</code> indicators reported
4274 by <code>ubus</code> runtime state.</td>
4288 <div class="nameContainer">
4289 <h4 class="name" id="getSSID">
4291 getSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
4295 <div class="tag-source">
4296 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3423">line 3423</a>
4306 <div class="description">
4307 <p>Get the configured SSID of the wireless network.</p>
4318 <dl class="details">
4356 <table class="params">
4361 <th class="last">Description</th>
4377 <td class="description last">Returns the configured SSID value or <code>null</code> when this network is
4392 <div class="nameContainer">
4393 <h4 class="name" id="getTXPower">
4395 getTXPower<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
4399 <div class="tag-source">
4400 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3905">line 3905</a>
4410 <div class="description">
4411 <p>Query the current radio TX power.</p>
4422 <dl class="details">
4460 <table class="params">
4465 <th class="last">Description</th>
4481 <td class="description last">Returns the wireless network transmit power in dBm as reported by
4482 <code>ubus</code> runtime information or <code>null</code> if it cannot be determined.</td>
4496 <div class="nameContainer">
4497 <h4 class="name" id="getTXPowerOffset">
4499 getTXPowerOffset<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
4503 <div class="tag-source">
4504 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3920">line 3920</a>
4514 <div class="description">
4515 <p>Query the radio TX power offset.</p>
4516 <p>Some wireless radios have a fixed power offset, e.g. due to the
4517 use of external amplifiers.</p>
4528 <dl class="details">
4566 <table class="params">
4571 <th class="last">Description</th>
4584 <td class="description last">Returns the wireless network transmit power offset in dBm as reported
4585 by <code>ubus</code> runtime information or <code>0</code> if there is no offset, or if it
4586 cannot be determined.</td>
4600 <div class="nameContainer">
4601 <h4 class="name" id="getWifiDevice">
4603 getWifiDevice<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|<a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>}</span>
4607 <div class="tag-source">
4608 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3525">line 3525</a>
4618 <div class="description">
4619 <p>Get the corresponding wifi radio device.</p>
4630 <dl class="details">
4668 <table class="params">
4673 <th class="last">Description</th>
4685 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
4689 <td class="description last">Returns a <code>Network.WifiDevice</code> instance representing the corresponding
4690 wifi radio device or <code>null</code> if the related radio device could not be
4705 <div class="nameContainer">
4706 <h4 class="name" id="getWifiDeviceName">
4708 getWifiDeviceName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
4712 <div class="tag-source">
4713 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3513">line 3513</a>
4723 <div class="description">
4724 <p>Get the name of the corresponding wifi radio device.</p>
4735 <dl class="details">
4773 <table class="params">
4778 <th class="last">Description</th>
4794 <td class="description last">Returns the name of the radio device this network is configured on
4795 or <code>null</code> if it cannot be determined.</td>
4809 <div class="nameContainer">
4810 <h4 class="name" id="isClientDisconnectSupported">
4812 isClientDisconnectSupported<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4816 <div class="tag-source">
4817 <a href="network.js.html">network.js</a>, <a href="network.js.html#line4051">line 4051</a>
4827 <div class="description">
4828 <p>Check whether this wifi network supports deauthenticating clients.</p>
4839 <dl class="details">
4877 <table class="params">
4882 <th class="last">Description</th>
4895 <td class="description last">Returns <code>true</code> when this wifi network instance supports forcibly
4896 deauthenticating clients, otherwise <code>false</code>.</td>
4910 <div class="nameContainer">
4911 <h4 class="name" id="isDisabled">
4913 isDisabled<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4917 <div class="tag-source">
4918 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3397">line 3397</a>
4928 <div class="description">
4929 <p>Checks whether this wireless network is disabled.</p>
4940 <dl class="details">
4978 <table class="params">
4983 <th class="last">Description</th>
4996 <td class="description last">Returns <code>true</code> when the wireless radio is marked as disabled in <code>ubus</code>
4997 runtime state or when the <code>disabled</code> option is set in the corresponding
4998 UCI configuration.</td>
5012 <div class="nameContainer">
5013 <h4 class="name" id="isUp">
5015 isUp<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
5019 <div class="tag-source">
5020 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3546">line 3546</a>
5030 <div class="description">
5031 <p>Check whether the radio network is up.</p>
5032 <p>This function actually queries the up state of the related radio
5033 device and assumes this network to be up as well when the parent
5034 radio is up. This is due to the fact that OpenWrt does not control
5035 virtual interfaces individually but within one common hostapd
5047 <dl class="details">
5085 <table class="params">
5090 <th class="last">Description</th>
5103 <td class="description last">Returns <code>true</code> when the network is up, else <code>false</code>.</td>
5117 <div class="nameContainer">
5118 <h4 class="name" id="set">
5120 set<span class="signature">(opt, val)</span>
5124 <div class="tag-source">
5125 <a href="network.js.html">network.js</a>, <a href="network.js.html#line3385">line 3385</a>
5135 <div class="description">
5136 <p>Set the given UCI option of this network to the given value.</p>
5147 <table class="params">
5158 <th class="last">Description</th>
5167 <td class="name"><code>opt</code></td>
5173 <span class="param-type">string</span>
5181 <td class="description last">
5183 <p>The name of the UCI option to set.</p></td>
5190 <td class="name"><code>val</code></td>
5196 <span class="param-type">null</span>
5199 <span class="param-type">string</span>
5202 <span class="param-type">Array.<string></span>
5210 <td class="description last">
5212 <p>The value to set or <code>null</code> to remove the given option from the
5213 configuration.</p></td>
5222 <dl class="details">
5279 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
5283 <script>prettyPrint();</script>
5284 <script src="scripts/jaguar.js"></script>