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
16 local iwconfig = luci.sys.wifi.getiwconfig()
17 if next(iwconfig) then
21 <table cellspacing="0" cellpadding="6" class="smalltext">
24 <th><%:protocol%></th>
25 <th><%:frequency%></th>
34 <%for k, v in pairs(iwconfig) do
37 <td rowspan="2"><%=k%></td>
39 <td><%=v.Frequency%></td>
40 <td><%=v["Tx-Power"]%></td>
41 <td><%=v["Bit Rate"]%></td>
42 <td><%=v["RTS thr"]%></td>
43 <td><%=v["Fragment thr"]%></td>
44 <td><%=v["Link Quality"]%></td>
45 <td><%=v["Signal level"]%></td>
46 <td><%=v["Noise level"]%></td>
49 <td colspan="4"><strong>ESSID: </strong><%=v.ESSID%></td>
50 <td colspan="5"><strong>BSSID: </strong><%=(v.Cell or v["Access Point"])%></td>