Commit graph

120 commits

Author SHA1 Message Date
Jo-Philipp Wich
1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Jo-Philipp Wich
89f270466c modules/admin-full: rework hwmode/htmode/channel selection
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-26 17:46:05 +01:00
Álvaro Fernández Rojas
0c3398c4b6 modules/admin-full: fix support for broadcom-wl modes
This adds N modes support for proprietary Broadcom WiFi driver and adds a/b/g modes detection.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-10-10 18:46:15 +02:00
Hannu Nyman
2a0e842d00 wifi.lua: Add support for toggling WPS button.
The patch checks the existence of the needed files for the WPS support and if they are present, shows the option to toggle WPS pushbutton settings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-10-10 15:48:54 +03:00
Stephan Günther
da022f9157 modules/admin-full: fix wifi channel selection on multiple STA networks
Besides several AP networks, I have configured two STA networks on my
openwrt box - both on the same radio and thus on the same channel.
This was done via LuCI.

However after both STA networks were set up, I am unable to edit the
channel on neither network. When editing the one STA network, LuCI
tells me that the channel is locked by the other STA network. Same for
the other STA network.

Looks like a bug to me, so I made a patch.

Signed-off-by: Stephan Günther <steph.guenther@googlemail.com>
2014-10-10 01:04:28 +02:00
Jo-Philipp Wich
d2c1882786 luci: initial 802.11ac support
While working with 802.11ac (ath10k) I've noticed the web interface
configuration missing basic support for 11ac devices - unable to set VHT
(htmode) and 11ac (hwmode).

This patch adds initial support for luci admin-full page and 802.11ac
MAC80211 devices.

