Commit Graph

10772 Commits (9743a51ce5c642ca581bdf4c3df3d09a1288282c)

Author SHA1 Message Date
Felix Fietkau 2fcc4f3477 hostapd: fix wep with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 12:11:28 +00:00
Felix Fietkau e6a85bcd9a wpa_supplicant: fix interface combination parsing issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-21 19:42:45 +00:00
Jo-Philipp Wich c59eec1589 opkg: switch to git repository (#14655)
Upstream development now takes place in a git repository which was clone
from the old svn repository. Switch the source location to the git tree
using the commit that corresponds to the old svn r618 revision.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-21 13:47:46 +00:00
Jo-Philipp Wich da833133d3 dnsmasq: rework init procedure
- cache udhcp check results to speed up subsequent reloads
	- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
	- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
	- launch dnsmasq from interface hotplug to avoid race conditions with network bringup

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-21 13:31:28 +00:00
Imre Kaloz 2f536bc64e [cyassl]: change fixup method and fix CFLAGS handling
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 20:25:44 +00:00
Felix Fietkau 0c83afb6ec ath9k: merge a timer handling fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 16:02:32 +00:00
Imre Kaloz d9ffbf2d50 [usb ethernet gadget]: handle new libs required for new kernels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 06:09:41 +00:00
Felix Fietkau 6f5a0548e7 ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 17:18:07 +00:00
Jo-Philipp Wich d2908ef888 procd: fix service file tracking
The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.

Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.

Add a missing instance of blobmsg_list_free() as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-18 15:38:28 +00:00
Jo-Philipp Wich afc8adc5cb netifd: add reload trigger for /etc/config/wireless as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-18 12:38:29 +00:00
Felix Fietkau 691e7028cf busybox: add back support for top-level menuconfig based config overrides (can be used by custom packages to alter the config)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 20:37:27 +00:00
Jonas Gorski 000da82903 gpio-button-hotplug: fix crash on remove
Don't call gpio_keys_remove recursively. Setting the platform
data to NULL triggered an oops on the second iteration, so there was
no infinate loop.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 19:05:03 +00:00
Jo-Philipp Wich 58a22446f4 busybox: restore init scripts
Since the removal of the busybox menuconfig entries, the init scripts
for cron, telnet and ntp are not packaged anymore. Unconditionally
ship them from now on.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 17:17:00 +00:00
Jo-Philipp Wich 5e634fbc56 firewall: fix handling of tcp_ecn parameter
The firewall3 implementation as well as the shell implementation predating it
used to process the tcp_ecnoption as boolean while it actually is an integer.

Change the code to parse tcp_ecn as integer.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 16:59:47 +00:00
Felix Fietkau 02de71723b iproute2: reduce .ipk package size from ~100k down to ~60k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:59:29 +00:00
Felix Fietkau 7683592c57 busybox: disable module utils, kmodloader provides them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:59:25 +00:00
Felix Fietkau ff7ac2a2ce busybox: fix typo in Config.in (#14628)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 07:17:00 +00:00
Luka Perkov 08392999d9 kernel: add rtc-ds1672 module support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 02:47:16 +00:00
Felix Fietkau 993a9de79a busybox: add support for config overrides via env/busybox-config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 19:27:35 +00:00
Felix Fietkau 39bb49bcf4 busybox: remove busybox menuconfig from top level menuconfig
This will help with avoiding bogus bug reports caused by stale configs
and bad cases of user tinkering :)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 19:09:57 +00:00
Felix Fietkau 509c8d5226 hostapd: move old wifi setup scripts to hostapd-common-old
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 18:42:43 +00:00
Jo-Philipp Wich 0005aadc83 dnsmasq: switch to /lib/functions/network.sh
This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 16:47:41 +00:00
Jo-Philipp Wich 4ce04ce60f base-files: ipcalc.sh: support bit length as netmask parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 16:29:23 +00:00
Jo-Philipp Wich 8dcb4e5990 base-files: add network_get_protocol() to /lib/functions/network.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 16:28:45 +00:00
Felix Fietkau 3aced3e94b mac80211: fix AP mode scanning issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 15:45:57 +00:00
Felix Fietkau 728dcefc9e netifd: update to latest version, fixes a null pointer crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:08:13 +00:00
Felix Fietkau 21794ceab0 ath9k: fix interrupt storms on AR913x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:23:00 +00:00
Steven Barth edbe06f4ee Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:38:53 +00:00
Steven Barth 306d96500a odhcp6c: add source routing support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:10:20 +00:00
Jo-Philipp Wich c5340d1dbf uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 15:32:37 +00:00
Felix Fietkau 43122f092e ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 17:07:08 +00:00
Felix Fietkau c411d7e762 ath9k: merge an interrupt processing fix for AR5008-AR9002
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 16:40:27 +00:00
Felix Fietkau 45f68ba8a6 kernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4 (used by mac80211)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 16:40:24 +00:00
Felix Fietkau c5771a9297 netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 14:59:05 +00:00
Felix Fietkau 95758e8d2c openssl: Support multi-threaded applications
Allow multi-threaded applications to work properly by
removing the "no-threads" flag that is enabled by default.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 10:19:48 +00:00
Felix Fietkau 6a75a79a66 usbmode: add an init script to switch devices that show up too early for the hotplug script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:43:15 +00:00
Felix Fietkau 68daab992f netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:43:11 +00:00
Imre Kaloz 31ff2e6fee [uboot-omap]: fix jffs2 with internal libgcc and switch omap4 to ext4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:38:43 +00:00
Felix Fietkau e8a6c92368 iw: reduce size and make the phy dump output more readable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 11:02:05 +00:00
Felix Fietkau d6864eb56d opkg: do not add blank "Provides:" fields to package metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 10:40:26 +00:00
Felix Fietkau 59559e7972 /sbin/wifi: reload network/wireless on wifi restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 19:48:19 +00:00
Felix Fietkau f55ec74efa netifd: fix crashes triggered by adding/removing wireless devices on reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 18:23:52 +00:00
Luka Perkov 8ef8db9063 kernel: add CAN modules
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:08 +00:00
Jo-Philipp Wich 0e678c997e mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:52 +00:00
Jo-Philipp Wich 49cbd47a5c hostapd: fix short_preamble option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:48 +00:00
John Crispin 3c68fdeee5 libevent2: Configure with --disable-debug-mode
Saves around 10K.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 18:26:58 +00:00
John Crispin 482d7109ab ubox: fix logging support. the initial connect failed
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 18:24:30 +00:00
John Crispin 1480a55d0a procd: update procd, add ulimit support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:38:19 +00:00
John Crispin 2f20e13586 ubox: fix up pidcount handling inside log.init
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:44 +00:00
John Crispin b8eefa3213 gpio-button-hotplug: add irq mode to driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:39 +00:00
John Crispin dba219f7c9 netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch.

Signed-off-by: Ulrich Weber <uw@xyne.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:34 +00:00
Luka Perkov cb683aeb0f kernel: module updates for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:18 +00:00
Luka Perkov d723a38780 [package] base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:14 +00:00
Jo-Philipp Wich 8392c54e2e hostapd: properly parse wmm and hidden uci options (#14589)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 20:51:21 +00:00
Felix Fietkau 62c98f5193 netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:05 +00:00
Felix Fietkau a382c54c55 mac80211: fix using custom wifi-iface ifname option with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:01 +00:00
Felix Fietkau 51ee2f6812 mac80211: merge an ibss dfs locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:34 +00:00
Felix Fietkau 765f7a61ce ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:30 +00:00
Felix Fietkau 349320d647 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:25 +00:00
Imre Kaloz 0020922ea9 [mac80211]: add support for the wl18xx, split wlcore from wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 14:07:13 +00:00
Steven Barth d2e17d996f odhcpd/6c: Add config menu for prefix class ext.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-05 12:17:09 +00:00
Felix Fietkau eef37ce291 ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 22:59:36 +00:00
Steven Barth 12f66d3324 odhcpd: Fix ubus integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 13:14:27 +00:00
Felix Fietkau d1b9d7eb2c mac80211: fix ad-hoc network setup with netifd (#14564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 16:22:56 +00:00
Felix Fietkau 40de15d9ef netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 14:17:44 +00:00
Felix Fietkau 48fbe7cd69 hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 09:02:58 +00:00
Felix Fietkau 9f6dd226eb wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:53:27 +00:00
Felix Fietkau 8a98d2594a wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
Add a new "reload" command that reloads the netifd config as well

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:53:24 +00:00
Felix Fietkau 3fab0ab03f netifd: add wireless configuration support and port mac80211 to the new framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:41:03 +00:00
Felix Fietkau fed8a06b41 uci: update to the latest version, adds a small uci_to_blob fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:17 +00:00
Felix Fietkau bbeadc25eb hostapd: change the wildcard for the hostapd control socket directory
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:14 +00:00
Felix Fietkau a5b78a7edb wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:11 +00:00
Felix Fietkau 8b428d0899 hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:08 +00:00
Felix Fietkau d5e3523e53 libubox: update to latest version, adds some more jshn performance improvements and fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:03 +00:00
Felix Fietkau 7f869195f9 netifd: remove redundant calls to /sbin/wifi down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:00 +00:00
Felix Fietkau 42370a3fa7 hostapd: always include p2p options in wpa_cli
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:07:46 +00:00
Hauke Mehrtens 9761d473cd mac80211: b43: improve PCIe host controller workaround
This is only needed by BCM4716 and not by BCM4706, I haven't seen any 
problems there. Adds the write flush for some more parts where the phy 
control regs are written.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 17:23:19 +00:00
Hauke Mehrtens 591d19fcf2 mac80211: remove DMI_EXACT_MATCH
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides 
with backports version. DMI_EXACT_MATCH is only used by the intel GPU 
driver which is not build by OpenWrt, so remove it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 17:20:32 +00:00
Imre Kaloz 0fdebf9347 FPU type should not interfere with the ABI selection.
Also make sure we either do real soft-float or hard-float on ARM, with the right options.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:59:51 +00:00
Jo-Philipp Wich 0e12d4c637 ubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 20:47:26 +00:00
Jo-Philipp Wich 3a962b7099 Revert "ubox: the validation code has problems with the "(" char. use string for now"
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:33:49 +00:00
Jo-Philipp Wich 2a53dc4422 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:28:40 +00:00
Jo-Philipp Wich 8ad86b6a1e procd: fix processing of datatype specification with spaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:26:34 +00:00
Imre Kaloz 620833b3a1 add device tree based initialization to wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:40:07 +00:00
Felix Fietkau bc1d810b5b mac80211: include 802.11n support when wl12xx is selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:08:38 +00:00
Felix Fietkau 406817c4a6 ath9k: merge initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 10:56:05 +00:00
Imre Kaloz 28c7e1b274 [mac80211]: fix typo in wl128x firmware names
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 09:02:17 +00:00
Imre Kaloz 2ae5d84075 [uboot-omap]: hide package, it's needed all the time
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:46:47 +00:00
Imre Kaloz fd821990a6 [uboot-omap]: use plain image names inside the target directories
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:45:51 +00:00
Imre Kaloz e43d5edd0b [mac80211]: wl12xx could need the wl128x firmware files, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 17:46:45 +00:00
Felix Fietkau 8092d1a7ad mac80211: merge another round of upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 11:25:31 +00:00
John Crispin 97bbd3cb75 ubox: the validation code has problems with the "(" char. use string for now
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 07:50:05 +00:00
Felix Fietkau 4d6e9371a3 hostapd: add support for auto-channel selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:30 +00:00
Felix Fietkau 5d000ddd9e hostapd: update to version 2013-11-20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:15 +00:00
John Crispin 77bba4261a kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:48 +00:00
John Crispin 00f0744743 pppd: Place plugin-specific options after `plugin name`.
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:16 +00:00
John Crispin 3b4cd0a50e base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:55 +00:00
John Crispin 944e1ee168 procd: update procd.sh to make use of the new validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:47 +00:00
John Crispin 451be59120 ubox: update the validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:39 +00:00
John Crispin feecbc62ae ubox: fix typo that caused log_file to not be validated properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:31 +00:00