documentation: change JS docs template
[project/luci.git] / documentation / jsapi / LuCI.Network.WifiNetwork.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Class: WifiNetwork</title>
6
7
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>
11 <!--[if lt IE 9]>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13 <![endif]-->
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">
17
18
19 <script>
20 var config = {"monospaceLinks":true,"cleverLinks":true,"default":{}};
21 </script>
22
23
24
25 </head>
26 <body>
27 <div id="wrap" class="clearfix">
28
29 <div class="navigation">
30 <h3 class="applicationName"><a href="index.html"></a></h3>
31
32 <div class="search">
33 <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
34 </div>
35 <ul class="list">
36
37 <li class="item" data-name="LuCI">
38 <span class="title">
39 <a href="LuCI.html">LuCI</a>
40
41 </span>
42 <ul class="members itemMembers">
43
44 <span class="subtitle">Members</span>
45
46 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
47
48 </ul>
49 <ul class="typedefs itemMembers">
50
51 <span class="subtitle">Typedefs</span>
52
53 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
54
55 </ul>
56 <ul class="typedefs itemMembers">
57
58 </ul>
59 <ul class="methods itemMembers">
60
61 <span class="subtitle">Methods</span>
62
63 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
64
65 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
66
67 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
68
69 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
70
71 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
72
73 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
74
75 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
76
77 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
78
79 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
80
81 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
82
83 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
84
85 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
86
87 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
88
89 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
90
91 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
92
93 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
94
95 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
96
97 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
98
99 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
100
101 </ul>
102 <ul class="events itemMembers">
103
104 </ul>
105 </li>
106
107 <li class="item" data-name="LuCI.Class">
108 <span class="title">
109 <a href="LuCI.Class.html">LuCI.Class</a>
110
111 </span>
112 <ul class="members itemMembers">
113
114 </ul>
115 <ul class="typedefs itemMembers">
116
117 </ul>
118 <ul class="typedefs itemMembers">
119
120 </ul>
121 <ul class="methods itemMembers">
122
123 <span class="subtitle">Methods</span>
124
125 <li data-name="LuCI.Class.extend"><a href="LuCI.Class.html#.extend">extend</a></li>
126
127 <li data-name="LuCI.Class.instantiate"><a href="LuCI.Class.html#.instantiate">instantiate</a></li>
128
129 <li data-name="LuCI.Class.isSubclass"><a href="LuCI.Class.html#.isSubclass">isSubclass</a></li>
130
131 <li data-name="LuCI.Class.singleton"><a href="LuCI.Class.html#.singleton">singleton</a></li>
132
133 <li data-name="LuCI.Class#super"><a href="LuCI.Class.html#super">super</a></li>
134
135 <li data-name="LuCI.Class#varargs"><a href="LuCI.Class.html#varargs">varargs</a></li>
136
137 </ul>
138 <ul class="events itemMembers">
139
140 </ul>
141 </li>
142
143 <li class="item" data-name="LuCI.dom">
144 <span class="title">
145 <a href="LuCI.dom.html">LuCI.dom</a>
146
147 </span>
148 <ul class="members itemMembers">
149
150 </ul>
151 <ul class="typedefs itemMembers">
152
153 <span class="subtitle">Typedefs</span>
154
155 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
156
157 </ul>
158 <ul class="typedefs itemMembers">
159
160 </ul>
161 <ul class="methods itemMembers">
162
163 <span class="subtitle">Methods</span>
164
165 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
166
167 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
168
169 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
170
171 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
172
173 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
174
175 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
176
177 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
178
179 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
180
181 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
182
183 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
184
185 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
186
187 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
188
189 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
190
191 </ul>
192 <ul class="events itemMembers">
193
194 </ul>
195 </li>
196
197 <li class="item" data-name="LuCI.fs">
198 <span class="title">
199 <a href="LuCI.fs.html">LuCI.fs</a>
200
201 </span>
202 <ul class="members itemMembers">
203
204 </ul>
205 <ul class="typedefs itemMembers">
206
207 <span class="subtitle">Typedefs</span>
208
209 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
210
211 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
212
213 </ul>
214 <ul class="typedefs itemMembers">
215
216 </ul>
217 <ul class="methods itemMembers">
218
219 <span class="subtitle">Methods</span>
220
221 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
222
223 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
224
225 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
226
227 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
228
229 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
230
231 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
232
233 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
234
235 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
236
237 </ul>
238 <ul class="events itemMembers">
239
240 </ul>
241 </li>
242
243 <li class="item" data-name="LuCI.Headers">
244 <span class="title">
245 <a href="LuCI.Headers.html">LuCI.Headers</a>
246
247 </span>
248 <ul class="members itemMembers">
249
250 </ul>
251 <ul class="typedefs itemMembers">
252
253 </ul>
254 <ul class="typedefs itemMembers">
255
256 </ul>
257 <ul class="methods itemMembers">
258
259 <span class="subtitle">Methods</span>
260
261 <li data-name="LuCI.Headers#get"><a href="LuCI.Headers.html#get">get</a></li>
262
263 <li data-name="LuCI.Headers#has"><a href="LuCI.Headers.html#has">has</a></li>
264
265 </ul>
266 <ul class="events itemMembers">
267
268 </ul>
269 </li>
270
271 <li class="item" data-name="LuCI.Network">
272 <span class="title">
273 <a href="LuCI.Network.html">LuCI.Network</a>
274
275 </span>
276 <ul class="members itemMembers">
277
278 </ul>
279 <ul class="typedefs itemMembers">
280
281 <span class="subtitle">Typedefs</span>
282
283 <li data-name="LuCI.Network.SwitchTopology"><a href="LuCI.Network.html#.SwitchTopology">SwitchTopology</a></li>
284
285 <li data-name="LuCI.Network.WifiEncryption"><a href="LuCI.Network.html#.WifiEncryption">WifiEncryption</a></li>
286
287 <li data-name="LuCI.Network.WifiPeerEntry"><a href="LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
288
289 <li data-name="LuCI.Network.WifiRateEntry"><a href="LuCI.Network.html#.WifiRateEntry">WifiRateEntry</a></li>
290
291 <li data-name="LuCI.Network.WifiScanResult"><a href="LuCI.Network.html#.WifiScanResult">WifiScanResult</a></li>
292
293 </ul>
294 <ul class="typedefs itemMembers">
295
296 </ul>
297 <ul class="methods itemMembers">
298
299 <span class="subtitle">Methods</span>
300
301 <li data-name="LuCI.Network#addNetwork"><a href="LuCI.Network.html#addNetwork">addNetwork</a></li>
302
303 <li data-name="LuCI.Network#addWifiNetwork"><a href="LuCI.Network.html#addWifiNetwork">addWifiNetwork</a></li>
304
305 <li data-name="LuCI.Network#deleteNetwork"><a href="LuCI.Network.html#deleteNetwork">deleteNetwork</a></li>
306
307 <li data-name="LuCI.Network#deleteWifiNetwork"><a href="LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
308
309 <li data-name="LuCI.Network#flushCache"><a href="LuCI.Network.html#flushCache">flushCache</a></li>
310
311 <li data-name="LuCI.Network#formatWifiEncryption"><a href="LuCI.Network.html#formatWifiEncryption">formatWifiEncryption</a></li>
312
313 <li data-name="LuCI.Network#getDevice"><a href="LuCI.Network.html#getDevice">getDevice</a></li>
314
315 <li data-name="LuCI.Network#getDevices"><a href="LuCI.Network.html#getDevices">getDevices</a></li>
316
317 <li data-name="LuCI.Network#getDSLModemType"><a href="LuCI.Network.html#getDSLModemType">getDSLModemType</a></li>
318
319 <li data-name="LuCI.Network#getHostHints"><a href="LuCI.Network.html#getHostHints">getHostHints</a></li>
320
321 <li data-name="LuCI.Network#getIfnameOf"><a href="LuCI.Network.html#getIfnameOf">getIfnameOf</a></li>
322
323 <li data-name="LuCI.Network#getNetwork"><a href="LuCI.Network.html#getNetwork">getNetwork</a></li>
324
325 <li data-name="LuCI.Network#getNetworks"><a href="LuCI.Network.html#getNetworks">getNetworks</a></li>
326
327 <li data-name="LuCI.Network#getProtocol"><a href="LuCI.Network.html#getProtocol">getProtocol</a></li>
328
329 <li data-name="LuCI.Network#getProtocols"><a href="LuCI.Network.html#getProtocols">getProtocols</a></li>
330
331 <li data-name="LuCI.Network#getSwitchTopologies"><a href="LuCI.Network.html#getSwitchTopologies">getSwitchTopologies</a></li>
332
333 <li data-name="LuCI.Network#getWAN6Networks"><a href="LuCI.Network.html#getWAN6Networks">getWAN6Networks</a></li>
334
335 <li data-name="LuCI.Network#getWANNetworks"><a href="LuCI.Network.html#getWANNetworks">getWANNetworks</a></li>
336
337 <li data-name="LuCI.Network#getWifiDevice"><a href="LuCI.Network.html#getWifiDevice">getWifiDevice</a></li>
338
339 <li data-name="LuCI.Network#getWifiDevices"><a href="LuCI.Network.html#getWifiDevices">getWifiDevices</a></li>
340
341 <li data-name="LuCI.Network#getWifiNetwork"><a href="LuCI.Network.html#getWifiNetwork">getWifiNetwork</a></li>
342
343 <li data-name="LuCI.Network#isIgnoredDevice"><a href="LuCI.Network.html#isIgnoredDevice">isIgnoredDevice</a></li>
344
345 <li data-name="LuCI.Network#maskToPrefix"><a href="LuCI.Network.html#maskToPrefix">maskToPrefix</a></li>
346
347 <li data-name="LuCI.Network#prefixToMask"><a href="LuCI.Network.html#prefixToMask">prefixToMask</a></li>
348
349 <li data-name="LuCI.Network#registerErrorCode"><a href="LuCI.Network.html#registerErrorCode">registerErrorCode</a></li>
350
351 <li data-name="LuCI.Network#registerPatternVirtual"><a href="LuCI.Network.html#registerPatternVirtual">registerPatternVirtual</a></li>
352
353 <li data-name="LuCI.Network#registerProtocol"><a href="LuCI.Network.html#registerProtocol">registerProtocol</a></li>
354
355 <li data-name="LuCI.Network#renameNetwork"><a href="LuCI.Network.html#renameNetwork">renameNetwork</a></li>
356
357 </ul>
358 <ul class="events itemMembers">
359
360 </ul>
361 </li>
362
363 <li class="item" data-name="LuCI.Network.Device">
364 <span class="title">
365 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
366
367 </span>
368 <ul class="members itemMembers">
369
370 </ul>
371 <ul class="typedefs itemMembers">
372
373 </ul>
374 <ul class="typedefs itemMembers">
375
376 </ul>
377 <ul class="methods itemMembers">
378
379 <span class="subtitle">Methods</span>
380
381 <li data-name="LuCI.Network.Device#getBridgeID"><a href="LuCI.Network.Device.html#getBridgeID">getBridgeID</a></li>
382
383 <li data-name="LuCI.Network.Device#getBridgeSTP"><a href="LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
384
385 <li data-name="LuCI.Network.Device#getI18n"><a href="LuCI.Network.Device.html#getI18n">getI18n</a></li>
386
387 <li data-name="LuCI.Network.Device#getIP6Addrs"><a href="LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
388
389 <li data-name="LuCI.Network.Device#getIPAddrs"><a href="LuCI.Network.Device.html#getIPAddrs">getIPAddrs</a></li>
390
391 <li data-name="LuCI.Network.Device#getMAC"><a href="LuCI.Network.Device.html#getMAC">getMAC</a></li>
392
393 <li data-name="LuCI.Network.Device#getMTU"><a href="LuCI.Network.Device.html#getMTU">getMTU</a></li>
394
395 <li data-name="LuCI.Network.Device#getName"><a href="LuCI.Network.Device.html#getName">getName</a></li>
396
397 <li data-name="LuCI.Network.Device#getNetwork"><a href="LuCI.Network.Device.html#getNetwork">getNetwork</a></li>
398
399 <li data-name="LuCI.Network.Device#getNetworks"><a href="LuCI.Network.Device.html#getNetworks">getNetworks</a></li>
400
401 <li data-name="LuCI.Network.Device#getPorts"><a href="LuCI.Network.Device.html#getPorts">getPorts</a></li>
402
403 <li data-name="LuCI.Network.Device#getRXBytes"><a href="LuCI.Network.Device.html#getRXBytes">getRXBytes</a></li>
404
405 <li data-name="LuCI.Network.Device#getRXPackets"><a href="LuCI.Network.Device.html#getRXPackets">getRXPackets</a></li>
406
407 <li data-name="LuCI.Network.Device#getShortName"><a href="LuCI.Network.Device.html#getShortName">getShortName</a></li>
408
409 <li data-name="LuCI.Network.Device#getTXBytes"><a href="LuCI.Network.Device.html#getTXBytes">getTXBytes</a></li>
410
411 <li data-name="LuCI.Network.Device#getTXPackets"><a href="LuCI.Network.Device.html#getTXPackets">getTXPackets</a></li>
412
413 <li data-name="LuCI.Network.Device#getType"><a href="LuCI.Network.Device.html#getType">getType</a></li>
414
415 <li data-name="LuCI.Network.Device#getTypeI18n"><a href="LuCI.Network.Device.html#getTypeI18n">getTypeI18n</a></li>
416
417 <li data-name="LuCI.Network.Device#getWifiNetwork"><a href="LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
418
419 <li data-name="LuCI.Network.Device#isBridge"><a href="LuCI.Network.Device.html#isBridge">isBridge</a></li>
420
421 <li data-name="LuCI.Network.Device#isBridgePort"><a href="LuCI.Network.Device.html#isBridgePort">isBridgePort</a></li>
422
423 <li data-name="LuCI.Network.Device#isUp"><a href="LuCI.Network.Device.html#isUp">isUp</a></li>
424
425 </ul>
426 <ul class="events itemMembers">
427
428 </ul>
429 </li>
430
431 <li class="item" data-name="LuCI.Network.Hosts">
432 <span class="title">
433 <a href="LuCI.Network.Hosts.html">LuCI.Network.Hosts</a>
434
435 </span>
436 <ul class="members itemMembers">
437
438 </ul>
439 <ul class="typedefs itemMembers">
440
441 </ul>
442 <ul class="typedefs itemMembers">
443
444 </ul>
445 <ul class="methods itemMembers">
446
447 <span class="subtitle">Methods</span>
448
449 <li data-name="LuCI.Network.Hosts#getHostnameByIP6Addr"><a href="LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
450
451 <li data-name="LuCI.Network.Hosts#getHostnameByIPAddr"><a href="LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
452
453 <li data-name="LuCI.Network.Hosts#getHostnameByMACAddr"><a href="LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
454
455 <li data-name="LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
456
457 <li data-name="LuCI.Network.Hosts#getIPAddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
458
459 <li data-name="LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
460
461 <li data-name="LuCI.Network.Hosts#getMACAddrByIPAddr"><a href="LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
462
463 <li data-name="LuCI.Network.Hosts#getMACHints"><a href="LuCI.Network.Hosts.html#getMACHints">getMACHints</a></li>
464
465 </ul>
466 <ul class="events itemMembers">
467
468 </ul>
469 </li>
470
471 <li class="item" data-name="LuCI.Network.Protocol">
472 <span class="title">
473 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
474
475 </span>
476 <ul class="members itemMembers">
477
478 </ul>
479 <ul class="typedefs itemMembers">
480
481 </ul>
482 <ul class="typedefs itemMembers">
483
484 </ul>
485 <ul class="methods itemMembers">
486
487 <span class="subtitle">Methods</span>
488
489 <li data-name="LuCI.Network.Protocol#addDevice"><a href="LuCI.Network.Protocol.html#addDevice">addDevice</a></li>
490
491 <li data-name="LuCI.Network.Protocol#containsDevice"><a href="LuCI.Network.Protocol.html#containsDevice">containsDevice</a></li>
492
493 <li data-name="LuCI.Network.Protocol#deleteDevice"><a href="LuCI.Network.Protocol.html#deleteDevice">deleteDevice</a></li>
494
495 <li data-name="LuCI.Network.Protocol#get"><a href="LuCI.Network.Protocol.html#get">get</a></li>
496
497 <li data-name="LuCI.Network.Protocol#getDevice"><a href="LuCI.Network.Protocol.html#getDevice">getDevice</a></li>
498
499 <li data-name="LuCI.Network.Protocol#getDevices"><a href="LuCI.Network.Protocol.html#getDevices">getDevices</a></li>
500
501 <li data-name="LuCI.Network.Protocol#getDNS6Addrs"><a href="LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
502
503 <li data-name="LuCI.Network.Protocol#getDNSAddrs"><a href="LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
504
505 <li data-name="LuCI.Network.Protocol#getErrors"><a href="LuCI.Network.Protocol.html#getErrors">getErrors</a></li>
506
507 <li data-name="LuCI.Network.Protocol#getExpiry"><a href="LuCI.Network.Protocol.html#getExpiry">getExpiry</a></li>
508
509 <li data-name="LuCI.Network.Protocol#getGateway6Addr"><a href="LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
510
511 <li data-name="LuCI.Network.Protocol#getGatewayAddr"><a href="LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
512
513 <li data-name="LuCI.Network.Protocol#getI18n"><a href="LuCI.Network.Protocol.html#getI18n">getI18n</a></li>
514
515 <li data-name="LuCI.Network.Protocol#getIfname"><a href="LuCI.Network.Protocol.html#getIfname">getIfname</a></li>
516
517 <li data-name="LuCI.Network.Protocol#getIP6Addr"><a href="LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
518
519 <li data-name="LuCI.Network.Protocol#getIP6Addrs"><a href="LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
520
521 <li data-name="LuCI.Network.Protocol#getIP6Prefix"><a href="LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
522
523 <li data-name="LuCI.Network.Protocol#getIPAddr"><a href="LuCI.Network.Protocol.html#getIPAddr">getIPAddr</a></li>
524
525 <li data-name="LuCI.Network.Protocol#getIPAddrs"><a href="LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
526
527 <li data-name="LuCI.Network.Protocol#getL2Device"><a href="LuCI.Network.Protocol.html#getL2Device">getL2Device</a></li>
528
529 <li data-name="LuCI.Network.Protocol#getL3Device"><a href="LuCI.Network.Protocol.html#getL3Device">getL3Device</a></li>
530
531 <li data-name="LuCI.Network.Protocol#getMetric"><a href="LuCI.Network.Protocol.html#getMetric">getMetric</a></li>
532
533 <li data-name="LuCI.Network.Protocol#getName"><a href="LuCI.Network.Protocol.html#getName">getName</a></li>
534
535 <li data-name="LuCI.Network.Protocol#getNetmask"><a href="LuCI.Network.Protocol.html#getNetmask">getNetmask</a></li>
536
537 <li data-name="LuCI.Network.Protocol#getOpkgPackage"><a href="LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
538
539 <li data-name="LuCI.Network.Protocol#getProtocol"><a href="LuCI.Network.Protocol.html#getProtocol">getProtocol</a></li>
540
541 <li data-name="LuCI.Network.Protocol#getType"><a href="LuCI.Network.Protocol.html#getType">getType</a></li>
542
543 <li data-name="LuCI.Network.Protocol#getUptime"><a href="LuCI.Network.Protocol.html#getUptime">getUptime</a></li>
544
545 <li data-name="LuCI.Network.Protocol#getZoneName"><a href="LuCI.Network.Protocol.html#getZoneName">getZoneName</a></li>
546
547 <li data-name="LuCI.Network.Protocol#isAlias"><a href="LuCI.Network.Protocol.html#isAlias">isAlias</a></li>
548
549 <li data-name="LuCI.Network.Protocol#isBridge"><a href="LuCI.Network.Protocol.html#isBridge">isBridge</a></li>
550
551 <li data-name="LuCI.Network.Protocol#isDynamic"><a href="LuCI.Network.Protocol.html#isDynamic">isDynamic</a></li>
552
553 <li data-name="LuCI.Network.Protocol#isEmpty"><a href="LuCI.Network.Protocol.html#isEmpty">isEmpty</a></li>
554
555 <li data-name="LuCI.Network.Protocol#isFloating"><a href="LuCI.Network.Protocol.html#isFloating">isFloating</a></li>
556
557 <li data-name="LuCI.Network.Protocol#isInstalled"><a href="LuCI.Network.Protocol.html#isInstalled">isInstalled</a></li>
558
559 <li data-name="LuCI.Network.Protocol#isUp"><a href="LuCI.Network.Protocol.html#isUp">isUp</a></li>
560
561 <li data-name="LuCI.Network.Protocol#isVirtual"><a href="LuCI.Network.Protocol.html#isVirtual">isVirtual</a></li>
562
563 <li data-name="LuCI.Network.Protocol#set"><a href="LuCI.Network.Protocol.html#set">set</a></li>
564
565 </ul>
566 <ul class="events itemMembers">
567
568 </ul>
569 </li>
570
571 <li class="item" data-name="LuCI.Network.WifiDevice">
572 <span class="title">
573 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
574
575 </span>
576 <ul class="members itemMembers">
577
578 </ul>
579 <ul class="typedefs itemMembers">
580
581 </ul>
582 <ul class="typedefs itemMembers">
583
584 </ul>
585 <ul class="methods itemMembers">
586
587 <span class="subtitle">Methods</span>
588
589 <li data-name="LuCI.Network.WifiDevice#addWifiNetwork"><a href="LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
590
591 <li data-name="LuCI.Network.WifiDevice#deleteWifiNetwork"><a href="LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
592
593 <li data-name="LuCI.Network.WifiDevice#get"><a href="LuCI.Network.WifiDevice.html#get">get</a></li>
594
595 <li data-name="LuCI.Network.WifiDevice#getHTModes"><a href="LuCI.Network.WifiDevice.html#getHTModes">getHTModes</a></li>
596
597 <li data-name="LuCI.Network.WifiDevice#getHWModes"><a href="LuCI.Network.WifiDevice.html#getHWModes">getHWModes</a></li>
598
599 <li data-name="LuCI.Network.WifiDevice#getI18n"><a href="LuCI.Network.WifiDevice.html#getI18n">getI18n</a></li>
600
601 <li data-name="LuCI.Network.WifiDevice#getName"><a href="LuCI.Network.WifiDevice.html#getName">getName</a></li>
602
603 <li data-name="LuCI.Network.WifiDevice#getScanList"><a href="LuCI.Network.WifiDevice.html#getScanList">getScanList</a></li>
604
605 <li data-name="LuCI.Network.WifiDevice#getWifiNetwork"><a href="LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
606
607 <li data-name="LuCI.Network.WifiDevice#getWifiNetworks"><a href="LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
608
609 <li data-name="LuCI.Network.WifiDevice#isDisabled"><a href="LuCI.Network.WifiDevice.html#isDisabled">isDisabled</a></li>
610
611 <li data-name="LuCI.Network.WifiDevice#isUp"><a href="LuCI.Network.WifiDevice.html#isUp">isUp</a></li>
612
613 <li data-name="LuCI.Network.WifiDevice#set"><a href="LuCI.Network.WifiDevice.html#set">set</a></li>
614
615 </ul>
616 <ul class="events itemMembers">
617
618 </ul>
619 </li>
620
621 <li class="item" data-name="LuCI.Network.WifiNetwork">
622 <span class="title">
623 <a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>
624
625 </span>
626 <ul class="members itemMembers">
627
628 </ul>
629 <ul class="typedefs itemMembers">
630
631 </ul>
632 <ul class="typedefs itemMembers">
633
634 </ul>
635 <ul class="methods itemMembers">
636
637 <span class="subtitle">Methods</span>
638
639 <li data-name="LuCI.Network.WifiNetwork#get"><a href="LuCI.Network.WifiNetwork.html#get">get</a></li>
640
641 <li data-name="LuCI.Network.WifiNetwork#getActiveBSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
642
643 <li data-name="LuCI.Network.WifiNetwork#getActiveEncryption"><a href="LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
644
645 <li data-name="LuCI.Network.WifiNetwork#getActiveMode"><a href="LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
646
647 <li data-name="LuCI.Network.WifiNetwork#getActiveModeI18n"><a href="LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
648
649 <li data-name="LuCI.Network.WifiNetwork#getActiveSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
650
651 <li data-name="LuCI.Network.WifiNetwork#getAssocList"><a href="LuCI.Network.WifiNetwork.html#getAssocList">getAssocList</a></li>
652
653 <li data-name="LuCI.Network.WifiNetwork#getBitRate"><a href="LuCI.Network.WifiNetwork.html#getBitRate">getBitRate</a></li>
654
655 <li data-name="LuCI.Network.WifiNetwork#getBSSID"><a href="LuCI.Network.WifiNetwork.html#getBSSID">getBSSID</a></li>
656
657 <li data-name="LuCI.Network.WifiNetwork#getChannel"><a href="LuCI.Network.WifiNetwork.html#getChannel">getChannel</a></li>
658
659 <li data-name="LuCI.Network.WifiNetwork#getCountryCode"><a href="LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
660
661 <li data-name="LuCI.Network.WifiNetwork#getDevice"><a href="LuCI.Network.WifiNetwork.html#getDevice">getDevice</a></li>
662
663 <li data-name="LuCI.Network.WifiNetwork#getFrequency"><a href="LuCI.Network.WifiNetwork.html#getFrequency">getFrequency</a></li>
664
665 <li data-name="LuCI.Network.WifiNetwork#getI18n"><a href="LuCI.Network.WifiNetwork.html#getI18n">getI18n</a></li>
666
667 <li data-name="LuCI.Network.WifiNetwork#getID"><a href="LuCI.Network.WifiNetwork.html#getID">getID</a></li>
668
669 <li data-name="LuCI.Network.WifiNetwork#getIfname"><a href="LuCI.Network.WifiNetwork.html#getIfname">getIfname</a></li>
670
671 <li data-name="LuCI.Network.WifiNetwork#getMeshID"><a href="LuCI.Network.WifiNetwork.html#getMeshID">getMeshID</a></li>
672
673 <li data-name="LuCI.Network.WifiNetwork#getMode"><a href="LuCI.Network.WifiNetwork.html#getMode">getMode</a></li>
674
675 <li data-name="LuCI.Network.WifiNetwork#getName"><a href="LuCI.Network.WifiNetwork.html#getName">getName</a></li>
676
677 <li data-name="LuCI.Network.WifiNetwork#getNetwork"><a href="LuCI.Network.WifiNetwork.html#getNetwork">getNetwork</a></li>
678
679 <li data-name="LuCI.Network.WifiNetwork#getNetworkNames"><a href="LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
680
681 <li data-name="LuCI.Network.WifiNetwork#getNetworks"><a href="LuCI.Network.WifiNetwork.html#getNetworks">getNetworks</a></li>
682
683 <li data-name="LuCI.Network.WifiNetwork#getNoise"><a href="LuCI.Network.WifiNetwork.html#getNoise">getNoise</a></li>
684
685 <li data-name="LuCI.Network.WifiNetwork#getShortName"><a href="LuCI.Network.WifiNetwork.html#getShortName">getShortName</a></li>
686
687 <li data-name="LuCI.Network.WifiNetwork#getSignal"><a href="LuCI.Network.WifiNetwork.html#getSignal">getSignal</a></li>
688
689 <li data-name="LuCI.Network.WifiNetwork#getSignalLevel"><a href="LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
690
691 <li data-name="LuCI.Network.WifiNetwork#getSignalPercent"><a href="LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
692
693 <li data-name="LuCI.Network.WifiNetwork#getSSID"><a href="LuCI.Network.WifiNetwork.html#getSSID">getSSID</a></li>
694
695 <li data-name="LuCI.Network.WifiNetwork#getTXPower"><a href="LuCI.Network.WifiNetwork.html#getTXPower">getTXPower</a></li>
696
697 <li data-name="LuCI.Network.WifiNetwork#getTXPowerOffset"><a href="LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
698
699 <li data-name="LuCI.Network.WifiNetwork#getWifiDevice"><a href="LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
700
701 <li data-name="LuCI.Network.WifiNetwork#getWifiDeviceName"><a href="LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
702
703 <li data-name="LuCI.Network.WifiNetwork#isDisabled"><a href="LuCI.Network.WifiNetwork.html#isDisabled">isDisabled</a></li>
704
705 <li data-name="LuCI.Network.WifiNetwork#isUp"><a href="LuCI.Network.WifiNetwork.html#isUp">isUp</a></li>
706
707 <li data-name="LuCI.Network.WifiNetwork#set"><a href="LuCI.Network.WifiNetwork.html#set">set</a></li>
708
709 </ul>
710 <ul class="events itemMembers">
711
712 </ul>
713 </li>
714
715 <li class="item" data-name="LuCI.Poll">
716 <span class="title">
717 <a href="LuCI.Poll.html">LuCI.Poll</a>
718
719 </span>
720 <ul class="members itemMembers">
721
722 </ul>
723 <ul class="typedefs itemMembers">
724
725 </ul>
726 <ul class="typedefs itemMembers">
727
728 </ul>
729 <ul class="methods itemMembers">
730
731 <span class="subtitle">Methods</span>
732
733 <li data-name="LuCI.Poll#active"><a href="LuCI.Poll.html#active">active</a></li>
734
735 <li data-name="LuCI.Poll#add"><a href="LuCI.Poll.html#add">add</a></li>
736
737 <li data-name="LuCI.Poll#remove"><a href="LuCI.Poll.html#remove">remove</a></li>
738
739 <li data-name="LuCI.Poll#start"><a href="LuCI.Poll.html#start">start</a></li>
740
741 <li data-name="LuCI.Poll#stop"><a href="LuCI.Poll.html#stop">stop</a></li>
742
743 </ul>
744 <ul class="events itemMembers">
745
746 </ul>
747 </li>
748
749 <li class="item" data-name="LuCI.Request">
750 <span class="title">
751 <a href="LuCI.Request.html">LuCI.Request</a>
752
753 </span>
754 <ul class="members itemMembers">
755
756 </ul>
757 <ul class="typedefs itemMembers">
758
759 <span class="subtitle">Typedefs</span>
760
761 <li data-name="LuCI.Request.interceptorFn"><a href="LuCI.Request.html#.interceptorFn">interceptorFn</a></li>
762
763 <li data-name="LuCI.Request.RequestOptions"><a href="LuCI.Request.html#.RequestOptions">RequestOptions</a></li>
764
765 </ul>
766 <ul class="typedefs itemMembers">
767
768 </ul>
769 <ul class="methods itemMembers">
770
771 <span class="subtitle">Methods</span>
772
773 <li data-name="LuCI.Request#addInterceptor"><a href="LuCI.Request.html#addInterceptor">addInterceptor</a></li>
774
775 <li data-name="LuCI.Request#expandURL"><a href="LuCI.Request.html#expandURL">expandURL</a></li>
776
777 <li data-name="LuCI.Request#get"><a href="LuCI.Request.html#get">get</a></li>
778
779 <li data-name="LuCI.Request#post"><a href="LuCI.Request.html#post">post</a></li>
780
781 <li data-name="LuCI.Request#removeInterceptor"><a href="LuCI.Request.html#removeInterceptor">removeInterceptor</a></li>
782
783 <li data-name="LuCI.Request#request"><a href="LuCI.Request.html#request">request</a></li>
784
785 </ul>
786 <ul class="events itemMembers">
787
788 </ul>
789 </li>
790
791 <li class="item" data-name="LuCI.Request.poll">
792 <span class="title">
793 <a href="LuCI.Request.poll.html">LuCI.Request.poll</a>
794
795 </span>
796 <ul class="members itemMembers">
797
798 </ul>
799 <ul class="typedefs itemMembers">
800
801 <span class="subtitle">Typedefs</span>
802
803 <li data-name="LuCI.Request.poll~callbackFn"><a href="LuCI.Request.poll.html#~callbackFn">callbackFn</a></li>
804
805 </ul>
806 <ul class="typedefs itemMembers">
807
808 </ul>
809 <ul class="methods itemMembers">
810
811 <span class="subtitle">Methods</span>
812
813 <li data-name="LuCI.Request.poll#active"><a href="LuCI.Request.poll.html#active">active</a></li>
814
815 <li data-name="LuCI.Request.poll#add"><a href="LuCI.Request.poll.html#add">add</a></li>
816
817 <li data-name="LuCI.Request.poll#remove"><a href="LuCI.Request.poll.html#remove">remove</a></li>
818
819 <li data-name="LuCI.Request.poll#start"><a href="LuCI.Request.poll.html#start">start</a></li>
820
821 <li data-name="LuCI.Request.poll#stop"><a href="LuCI.Request.poll.html#stop">stop</a></li>
822
823 </ul>
824 <ul class="events itemMembers">
825
826 </ul>
827 </li>
828
829 <li class="item" data-name="LuCI.Response">
830 <span class="title">
831 <a href="LuCI.Response.html">LuCI.Response</a>
832
833 </span>
834 <ul class="members itemMembers">
835
836 <span class="subtitle">Members</span>
837
838 <li data-name="LuCI.Response#duration"><a href="LuCI.Response.html#duration">duration</a></li>
839
840 <li data-name="LuCI.Response#headers"><a href="LuCI.Response.html#headers">headers</a></li>
841
842 <li data-name="LuCI.Response#ok"><a href="LuCI.Response.html#ok">ok</a></li>
843
844 <li data-name="LuCI.Response#status"><a href="LuCI.Response.html#status">status</a></li>
845
846 <li data-name="LuCI.Response#statusText"><a href="LuCI.Response.html#statusText">statusText</a></li>
847
848 <li data-name="LuCI.Response#url"><a href="LuCI.Response.html#url">url</a></li>
849
850 </ul>
851 <ul class="typedefs itemMembers">
852
853 </ul>
854 <ul class="typedefs itemMembers">
855
856 </ul>
857 <ul class="methods itemMembers">
858
859 <span class="subtitle">Methods</span>
860
861 <li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
862
863 <li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
864
865 <li data-name="LuCI.Response#text"><a href="LuCI.Response.html#text">text</a></li>
866
867 </ul>
868 <ul class="events itemMembers">
869
870 </ul>
871 </li>
872
873 <li class="item" data-name="LuCI.rpc">
874 <span class="title">
875 <a href="LuCI.rpc.html">LuCI.rpc</a>
876
877 </span>
878 <ul class="members itemMembers">
879
880 </ul>
881 <ul class="typedefs itemMembers">
882
883 <span class="subtitle">Typedefs</span>
884
885 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
886
887 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
888
889 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
890
891 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
892
893 </ul>
894 <ul class="typedefs itemMembers">
895
896 </ul>
897 <ul class="methods itemMembers">
898
899 <span class="subtitle">Methods</span>
900
901 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
902
903 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
904
905 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
906
907 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
908
909 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
910
911 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
912
913 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
914
915 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
916
917 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
918
919 </ul>
920 <ul class="events itemMembers">
921
922 </ul>
923 </li>
924
925 <li class="item" data-name="LuCI.uci">
926 <span class="title">
927 <a href="LuCI.uci.html">LuCI.uci</a>
928
929 </span>
930 <ul class="members itemMembers">
931
932 </ul>
933 <ul class="typedefs itemMembers">
934
935 <span class="subtitle">Typedefs</span>
936
937 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
938
939 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
940
941 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
942
943 </ul>
944 <ul class="typedefs itemMembers">
945
946 </ul>
947 <ul class="methods itemMembers">
948
949 <span class="subtitle">Methods</span>
950
951 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
952
953 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
954
955 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
956
957 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
958
959 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
960
961 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
962
963 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
964
965 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
966
967 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
968
969 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
970
971 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
972
973 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
974
975 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
976
977 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
978
979 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
980
981 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
982
983 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
984
985 </ul>
986 <ul class="events itemMembers">
987
988 </ul>
989 </li>
990
991 <li class="item" data-name="LuCI.view">
992 <span class="title">
993 <a href="LuCI.view.html">LuCI.view</a>
994
995 </span>
996 <ul class="members itemMembers">
997
998 </ul>
999 <ul class="typedefs itemMembers">
1000
1001 </ul>
1002 <ul class="typedefs itemMembers">
1003
1004 </ul>
1005 <ul class="methods itemMembers">
1006
1007 <span class="subtitle">Methods</span>
1008
1009 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1010
1011 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1012
1013 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1014
1015 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1016
1017 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1018
1019 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1020
1021 </ul>
1022 <ul class="events itemMembers">
1023
1024 </ul>
1025 </li>
1026
1027 <li class="item" data-name="LuCI.XHR">
1028 <span class="title">
1029 <a href="LuCI.XHR.html">LuCI.XHR</a>
1030
1031 </span>
1032 <ul class="members itemMembers">
1033
1034 </ul>
1035 <ul class="typedefs itemMembers">
1036
1037 </ul>
1038 <ul class="typedefs itemMembers">
1039
1040 </ul>
1041 <ul class="methods itemMembers">
1042
1043 <span class="subtitle">Methods</span>
1044
1045 <li data-name="LuCI.XHR#abort"><a href="LuCI.XHR.html#abort">abort</a></li>
1046
1047 <li data-name="LuCI.XHR#busy"><a href="LuCI.XHR.html#busy">busy</a></li>
1048
1049 <li data-name="LuCI.XHR#cancel"><a href="LuCI.XHR.html#cancel">cancel</a></li>
1050
1051 <li data-name="LuCI.XHR#get"><a href="LuCI.XHR.html#get">get</a></li>
1052
1053 <li data-name="LuCI.XHR#post"><a href="LuCI.XHR.html#post">post</a></li>
1054
1055 <li data-name="LuCI.XHR#send_form"><a href="LuCI.XHR.html#send_form">send_form</a></li>
1056
1057 </ul>
1058 <ul class="events itemMembers">
1059
1060 </ul>
1061 </li>
1062
1063 </ul>
1064 </div>
1065 <div class="main">
1066 <h1 class="page-title" data-filename="LuCI.Network.WifiNetwork.html">Class: WifiNetwork</h1>
1067
1068
1069
1070
1071 <section>
1072
1073 <header>
1074 <h2>
1075 <span class="ancestors"><a href="LuCI.html">LuCI</a><a href="LuCI.Network.html">.Network</a>.</span>
1076
1077 WifiNetwork
1078 </h2>
1079
1080 <div class="class-description"><p>A <code>Network.WifiNetwork</code> instance represents a wireless network (vif)
1081 configured on top of a radio device and provides functions for querying
1082 the runtime state of the network. Most radio devices support multiple
1083 such networks in parallel.</p></div>
1084
1085 </header>
1086
1087 <article>
1088 <div class="container-overview">
1089
1090
1091
1092
1093 <dt>
1094 <div class="nameContainer">
1095 <h4 class="name" id="WifiNetwork">
1096
1097 new LuCI.Network.WifiNetwork<span class="signature">()</span>
1098 </h4>
1099
1100
1101 <div class="tag-source">
1102 network.js, line 3280
1103 </div>
1104
1105 </div>
1106
1107
1108 </dt>
1109 <dd>
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120 <dl class="details">
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142 </dl>
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156 </dd>
1157
1158
1159 </div>
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174 <h3 class="subsection-title">Methods</h3>
1175
1176 <dl>
1177
1178 <dt>
1179 <div class="nameContainer">
1180 <h4 class="name" id="get">
1181
1182 get<span class="signature">(opt)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.&lt;string>}</span>
1183 </h4>
1184
1185
1186 <div class="tag-source">
1187 network.js, line 3313
1188 </div>
1189
1190 </div>
1191
1192
1193 </dt>
1194 <dd>
1195
1196
1197 <div class="description">
1198 <p>Read the given UCI option value of this wireless network.</p>
1199 </div>
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209 <table class="params">
1210 <thead>
1211 <tr>
1212
1213 <th>Name</th>
1214
1215
1216 <th>Type</th>
1217
1218
1219
1220 <th class="last">Description</th>
1221 </tr>
1222 </thead>
1223
1224 <tbody>
1225
1226
1227 <tr>
1228
1229 <td class="name"><code>opt</code></td>
1230
1231
1232 <td class="type">
1233
1234
1235 <span class="param-type">string</span>
1236
1237
1238
1239 </td>
1240
1241
1242
1243 <td class="description last">
1244
1245 <p>The UCI option name to read.</p></td>
1246 </tr>
1247
1248
1249 </tbody>
1250 </table>
1251
1252
1253
1254 <dl class="details">
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276 </dl>
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288 <h5>Returns:</h5>
1289
1290
1291
1292 <table class="params">
1293 <thead>
1294 <tr>
1295
1296 <th>Type</th>
1297 <th class="last">Description</th>
1298 </tr>
1299 </thead>
1300 <tbody>
1301
1302 <tr>
1303
1304 <td class="type">
1305
1306 null
1307 |
1308
1309 string
1310 |
1311
1312 Array.&lt;string>
1313
1314
1315 </td>
1316 <td class="description last">Returns the UCI option value or <code>null</code> if the requested option is
1317 not found.</td>
1318 </tr>
1319
1320 </tbody>
1321 </table>
1322
1323
1324
1325
1326 </dd>
1327
1328
1329
1330 <dt>
1331 <div class="nameContainer">
1332 <h4 class="name" id="getActiveBSSID">
1333
1334 getActiveBSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1335 </h4>
1336
1337
1338 <div class="tag-source">
1339 network.js, line 3566
1340 </div>
1341
1342 </div>
1343
1344
1345 </dt>
1346 <dd>
1347
1348
1349 <div class="description">
1350 <p>Query the current BSSID from runtime information.</p>
1351 </div>
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361 <dl class="details">
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383 </dl>
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395 <h5>Returns:</h5>
1396
1397
1398
1399 <table class="params">
1400 <thead>
1401 <tr>
1402
1403 <th>Type</th>
1404 <th class="last">Description</th>
1405 </tr>
1406 </thead>
1407 <tbody>
1408
1409 <tr>
1410
1411 <td class="type">
1412
1413 string
1414
1415
1416 </td>
1417 <td class="description last">Returns the current BSSID or Mesh ID as reported by <code>ubus</code> runtime
1418 information.</td>
1419 </tr>
1420
1421 </tbody>
1422 </table>
1423
1424
1425
1426
1427 </dd>
1428
1429
1430
1431 <dt>
1432 <div class="nameContainer">
1433 <h4 class="name" id="getActiveEncryption">
1434
1435 getActiveEncryption<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1436 </h4>
1437
1438
1439 <div class="tag-source">
1440 network.js, line 3577
1441 </div>
1442
1443 </div>
1444
1445
1446 </dt>
1447 <dd>
1448
1449
1450 <div class="description">
1451 <p>Query the current encryption settings from runtime information.</p>
1452 </div>
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462 <dl class="details">
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484 </dl>
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496 <h5>Returns:</h5>
1497
1498
1499
1500 <table class="params">
1501 <thead>
1502 <tr>
1503
1504 <th>Type</th>
1505 <th class="last">Description</th>
1506 </tr>
1507 </thead>
1508 <tbody>
1509
1510 <tr>
1511
1512 <td class="type">
1513
1514 string
1515
1516
1517 </td>
1518 <td class="description last">Returns a string describing the current encryption or <code>-</code> if the the
1519 encryption state could not be found in <code>ubus</code> runtime information.</td>
1520 </tr>
1521
1522 </tbody>
1523 </table>
1524
1525
1526
1527
1528 </dd>
1529
1530
1531
1532 <dt>
1533 <div class="nameContainer">
1534 <h4 class="name" id="getActiveMode">
1535
1536 getActiveMode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1537 </h4>
1538
1539
1540 <div class="tag-source">
1541 network.js, line 3514
1542 </div>
1543
1544 </div>
1545
1546
1547 </dt>
1548 <dd>
1549
1550
1551 <div class="description">
1552 <p>Query the current operation mode from runtime information.</p>
1553 </div>
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563 <dl class="details">
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585 </dl>
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597 <h5>Returns:</h5>
1598
1599
1600
1601 <table class="params">
1602 <thead>
1603 <tr>
1604
1605 <th>Type</th>
1606 <th class="last">Description</th>
1607 </tr>
1608 </thead>
1609 <tbody>
1610
1611 <tr>
1612
1613 <td class="type">
1614
1615 string
1616
1617
1618 </td>
1619 <td class="description last">Returns the human readable mode name as reported by <code>ubus</code> runtime
1620 state. Possible returned values are:
1621 <ul>
1622 <li><code>Master</code></li>
1623 <li><code>Ad-Hoc</code></li>
1624 <li><code>Client</code></li>
1625 <li><code>Monitor</code></li>
1626 <li><code>Master (VLAN)</code></li>
1627 <li><code>WDS</code></li>
1628 <li><code>Mesh Point</code></li>
1629 <li><code>P2P Client</code></li>
1630 <li><code>P2P Go</code></li>
1631 <li><code>Unknown</code></li>
1632 </ul></td>
1633 </tr>
1634
1635 </tbody>
1636 </table>
1637
1638
1639
1640
1641 </dd>
1642
1643
1644
1645 <dt>
1646 <div class="nameContainer">
1647 <h4 class="name" id="getActiveModeI18n">
1648
1649 getActiveModeI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1650 </h4>
1651
1652
1653 <div class="tag-source">
1654 network.js, line 3535
1655 </div>
1656
1657 </div>
1658
1659
1660 </dt>
1661 <dd>
1662
1663
1664 <div class="description">
1665 <p>Query the current operation mode from runtime information as
1666 translated string.</p>
1667 </div>
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677 <dl class="details">
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699 </dl>
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711 <h5>Returns:</h5>
1712
1713
1714
1715 <table class="params">
1716 <thead>
1717 <tr>
1718
1719 <th>Type</th>
1720 <th class="last">Description</th>
1721 </tr>
1722 </thead>
1723 <tbody>
1724
1725 <tr>
1726
1727 <td class="type">
1728
1729 string
1730
1731
1732 </td>
1733 <td class="description last">Returns the translated, human readable mode name as reported by
1734 <code>ubus</code> runtime state.</td>
1735 </tr>
1736
1737 </tbody>
1738 </table>
1739
1740
1741
1742
1743 </dd>
1744
1745
1746
1747 <dt>
1748 <div class="nameContainer">
1749 <h4 class="name" id="getActiveSSID">
1750
1751 getActiveSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1752 </h4>
1753
1754
1755 <div class="tag-source">
1756 network.js, line 3555
1757 </div>
1758
1759 </div>
1760
1761
1762 </dt>
1763 <dd>
1764
1765
1766 <div class="description">
1767 <p>Query the current SSID from runtime information.</p>
1768 </div>
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778 <dl class="details">
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800 </dl>
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812 <h5>Returns:</h5>
1813
1814
1815
1816 <table class="params">
1817 <thead>
1818 <tr>
1819
1820 <th>Type</th>
1821 <th class="last">Description</th>
1822 </tr>
1823 </thead>
1824 <tbody>
1825
1826 <tr>
1827
1828 <td class="type">
1829
1830 string
1831
1832
1833 </td>
1834 <td class="description last">Returns the current SSID or Mesh ID as reported by <code>ubus</code> runtime
1835 information.</td>
1836 </tr>
1837
1838 </tbody>
1839 </table>
1840
1841
1842
1843
1844 </dd>
1845
1846
1847
1848 <dt>
1849 <div class="nameContainer">
1850 <h4 class="name" id="getAssocList">
1851
1852 getAssocList<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;Array.&lt;<a href="LuCI.Network.html#.WifiPeerEntry">LuCI.Network.WifiPeerEntry</a>>>}</span>
1853 </h4>
1854
1855
1856 <div class="tag-source">
1857 network.js, line 3757
1858 </div>
1859
1860 </div>
1861
1862
1863 </dt>
1864 <dd>
1865
1866
1867 <div class="description">
1868 <p>Fetch the list of associated peers.</p>
1869 </div>
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879 <dl class="details">
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901 </dl>
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913 <h5>Returns:</h5>
1914
1915
1916
1917 <table class="params">
1918 <thead>
1919 <tr>
1920
1921 <th>Type</th>
1922 <th class="last">Description</th>
1923 </tr>
1924 </thead>
1925 <tbody>
1926
1927 <tr>
1928
1929 <td class="type">
1930
1931 Promise.&lt;Array.&lt;<a href="LuCI.Network.html#.WifiPeerEntry">LuCI.Network.WifiPeerEntry</a>>>
1932
1933
1934 </td>
1935 <td class="description last">Returns a promise resolving to an array of wireless peers associated
1936 with this network.</td>
1937 </tr>
1938
1939 </tbody>
1940 </table>
1941
1942
1943
1944
1945 </dd>
1946
1947
1948
1949 <dt>
1950 <div class="nameContainer">
1951 <h4 class="name" id="getBitRate">
1952
1953 getBitRate<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
1954 </h4>
1955
1956
1957 <div class="tag-source">
1958 network.js, line 3787
1959 </div>
1960
1961 </div>
1962
1963
1964 </dt>
1965 <dd>
1966
1967
1968 <div class="description">
1969 <p>Query the current average bitrate of all peers associated to this
1970 wireless network.</p>
1971 </div>
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981 <dl class="details">
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003 </dl>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015 <h5>Returns:</h5>
2016
2017
2018
2019 <table class="params">
2020 <thead>
2021 <tr>
2022
2023 <th>Type</th>
2024 <th class="last">Description</th>
2025 </tr>
2026 </thead>
2027 <tbody>
2028
2029 <tr>
2030
2031 <td class="type">
2032
2033 null
2034 |
2035
2036 number
2037
2038
2039 </td>
2040 <td class="description last">Returns the average bit rate among all peers associated to the network
2041 as reported by <code>ubus</code> runtime information or <code>null</code> if the information
2042 is not available.</td>
2043 </tr>
2044
2045 </tbody>
2046 </table>
2047
2048
2049
2050
2051 </dd>
2052
2053
2054
2055 <dt>
2056 <div class="nameContainer">
2057 <h4 class="name" id="getBSSID">
2058
2059 getBSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2060 </h4>
2061
2062
2063 <div class="tag-source">
2064 network.js, line 3392
2065 </div>
2066
2067 </div>
2068
2069
2070 </dt>
2071 <dd>
2072
2073
2074 <div class="description">
2075 <p>Get the configured BSSID of the wireless network.</p>
2076 </div>
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086 <dl class="details">
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108 </dl>
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120 <h5>Returns:</h5>
2121
2122
2123
2124 <table class="params">
2125 <thead>
2126 <tr>
2127
2128 <th>Type</th>
2129 <th class="last">Description</th>
2130 </tr>
2131 </thead>
2132 <tbody>
2133
2134 <tr>
2135
2136 <td class="type">
2137
2138 null
2139 |
2140
2141 string
2142
2143
2144 </td>
2145 <td class="description last">Returns the BSSID value or <code>null</code> if none has been specified.</td>
2146 </tr>
2147
2148 </tbody>
2149 </table>
2150
2151
2152
2153
2154 </dd>
2155
2156
2157
2158 <dt>
2159 <div class="nameContainer">
2160 <h4 class="name" id="getChannel">
2161
2162 getChannel<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
2163 </h4>
2164
2165
2166 <div class="tag-source">
2167 network.js, line 3803
2168 </div>
2169
2170 </div>
2171
2172
2173 </dt>
2174 <dd>
2175
2176
2177 <div class="description">
2178 <p>Query the current wireless channel.</p>
2179 </div>
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189 <dl class="details">
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211 </dl>
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223 <h5>Returns:</h5>
2224
2225
2226
2227 <table class="params">
2228 <thead>
2229 <tr>
2230
2231 <th>Type</th>
2232 <th class="last">Description</th>
2233 </tr>
2234 </thead>
2235 <tbody>
2236
2237 <tr>
2238
2239 <td class="type">
2240
2241 null
2242 |
2243
2244 number
2245
2246
2247 </td>
2248 <td class="description last">Returns the wireless channel as reported by <code>ubus</code> runtime information
2249 or <code>null</code> if it cannot be determined.</td>
2250 </tr>
2251
2252 </tbody>
2253 </table>
2254
2255
2256
2257
2258 </dd>
2259
2260
2261
2262 <dt>
2263 <div class="nameContainer">
2264 <h4 class="name" id="getCountryCode">
2265
2266 getCountryCode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2267 </h4>
2268
2269
2270 <div class="tag-source">
2271 network.js, line 3836
2272 </div>
2273
2274 </div>
2275
2276
2277 </dt>
2278 <dd>
2279
2280
2281 <div class="description">
2282 <p>Query the current country code.</p>
2283 </div>
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293 <dl class="details">
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315 </dl>
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327 <h5>Returns:</h5>
2328
2329
2330
2331 <table class="params">
2332 <thead>
2333 <tr>
2334
2335 <th>Type</th>
2336 <th class="last">Description</th>
2337 </tr>
2338 </thead>
2339 <tbody>
2340
2341 <tr>
2342
2343 <td class="type">
2344
2345 string
2346
2347
2348 </td>
2349 <td class="description last">Returns the wireless country code as reported by <code>ubus</code> runtime
2350 information or <code>00</code> if it cannot be determined.</td>
2351 </tr>
2352
2353 </tbody>
2354 </table>
2355
2356
2357
2358
2359 </dd>
2360
2361
2362
2363 <dt>
2364 <div class="nameContainer">
2365 <h4 class="name" id="getDevice">
2366
2367 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>
2368 </h4>
2369
2370
2371 <div class="tag-source">
2372 network.js, line 3982
2373 </div>
2374
2375 </div>
2376
2377
2378 </dt>
2379 <dd>
2380
2381
2382 <div class="description">
2383 <p>Get the associated Linux network device.</p>
2384 </div>
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394 <dl class="details">
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416 </dl>
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428 <h5>Returns:</h5>
2429
2430
2431
2432 <table class="params">
2433 <thead>
2434 <tr>
2435
2436 <th>Type</th>
2437 <th class="last">Description</th>
2438 </tr>
2439 </thead>
2440 <tbody>
2441
2442 <tr>
2443
2444 <td class="type">
2445
2446 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
2447
2448
2449 </td>
2450 <td class="description last">Returns a <code>Network.Device</code> instance representing the Linux network
2451 device associted with this wireless network.</td>
2452 </tr>
2453
2454 </tbody>
2455 </table>
2456
2457
2458
2459
2460 </dd>
2461
2462
2463
2464 <dt>
2465 <div class="nameContainer">
2466 <h4 class="name" id="getFrequency">
2467
2468 getFrequency<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2469 </h4>
2470
2471
2472 <div class="tag-source">
2473 network.js, line 3769
2474 </div>
2475
2476 </div>
2477
2478
2479 </dt>
2480 <dd>
2481
2482
2483 <div class="description">
2484 <p>Query the current operating frequency of the wireless network.</p>
2485 </div>
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495 <dl class="details">
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517 </dl>
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529 <h5>Returns:</h5>
2530
2531
2532
2533 <table class="params">
2534 <thead>
2535 <tr>
2536
2537 <th>Type</th>
2538 <th class="last">Description</th>
2539 </tr>
2540 </thead>
2541 <tbody>
2542
2543 <tr>
2544
2545 <td class="type">
2546
2547 null
2548 |
2549
2550 string
2551
2552
2553 </td>
2554 <td class="description last">Returns the current operating frequency of the network from <code>ubus</code>
2555 runtime information in GHz or <code>null</code> if the information is not
2556 available.</td>
2557 </tr>
2558
2559 </tbody>
2560 </table>
2561
2562
2563
2564
2565 </dd>
2566
2567
2568
2569 <dt>
2570 <div class="nameContainer">
2571 <h4 class="name" id="getI18n">
2572
2573 getI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2574 </h4>
2575
2576
2577 <div class="tag-source">
2578 network.js, line 3930
2579 </div>
2580
2581 </div>
2582
2583
2584 </dt>
2585 <dd>
2586
2587
2588 <div class="description">
2589 <p>Get a description string for this wireless network.</p>
2590 </div>
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600 <dl class="details">
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622 </dl>
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634 <h5>Returns:</h5>
2635
2636
2637
2638 <table class="params">
2639 <thead>
2640 <tr>
2641
2642 <th>Type</th>
2643 <th class="last">Description</th>
2644 </tr>
2645 </thead>
2646 <tbody>
2647
2648 <tr>
2649
2650 <td class="type">
2651
2652 string
2653
2654
2655 </td>
2656 <td class="description last">Returns a string describing this network, consisting of the
2657 term <code>Wireless Network</code>, followed by the active operation mode,
2658 the SSID, BSSID or internal network ID and the Linux network device
2659 name, depending on which information is available.</td>
2660 </tr>
2661
2662 </tbody>
2663 </table>
2664
2665
2666
2667
2668 </dd>
2669
2670
2671
2672 <dt>
2673 <div class="nameContainer">
2674 <h4 class="name" id="getID">
2675
2676 getID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2677 </h4>
2678
2679
2680 <div class="tag-source">
2681 network.js, line 3417
2682 </div>
2683
2684 </div>
2685
2686
2687 </dt>
2688 <dd>
2689
2690
2691 <div class="description">
2692 <p>Get the internal network ID of this wireless network.</p>
2693 <p>The network ID is a LuCI specific identifer in the form
2694 <code>radio#.network#</code> to identify wireless networks by their corresponding
2695 radio and network index numbers.</p>
2696 </div>
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706 <dl class="details">
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728 </dl>
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740 <h5>Returns:</h5>
2741
2742
2743
2744 <table class="params">
2745 <thead>
2746 <tr>
2747
2748 <th>Type</th>
2749 <th class="last">Description</th>
2750 </tr>
2751 </thead>
2752 <tbody>
2753
2754 <tr>
2755
2756 <td class="type">
2757
2758 string
2759
2760
2761 </td>
2762 <td class="description last">Returns the LuCI specific network ID.</td>
2763 </tr>
2764
2765 </tbody>
2766 </table>
2767
2768
2769
2770
2771 </dd>
2772
2773
2774
2775 <dt>
2776 <div class="nameContainer">
2777 <h4 class="name" id="getIfname">
2778
2779 getIfname<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2780 </h4>
2781
2782
2783 <div class="tag-source">
2784 network.js, line 3439
2785 </div>
2786
2787 </div>
2788
2789
2790 </dt>
2791 <dd>
2792
2793
2794 <div class="description">
2795 <p>Get the Linux network device name.</p>
2796 </div>
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806 <dl class="details">
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828 </dl>
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840 <h5>Returns:</h5>
2841
2842
2843
2844 <table class="params">
2845 <thead>
2846 <tr>
2847
2848 <th>Type</th>
2849 <th class="last">Description</th>
2850 </tr>
2851 </thead>
2852 <tbody>
2853
2854 <tr>
2855
2856 <td class="type">
2857
2858 null
2859 |
2860
2861 string
2862
2863
2864 </td>
2865 <td class="description last">Returns the current Linux network device name as resolved from
2866 <code>ubus</code> runtime information or <code>null</code> if this network has no
2867 associated network device, e.g. when not configured or up.</td>
2868 </tr>
2869
2870 </tbody>
2871 </table>
2872
2873
2874
2875
2876 </dd>
2877
2878
2879
2880 <dt>
2881 <div class="nameContainer">
2882 <h4 class="name" id="getMeshID">
2883
2884 getMeshID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2885 </h4>
2886
2887
2888 <div class="tag-source">
2889 network.js, line 3379
2890 </div>
2891
2892 </div>
2893
2894
2895 </dt>
2896 <dd>
2897
2898
2899 <div class="description">
2900 <p>Get the configured Mesh ID of the wireless network.</p>
2901 </div>
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911 <dl class="details">
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933 </dl>
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945 <h5>Returns:</h5>
2946
2947
2948
2949 <table class="params">
2950 <thead>
2951 <tr>
2952
2953 <th>Type</th>
2954 <th class="last">Description</th>
2955 </tr>
2956 </thead>
2957 <tbody>
2958
2959 <tr>
2960
2961 <td class="type">
2962
2963 null
2964 |
2965
2966 string
2967
2968
2969 </td>
2970 <td class="description last">Returns the configured mesh ID value or <code>null</code> when this network
2971 is not in mesh mode.</td>
2972 </tr>
2973
2974 </tbody>
2975 </table>
2976
2977
2978
2979
2980 </dd>
2981
2982
2983
2984 <dt>
2985 <div class="nameContainer">
2986 <h4 class="name" id="getMode">
2987
2988 getMode<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2989 </h4>
2990
2991
2992 <div class="tag-source">
2993 network.js, line 3354
2994 </div>
2995
2996 </div>
2997
2998
2999 </dt>
3000 <dd>
3001
3002
3003 <div class="description">
3004 <p>Get the configured operation mode of the wireless network.</p>
3005 </div>
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015 <dl class="details">
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037 </dl>
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049 <h5>Returns:</h5>
3050
3051
3052
3053 <table class="params">
3054 <thead>
3055 <tr>
3056
3057 <th>Type</th>
3058 <th class="last">Description</th>
3059 </tr>
3060 </thead>
3061 <tbody>
3062
3063 <tr>
3064
3065 <td class="type">
3066
3067 string
3068
3069
3070 </td>
3071 <td class="description last">Returns the configured operation mode. Possible values are:
3072 <ul>
3073 <li><code>ap</code> - Master (Access Point) mode</li>
3074 <li><code>sta</code> - Station (client) mode</li>
3075 <li><code>adhoc</code> - Ad-Hoc (IBSS) mode</li>
3076 <li><code>mesh</code> - Mesh (IEEE 802.11s) mode</li>
3077 <li><code>monitor</code> - Monitor mode</li>
3078 </ul></td>
3079 </tr>
3080
3081 </tbody>
3082 </table>
3083
3084
3085
3086
3087 </dd>
3088
3089
3090
3091 <dt>
3092 <div class="nameContainer">
3093 <h4 class="name" id="getName">
3094
3095 getName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3096 </h4>
3097
3098
3099 <div class="tag-source">
3100 network.js, line 3427
3101 </div>
3102
3103 </div>
3104
3105
3106 </dt>
3107 <dd>
3108
3109
3110 <div class="description">
3111 <p>Get the configuration ID of this wireless network.</p>
3112 </div>
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122 <dl class="details">
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144 </dl>
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156 <h5>Returns:</h5>
3157
3158
3159
3160 <table class="params">
3161 <thead>
3162 <tr>
3163
3164 <th>Type</th>
3165 <th class="last">Description</th>
3166 </tr>
3167 </thead>
3168 <tbody>
3169
3170 <tr>
3171
3172 <td class="type">
3173
3174 string
3175
3176
3177 </td>
3178 <td class="description last">Returns the corresponding UCI section ID of the network.</td>
3179 </tr>
3180
3181 </tbody>
3182 </table>
3183
3184
3185
3186
3187 </dd>
3188
3189
3190
3191 <dt>
3192 <div class="nameContainer">
3193 <h4 class="name" id="getNetwork">
3194
3195 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>
3196 </h4>
3197
3198
3199 <div class="tag-source">
3200 network.js, line 3946
3201 </div>
3202
3203 </div>
3204
3205
3206 </dt>
3207 <dd>
3208
3209
3210 <div class="description">
3211 <p>Get the primary logical interface this wireless network is attached to.</p>
3212 </div>
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222 <dl class="details">
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244 </dl>
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256 <h5>Returns:</h5>
3257
3258
3259
3260 <table class="params">
3261 <thead>
3262 <tr>
3263
3264 <th>Type</th>
3265 <th class="last">Description</th>
3266 </tr>
3267 </thead>
3268 <tbody>
3269
3270 <tr>
3271
3272 <td class="type">
3273
3274 null
3275 |
3276
3277 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
3278
3279
3280 </td>
3281 <td class="description last">Returns a <code>Network.Protocol</code> instance representing the logical
3282 interface or <code>null</code> if this network is not attached to any logical
3283 interface.</td>
3284 </tr>
3285
3286 </tbody>
3287 </table>
3288
3289
3290
3291
3292 </dd>
3293
3294
3295
3296 <dt>
3297 <div class="nameContainer">
3298 <h4 class="name" id="getNetworkNames">
3299
3300 getNetworkNames<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;string>}</span>
3301 </h4>
3302
3303
3304 <div class="tag-source">
3305 network.js, line 3403
3306 </div>
3307
3308 </div>
3309
3310
3311 </dt>
3312 <dd>
3313
3314
3315 <div class="description">
3316 <p>Get the names of the logical interfaces this wireless network is
3317 attached to.</p>
3318 </div>
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328 <dl class="details">
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350 </dl>
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362 <h5>Returns:</h5>
3363
3364
3365
3366 <table class="params">
3367 <thead>
3368 <tr>
3369
3370 <th>Type</th>
3371 <th class="last">Description</th>
3372 </tr>
3373 </thead>
3374 <tbody>
3375
3376 <tr>
3377
3378 <td class="type">
3379
3380 Array.&lt;string>
3381
3382
3383 </td>
3384 <td class="description last">Returns an array of logical interface names.</td>
3385 </tr>
3386
3387 </tbody>
3388 </table>
3389
3390
3391
3392
3393 </dd>
3394
3395
3396
3397 <dt>
3398 <div class="nameContainer">
3399 <h4 class="name" id="getNetworks">
3400
3401 getNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;<a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>>}</span>
3402 </h4>
3403
3404
3405 <div class="tag-source">
3406 network.js, line 3957
3407 </div>
3408
3409 </div>
3410
3411
3412 </dt>
3413 <dd>
3414
3415
3416 <div class="description">
3417 <p>Get the logical interfaces this wireless network is attached to.</p>
3418 </div>
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428 <dl class="details">
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450 </dl>
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462 <h5>Returns:</h5>
3463
3464
3465
3466 <table class="params">
3467 <thead>
3468 <tr>
3469
3470 <th>Type</th>
3471 <th class="last">Description</th>
3472 </tr>
3473 </thead>
3474 <tbody>
3475
3476 <tr>
3477
3478 <td class="type">
3479
3480 Array.&lt;<a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>>
3481
3482
3483 </td>
3484 <td class="description last">Returns an array of <code>Network.Protocol</code> instances representing the
3485 logical interfaces this wireless network is attached to.</td>
3486 </tr>
3487
3488 </tbody>
3489 </table>
3490
3491
3492
3493
3494 </dd>
3495
3496
3497
3498 <dt>
3499 <div class="nameContainer">
3500 <h4 class="name" id="getNoise">
3501
3502 getNoise<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
3503 </h4>
3504
3505
3506 <div class="tag-source">
3507 network.js, line 3825
3508 </div>
3509
3510 </div>
3511
3512
3513 </dt>
3514 <dd>
3515
3516
3517 <div class="description">
3518 <p>Query the current radio noise floor.</p>
3519 </div>
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529 <dl class="details">
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551 </dl>
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563 <h5>Returns:</h5>
3564
3565
3566
3567 <table class="params">
3568 <thead>
3569 <tr>
3570
3571 <th>Type</th>
3572 <th class="last">Description</th>
3573 </tr>
3574 </thead>
3575 <tbody>
3576
3577 <tr>
3578
3579 <td class="type">
3580
3581 number
3582
3583
3584 </td>
3585 <td class="description last">Returns the radio noise floor in dBm as reported by <code>ubus</code> runtime
3586 information or <code>0</code> if it cannot be determined.</td>
3587 </tr>
3588
3589 </tbody>
3590 </table>
3591
3592
3593
3594
3595 </dd>
3596
3597
3598
3599 <dt>
3600 <div class="nameContainer">
3601 <h4 class="name" id="getShortName">
3602
3603 getShortName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3604 </h4>
3605
3606
3607 <div class="tag-source">
3608 network.js, line 3915
3609 </div>
3610
3611 </div>
3612
3613
3614 </dt>
3615 <dd>
3616
3617
3618 <div class="description">
3619 <p>Get a short description string for this wireless network.</p>
3620 </div>
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630 <dl class="details">
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652 </dl>
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664 <h5>Returns:</h5>
3665
3666
3667
3668 <table class="params">
3669 <thead>
3670 <tr>
3671
3672 <th>Type</th>
3673 <th class="last">Description</th>
3674 </tr>
3675 </thead>
3676 <tbody>
3677
3678 <tr>
3679
3680 <td class="type">
3681
3682 string
3683
3684
3685 </td>
3686 <td class="description last">Returns a string describing this network, consisting of the
3687 active operation mode, followed by either the SSID, BSSID or
3688 internal network ID, depending on which information is available.</td>
3689 </tr>
3690
3691 </tbody>
3692 </table>
3693
3694
3695
3696
3697 </dd>
3698
3699
3700
3701 <dt>
3702 <div class="nameContainer">
3703 <h4 class="name" id="getSignal">
3704
3705 getSignal<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
3706 </h4>
3707
3708
3709 <div class="tag-source">
3710 network.js, line 3814
3711 </div>
3712
3713 </div>
3714
3715
3716 </dt>
3717 <dd>
3718
3719
3720 <div class="description">
3721 <p>Query the current wireless signal.</p>
3722 </div>
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732 <dl class="details">
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754 </dl>
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766 <h5>Returns:</h5>
3767
3768
3769
3770 <table class="params">
3771 <thead>
3772 <tr>
3773
3774 <th>Type</th>
3775 <th class="last">Description</th>
3776 </tr>
3777 </thead>
3778 <tbody>
3779
3780 <tr>
3781
3782 <td class="type">
3783
3784 null
3785 |
3786
3787 number
3788
3789
3790 </td>
3791 <td class="description last">Returns the wireless signal in dBm as reported by <code>ubus</code> runtime
3792 information or <code>null</code> if it cannot be determined.</td>
3793 </tr>
3794
3795 </tbody>
3796 </table>
3797
3798
3799
3800
3801 </dd>
3802
3803
3804
3805 <dt>
3806 <div class="nameContainer">
3807 <h4 class="name" id="getSignalLevel">
3808
3809 getSignalLevel<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
3810 </h4>
3811
3812
3813 <div class="tag-source">
3814 network.js, line 3874
3815 </div>
3816
3817 </div>
3818
3819
3820 </dt>
3821 <dd>
3822
3823
3824 <div class="description">
3825 <p>Calculate the current signal.</p>
3826 </div>
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836 <dl class="details">
3837
3838
3839
3840
3841
3842
3843
3844 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860 </dl>
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872 <h5>Returns:</h5>
3873
3874
3875
3876 <table class="params">
3877 <thead>
3878 <tr>
3879
3880 <th>Type</th>
3881 <th class="last">Description</th>
3882 </tr>
3883 </thead>
3884 <tbody>
3885
3886 <tr>
3887
3888 <td class="type">
3889
3890 number
3891
3892
3893 </td>
3894 <td class="description last">Returns the calculated signal level, which is the difference between
3895 noise and signal (SNR), divided by 5.</td>
3896 </tr>
3897
3898 </tbody>
3899 </table>
3900
3901
3902
3903
3904 </dd>
3905
3906
3907
3908 <dt>
3909 <div class="nameContainer">
3910 <h4 class="name" id="getSignalPercent">
3911
3912 getSignalPercent<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
3913 </h4>
3914
3915
3916 <div class="tag-source">
3917 network.js, line 3897
3918 </div>
3919
3920 </div>
3921
3922
3923 </dt>
3924 <dd>
3925
3926
3927 <div class="description">
3928 <p>Calculate the current signal quality percentage.</p>
3929 </div>
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939 <dl class="details">
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961 </dl>
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973 <h5>Returns:</h5>
3974
3975
3976
3977 <table class="params">
3978 <thead>
3979 <tr>
3980
3981 <th>Type</th>
3982 <th class="last">Description</th>
3983 </tr>
3984 </thead>
3985 <tbody>
3986
3987 <tr>
3988
3989 <td class="type">
3990
3991 number
3992
3993
3994 </td>
3995 <td class="description last">Returns the calculated signal quality in percent. The value is
3996 calculated from the <code>quality</code> and <code>quality_max</code> indicators reported
3997 by <code>ubus</code> runtime state.</td>
3998 </tr>
3999
4000 </tbody>
4001 </table>
4002
4003
4004
4005
4006 </dd>
4007
4008
4009
4010 <dt>
4011 <div class="nameContainer">
4012 <h4 class="name" id="getSSID">
4013
4014 getSSID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
4015 </h4>
4016
4017
4018 <div class="tag-source">
4019 network.js, line 3365
4020 </div>
4021
4022 </div>
4023
4024
4025 </dt>
4026 <dd>
4027
4028
4029 <div class="description">
4030 <p>Get the configured SSID of the wireless network.</p>
4031 </div>
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041 <dl class="details">
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063 </dl>
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075 <h5>Returns:</h5>
4076
4077
4078
4079 <table class="params">
4080 <thead>
4081 <tr>
4082
4083 <th>Type</th>
4084 <th class="last">Description</th>
4085 </tr>
4086 </thead>
4087 <tbody>
4088
4089 <tr>
4090
4091 <td class="type">
4092
4093 null
4094 |
4095
4096 string
4097
4098
4099 </td>
4100 <td class="description last">Returns the configured SSID value or <code>null</code> when this network is
4101 in mesh mode.</td>
4102 </tr>
4103
4104 </tbody>
4105 </table>
4106
4107
4108
4109
4110 </dd>
4111
4112
4113
4114 <dt>
4115 <div class="nameContainer">
4116 <h4 class="name" id="getTXPower">
4117
4118 getTXPower<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
4119 </h4>
4120
4121
4122 <div class="tag-source">
4123 network.js, line 3847
4124 </div>
4125
4126 </div>
4127
4128
4129 </dt>
4130 <dd>
4131
4132
4133 <div class="description">
4134 <p>Query the current radio TX power.</p>
4135 </div>
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145 <dl class="details">
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167 </dl>
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179 <h5>Returns:</h5>
4180
4181
4182
4183 <table class="params">
4184 <thead>
4185 <tr>
4186
4187 <th>Type</th>
4188 <th class="last">Description</th>
4189 </tr>
4190 </thead>
4191 <tbody>
4192
4193 <tr>
4194
4195 <td class="type">
4196
4197 null
4198 |
4199
4200 number
4201
4202
4203 </td>
4204 <td class="description last">Returns the wireless network transmit power in dBm as reported by
4205 <code>ubus</code> runtime information or <code>null</code> if it cannot be determined.</td>
4206 </tr>
4207
4208 </tbody>
4209 </table>
4210
4211
4212
4213
4214 </dd>
4215
4216
4217
4218 <dt>
4219 <div class="nameContainer">
4220 <h4 class="name" id="getTXPowerOffset">
4221
4222 getTXPowerOffset<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
4223 </h4>
4224
4225
4226 <div class="tag-source">
4227 network.js, line 3862
4228 </div>
4229
4230 </div>
4231
4232
4233 </dt>
4234 <dd>
4235
4236
4237 <div class="description">
4238 <p>Query the radio TX power offset.</p>
4239 <p>Some wireless radios have a fixed power offset, e.g. due to the
4240 use of external amplifiers.</p>
4241 </div>
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251 <dl class="details">
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273 </dl>
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285 <h5>Returns:</h5>
4286
4287
4288
4289 <table class="params">
4290 <thead>
4291 <tr>
4292
4293 <th>Type</th>
4294 <th class="last">Description</th>
4295 </tr>
4296 </thead>
4297 <tbody>
4298
4299 <tr>
4300
4301 <td class="type">
4302
4303 number
4304
4305
4306 </td>
4307 <td class="description last">Returns the wireless network transmit power offset in dBm as reported
4308 by <code>ubus</code> runtime information or <code>0</code> if there is no offset, or if it
4309 cannot be determined.</td>
4310 </tr>
4311
4312 </tbody>
4313 </table>
4314
4315
4316
4317
4318 </dd>
4319
4320
4321
4322 <dt>
4323 <div class="nameContainer">
4324 <h4 class="name" id="getWifiDevice">
4325
4326 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>
4327 </h4>
4328
4329
4330 <div class="tag-source">
4331 network.js, line 3467
4332 </div>
4333
4334 </div>
4335
4336
4337 </dt>
4338 <dd>
4339
4340
4341 <div class="description">
4342 <p>Get the corresponding wifi radio device.</p>
4343 </div>
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353 <dl class="details">
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375 </dl>
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387 <h5>Returns:</h5>
4388
4389
4390
4391 <table class="params">
4392 <thead>
4393 <tr>
4394
4395 <th>Type</th>
4396 <th class="last">Description</th>
4397 </tr>
4398 </thead>
4399 <tbody>
4400
4401 <tr>
4402
4403 <td class="type">
4404
4405 null
4406 |
4407
4408 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
4409
4410
4411 </td>
4412 <td class="description last">Returns a <code>Network.WifiDevice</code> instance representing the corresponding
4413 wifi radio device or <code>null</code> if the related radio device could not be
4414 found.</td>
4415 </tr>
4416
4417 </tbody>
4418 </table>
4419
4420
4421
4422
4423 </dd>
4424
4425
4426
4427 <dt>
4428 <div class="nameContainer">
4429 <h4 class="name" id="getWifiDeviceName">
4430
4431 getWifiDeviceName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
4432 </h4>
4433
4434
4435 <div class="tag-source">
4436 network.js, line 3455
4437 </div>
4438
4439 </div>
4440
4441
4442 </dt>
4443 <dd>
4444
4445
4446 <div class="description">
4447 <p>Get the name of the corresponding wifi radio device.</p>
4448 </div>
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458 <dl class="details">
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480 </dl>
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492 <h5>Returns:</h5>
4493
4494
4495
4496 <table class="params">
4497 <thead>
4498 <tr>
4499
4500 <th>Type</th>
4501 <th class="last">Description</th>
4502 </tr>
4503 </thead>
4504 <tbody>
4505
4506 <tr>
4507
4508 <td class="type">
4509
4510 null
4511 |
4512
4513 string
4514
4515
4516 </td>
4517 <td class="description last">Returns the name of the radio device this network is configured on
4518 or <code>null</code> if it cannot be determined.</td>
4519 </tr>
4520
4521 </tbody>
4522 </table>
4523
4524
4525
4526
4527 </dd>
4528
4529
4530
4531 <dt>
4532 <div class="nameContainer">
4533 <h4 class="name" id="isDisabled">
4534
4535 isDisabled<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4536 </h4>
4537
4538
4539 <div class="tag-source">
4540 network.js, line 3339
4541 </div>
4542
4543 </div>
4544
4545
4546 </dt>
4547 <dd>
4548
4549
4550 <div class="description">
4551 <p>Checks whether this wireless network is disabled.</p>
4552 </div>
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562 <dl class="details">
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584 </dl>
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596 <h5>Returns:</h5>
4597
4598
4599
4600 <table class="params">
4601 <thead>
4602 <tr>
4603
4604 <th>Type</th>
4605 <th class="last">Description</th>
4606 </tr>
4607 </thead>
4608 <tbody>
4609
4610 <tr>
4611
4612 <td class="type">
4613
4614 boolean
4615
4616
4617 </td>
4618 <td class="description last">Returns <code>true</code> when the wireless radio is marked as disabled in <code>ubus</code>
4619 runtime state or when the <code>disabled</code> option is set in the corresponding
4620 UCI configuration.</td>
4621 </tr>
4622
4623 </tbody>
4624 </table>
4625
4626
4627
4628
4629 </dd>
4630
4631
4632
4633 <dt>
4634 <div class="nameContainer">
4635 <h4 class="name" id="isUp">
4636
4637 isUp<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4638 </h4>
4639
4640
4641 <div class="tag-source">
4642 network.js, line 3488
4643 </div>
4644
4645 </div>
4646
4647
4648 </dt>
4649 <dd>
4650
4651
4652 <div class="description">
4653 <p>Check whether the radio network is up.</p>
4654 <p>This function actually queries the up state of the related radio
4655 device and assumes this network to be up as well when the parent
4656 radio is up. This is due to the fact that OpenWrt does not control
4657 virtual interfaces individually but within one common hostapd
4658 instance.</p>
4659 </div>
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669 <dl class="details">
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691 </dl>
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703 <h5>Returns:</h5>
4704
4705
4706
4707 <table class="params">
4708 <thead>
4709 <tr>
4710
4711 <th>Type</th>
4712 <th class="last">Description</th>
4713 </tr>
4714 </thead>
4715 <tbody>
4716
4717 <tr>
4718
4719 <td class="type">
4720
4721 boolean
4722
4723
4724 </td>
4725 <td class="description last">Returns <code>true</code> when the network is up, else <code>false</code>.</td>
4726 </tr>
4727
4728 </tbody>
4729 </table>
4730
4731
4732
4733
4734 </dd>
4735
4736
4737
4738 <dt>
4739 <div class="nameContainer">
4740 <h4 class="name" id="set">
4741
4742 set<span class="signature">(opt, val)</span>
4743 </h4>
4744
4745
4746 <div class="tag-source">
4747 network.js, line 3327
4748 </div>
4749
4750 </div>
4751
4752
4753 </dt>
4754 <dd>
4755
4756
4757 <div class="description">
4758 <p>Set the given UCI option of this network to the given value.</p>
4759 </div>
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769 <table class="params">
4770 <thead>
4771 <tr>
4772
4773 <th>Name</th>
4774
4775
4776 <th>Type</th>
4777
4778
4779
4780 <th class="last">Description</th>
4781 </tr>
4782 </thead>
4783
4784 <tbody>
4785
4786
4787 <tr>
4788
4789 <td class="name"><code>opt</code></td>
4790
4791
4792 <td class="type">
4793
4794
4795 <span class="param-type">string</span>
4796
4797
4798
4799 </td>
4800
4801
4802
4803 <td class="description last">
4804
4805 <p>The name of the UCI option to set.</p></td>
4806 </tr>
4807
4808
4809
4810 <tr>
4811
4812 <td class="name"><code>val</code></td>
4813
4814
4815 <td class="type">
4816
4817
4818 <span class="param-type">null</span>
4819 |
4820
4821 <span class="param-type">string</span>
4822 |
4823
4824 <span class="param-type">Array.&lt;string></span>
4825
4826
4827
4828 </td>
4829
4830
4831
4832 <td class="description last">
4833
4834 <p>The value to set or <code>null</code> to remove the given option from the
4835 configuration.</p></td>
4836 </tr>
4837
4838
4839 </tbody>
4840 </table>
4841
4842
4843
4844 <dl class="details">
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866 </dl>
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880 </dd>
4881
4882 </dl>
4883
4884
4885
4886
4887
4888
4889
4890 </article>
4891
4892 </section>
4893
4894
4895
4896
4897
4898
4899
4900 <footer>
4901 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Nov 05 2019 10:17:12 GMT+0100 (Central European Standard Time)
4902 </footer>
4903 </div>
4904 </div>
4905 <script>prettyPrint();</script>
4906 <script src="scripts/jaguar.js"></script>
4907 </body>
4908 </html>