v2:
* replace obsolete 11nac mode with 11a + vhtmode (jow in ticket: #17323)

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
[jow: fix typo in get_i18n()]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-04 09:38:10 +00:00
Manuel Munz
6f8daab6eb luci/po: spelling and grammar fixes by Alex Henrie 2014-08-05 10:21:03 +00:00
Jo-Philipp Wich
c9f7282d98 modules/admin-full: further simplify wifi config
Drop 11b support since its not properly supported by mac80211 anyway.
Rename 'hwmode' option to 'Band' and remove dependencies from 'htmode' field.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-05-24 12:40:11 +00:00
Jo-Philipp Wich
4496419e1d modules/admin-full: fix wifi config compatibility with current trunk
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-05-19 18:54:06 +00:00
Jo-Philipp Wich
2812cb14c5 modules/admin-full: replace another instance of legacy wifi calls with network reloads 2013-12-08 20:30:51 +00:00
Daniel Golle
59af400346 wifi: add controls for noscan flag
OpenWrt contains a patch for hostapd which allows to override the channel-bandwidth decission
to always use 40MHz regardless of overlapping networks.
Though it does not conform with IEEE 802.11n-2009, this became the de-facto standard behaviour
of most off-the-shelf wifi routers.

Adding this option to LuCI makes it more accessible to users, which probably not everybody will
agree with to be a good idea. However, I didn't yet come across a single commercial product which
actually complies with 802.11n-2009 in that regard.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-10-31 15:58:15 +00:00
Jo-Philipp Wich
02ac6686fe modules/admin-full: cope with undefined frequency lists 2012-09-26 17:34:58 +00:00
Daniel Golle
b70cdbdb7b support extant Antenna configuration 2012-08-15 16:31:41 +00:00
Jo-Philipp Wich
396350aaf4 modules/admin-full: rework help text for network_netlist widget 2012-08-09 23:44:18 +00:00
Jo-Philipp Wich
e183e134b8 modules/admin-full: remove usage of wifi.channels() 2012-08-08 20:22:15 +00:00
Jo-Philipp Wich
f0a99dd6c7 modules/admin-full: use luci.sys.net.mac_hints() in wifi maclist config 2012-08-08 15:20:10 +00:00
Jo-Philipp Wich
746a5be1a8 modules/admin-full: expose wmm option for mac80211 interfaces 2012-07-23 08:53:50 +00:00
Jo-Philipp Wich
2e924f7aa5 modules/admin-full: extend wifi model to allow assigning multiple networks 2012-06-26 21:49:18 +00:00
Daniel Golle
fb5d41c2a5 Only show the TX-power selector if the hardware supports more than one option.
Some mac80211 drivers (rt2x00) probably won't support limiting TX-power to a
user-defined value in the near future under certain conditions, so it makes
sense to not expose that option in order not to confuse the user.

See http://patchwork.openwrt.org/patch/2187/
to understand the situation.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-06-18 19:42:39 +00:00
Jo-Philipp Wich
b3e5467ec6 modules/admin-full: check /etc/ethers and /var/dhcp.leases for existence before trying to read them 2012-05-23 22:22:22 +00:00
Jo-Philipp Wich
1ec71bbefe modules/admin-full: add mac address suggestions to mac filter settings 2012-05-06 18:04:45 +00:00
Jo-Philipp Wich
639f58d404 modules/admin-full: add client_cert option in wifi configuration 2012-01-24 20:57:54 +00:00
Jo-Philipp Wich
28426c25fc modules/admin-full: fix crypto depends for ad-hoc and static wds modes (#271) 2011-12-21 22:41:44 +00:00
Jo-Philipp Wich
3bccd25281 modules/admin-full: probe for EAP support in wpad/hostapd/wpa_supplicant and offer wpa/wpa2 only if it is present 2011-12-13 15:57:32 +00:00
Jo-Philipp Wich
c47e0596dd modules/admin-full: use new iwinfo capabilities to display shifted tx power values 2011-12-05 18:29:04 +00:00
Jo-Philipp Wich
33bb31838d modules/admin-full: allow bssid for sta wds as well 2011-11-15 15:47:46 +00:00
Jo-Philipp Wich
743296d42c modules/admin-full: bssid is valid in mac80211 sta mode too 2011-11-15 15:44:01 +00:00
Jo-Philipp Wich
0ecbaa400e modules/admin-full: don't make cipher mandatory 2011-11-13 21:03:06 +00:00
Jo-Philipp Wich
0b7eb82eb6 modules/admin-full: add option to override the WPA cipher (#303) 2011-11-07 06:30:36 +00:00
Jo-Philipp Wich
c3e8976605 modules/admin-full: lock channel section in ap wifi config if there is a station on the same radio 2011-10-26 22:12:50 +00:00
Jo-Philipp Wich
017d24c724 modules/admin-full: fix wifi join when "wwan" (or other iface) already exists but only contains the network we intend to replace anyway, also save firewall settings after wifi join 2011-10-26 21:54:51 +00:00
Jo-Philipp Wich
d845a4e450 modules/admin-full: move RTS/CTS and Frag settings to device for mac80211 2011-10-13 12:48:55 +00:00
Jo-Philipp Wich
523f70c927 modules/admin-full: allow mac filter only for ap mode interfaces 2011-10-04 18:05:59 +00:00
Jo-Philipp Wich
c45f6b670d modules/admin-full: align wifi settings with recent hostapd.sh in OpenWrt (#261) 2011-10-02 10:25:32 +00:00
Jo-Philipp Wich
7981c2382d modules/admin-full: fix file uploads on wifi page 2011-10-01 09:33:36 +00:00
Jo-Philipp Wich
659a8bdf01 modules/admin-full: implement per-wifi-iface disable option 2011-09-22 02:43:38 +00:00
Jo-Philipp Wich
e7b9b7798d modules/admin-full: fix reversed allow/deny macfilter logic (#105) 2011-06-25 22:34:46 +00:00
Jo-Philipp Wich
2d28a55a53 modules/admin-full: relocate mac80211 mac filter settings to wifi-iface (#247) 2011-06-25 22:14:00 +00:00
Jo-Philipp Wich
aa3caed0b5 modules/admin-full: fix WPA-EAP and WPA2-EAP settings in STA-WDS mode 2011-06-15 23:14:38 +00:00
Jo-Philipp Wich
0a252c0f8a modules/admin-full: add macfilter options to mac80211 wifi config 2011-04-25 17:45:59 +00:00
Jo-Philipp Wich
7433b822ba modules/admin-full: fix wireless bridging from within wifi config page 2011-01-30 01:30:22 +00:00
Jo-Philipp Wich
dc0688dbbc modules/admin-full: fix txpower related config issues with atheros and broadcom drivers 2011-01-24 07:37:06 +00:00
Jo-Philipp Wich
5d426cf4ac modules/admin-full: rework wifi CBI maps 2011-01-20 23:26:49 +00:00
Jo-Philipp Wich
8feae0cba8 modules/admin-full: rework wep/wpa key handling 2011-01-10 23:23:32 +00:00
Jo-Philipp Wich
b9dfdb9d0d modules/admin-full: correctly update title on wifi config page 2010-10-30 02:34:20 +00:00
Jo-Philipp Wich
185eacba4b modules/admin-full: convert cbi maps to new network model 2010-10-30 00:45:43 +00:00
Jo-Philipp Wich
5e0536d61a modules/admin-full: add wep-open and wep-shared support 2010-10-27 11:50:08 +00:00
Jo-Philipp Wich
96ec7d4d61 modules/admin-full: only offer hwmodes actually supported by the wiphy 2010-10-19 21:32:13 +00:00
Jo-Philipp Wich
7ae988f342 modules/admin-full: rework wifi configuration 2010-10-19 04:08:15 +00:00
Jo-Philipp Wich
a11d6e2a61 modules/admin-full: rework wifi form, now with driver data 2010-10-12 05:04:49 +00:00