2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
20 <table cellspacing="0" cellpadding="6" class="smalltext">
22 <th><%:interface%></th>
27 <th><%:iwscan_encr%></th>
28 <th><%:iwscan_link%></th>
29 <th><%:iwscan_signal%></th>
30 <th><%:iwscan_noise%></th>
32 <%for iface, cells in pairs(luci.sys.wifi.iwscan()) do
33 for i, cell in ipairs(cells) do
37 <td><%=cell.ESSID%></td>
38 <td><%=cell.Address%></td>
39 <td><%=cell.Mode%></td>
40 <td><%=(cell.Channel or cell.Frequency or "")%></td>
41 <td><%=cell["Encryption key"]%></td>
42 <td><%=cell.Quality%></td>
43 <td><%=cell["Signal level"]%></td>
44 <td><%=cell["Noise level"]%></td>