Commit Graph

12642 Commits (8614d100c81f6368b7f305a951605433257909a5)

Author SHA1 Message Date
Felix Fietkau 7c44c9762e netifd: update to the latest version, adds support for configuring RPS/XPS (enabled by default where available)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 16:42:44 +00:00
Felix Fietkau 6374e77652 fstools: update to the latest version, makes interrupted first boot more reliable
Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:11:27 +00:00
Felix Fietkau 0940db5e2e base-files: keep sysupgrade.tgz until /etc/init.d/done has been called
This makes interrupted boots after sysupgrade more reliable

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:11:20 +00:00
Nicolas Thill e1836b6578 [cosmetic] util-linux: replace spaces with tabs
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 12:37:33 +00:00
John Crispin 8a9cf038f2 kernel: fix usb kernel package Makefile
Signed-off-by: zouxf <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:48:04 +00:00
John Crispin aca9d9ab4d perf: don't error on warnings
There are some places where there is a redundant declaration of
strlcpy() that prevents building perf otherwise.

Signed-off-by: John Szakmeister <john@szakmeister.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:48 +00:00
John Crispin 06f50f14fd curl: fix PKG_CONFIG_DEPENDS
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:41 +00:00
John Crispin 9d0ccf37a0 lldpd: add Build/InstallDev rule
For using liblldpctl to talk to lldpd (via unix sockets).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:34 +00:00
Steven Barth a03895b2ef netifd: fix ipv6 route regression
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 18:28:08 +00:00
Rafał Miłecki b775f32fef mac80211: include brcmfmac firmware for BCM43602
It can be found e.g. in Netgear R8000.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 23:57:35 +00:00
Rafał Miłecki ab4b1aa0f8 mac80211: update linux-firmware to 2015-03-20
It includes new Broadcom firmware files for brcmfmac.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 22:36:28 +00:00
Felix Fietkau 6fa31d3efe kernel: fix ipset related build error (#19231)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 17:01:06 +00:00
Felix Fietkau d6091cee77 mac80211: merge a few performance enhancements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 16:24:14 +00:00
Felix Fietkau 4b36b50775 mac80211: update software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 16:24:06 +00:00
Imre Kaloz a8d8e2b250 mac80211: fix 5ghz variable name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 12:13:11 +00:00
Imre Kaloz 7d1a6c7dfa mac80211: when looking for VHT, check 5GHz support as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 11:47:16 +00:00
Felix Fietkau dfe43f6c35 netfilter: clean up compatibility code for old kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 11:01:26 +00:00
Steven Barth 99ffd705f0 openssl: biweekly critical security update
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 08:14:42 +00:00
Steven Barth a74dc38013 netifd: device update fixes, improvements in policy routing
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 07:50:45 +00:00
Felix Fietkau 3263a96b14 uboot-envtools: add ramips wsr-600/1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 21:00:41 +00:00
Felix Fietkau 7ca04e9be2 igmpproxy: add names for default config lan/wan phyint sections to make it easier to refer to them from scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 20:37:40 +00:00
Felix Fietkau c64a6c44e6 kernel: remove bogus dependency of zram on !TARGET_ep93xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:59:21 +00:00
Felix Fietkau c5cbae5e1c kernel: remove obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:59:17 +00:00
Felix Fietkau 1f2abeb61b ifenslave: remove package, as it depends on obsolete kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:59:09 +00:00
Felix Fietkau 2b33958d70 ipset: use in-tree kernel modules to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:17 +00:00
John Crispin c3455e2438 procd: update to latest git HEAD
fixes parameter handling in askfirst tool

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 20:08:27 +00:00
Felix Fietkau 4c70421219 kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 17:14:48 +00:00
Felix Fietkau 841765538a mac80211: add some improvements to the software queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 17:14:43 +00:00
John Crispin 01df41d6bc package/uboot-envtools: add OpenMesh OM5P-AN support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:52 +00:00
John Crispin 575f983515 package/om-watchdog: add OpenMesh OM5P-AN support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:47 +00:00
John Crispin 05ec2ad883 igmpproxy: Multiple downlink interfaces fix.
from Erik Tews <erik@datenzone.de>

This patch has two effects. First, the quickleave feature/behaviour is
disabled for all groups that are used on more than one interface. The
idea of quickleave is to leave a group fast and later figure out whether
there is still somebody interested in that group. For groups used on
more than one interface, it is already known that there is still
somebody interested in that group.

Second, when a leave is received for a group that is used on more than
one interface, igmpproxy sends queries on all interface to discover
remeining listeners for that group. Previously these queries were only
send on the interface the leave was received on, so that listeners on
the other interfaces were not discovered and the group might be left on
the upstream router incorrectly.

This patch can be improved by sending the queries only on the interface
the leave was received on and adapting the algorithm in
internAgeRoute(...) in rttable.c in a way that only one interface is
actually processed and all other interfaces of the route are silently
assumed to be still active.

Signed-off-by: Erik Tews <erik@datenzone.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:07 +00:00
John Crispin 6aab9203e9 ltq-hcd: remove ar10 and vr9 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:01 +00:00
Felix Fietkau ad457afeef ltq-adsl-mei: fix bugs in linux 3.18 compatiblity change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 13:05:49 +00:00
Felix Fietkau acff4b111f ltq-adsl: fix bugs in linux 3.18 compatiblity change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 13:05:42 +00:00
Nicolas Thill d951b2beb1 packages: more (e)glibc fixes after r44701
_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 12:32:22 +00:00
Nicolas Thill 7105a54bcb packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 12:25:06 +00:00
Felix Fietkau 00d8c42d10 json-c: merge an upstream fix for a compiler warning (fixes #19187)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:54:55 +00:00
Rafał Miłecki ccc7fc226c mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:04:28 +00:00
Rafał Miłecki b9d37ea08f mac80211: add option for USB support in brcmfmac
This makes it consistent with other buses configuration.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 06:52:26 +00:00
Rafał Miłecki fec2b5520d mac80211: update wiki URLs
linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 06:39:10 +00:00
Felix Fietkau 6183e0a4ec mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 17:51:16 +00:00
Jo-Philipp Wich c4f5cbcdfb netifd: dhcp: install host route to gateway (#19182)
Certain DHCP servers push a gateway outside of the assigned interface subnet,
to support those situations install a host route towards the gateway.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:48:18 +00:00
Jonas Gorski 77b791866b modules: add depenency on usb-gadget for dwc2 also on brcm63xx
Bcm63xx supports usb gadget, so dwc2 will default do dual mode.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:14 +00:00
Felix Fietkau 9c49dc02eb toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 12:03:01 +00:00
Felix Fietkau de3c3ab44d uhttpd: make generating SSL keys more reliable against interrupted boots
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 10:32:10 +00:00
Felix Fietkau cd974bb4c7 ltq-vdsl-fw: fix md5sum for new firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 07:57:55 +00:00
Felix Fietkau 78f8090dc9 ath9k: disable TPC support for now until bugs have been found and fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 07:10:38 +00:00
Felix Fietkau d13ecbd5fe ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 06:51:45 +00:00
Felix Fietkau 6175f4168b ath9k: always select relay support, not just when debugfs is enabled - fixes an unresolved symbol error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 12:12:25 +00:00
Felix Fietkau 8c317f089a grub2: fix processing the serial rts/cts option
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 08:21:02 +00:00
Felix Fietkau 3ecf5d29de ath: fix selecting the module individually (#19162)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 02:00:50 +00:00
Felix Fietkau 1652b41032 mac80211: fix a rounding issue in minstrel MCS rate duration calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 02:00:44 +00:00
Felix Fietkau 373c5e314f mac80211: improve powersave handling in the tx queue rework patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 02:00:36 +00:00
John Crispin 0c0a9bb5f6 dnsmasq: enable pxe-prompt, pxe-service config options
DNSMASQ has the ability to provide a menu to a pxeboot system, using
the --pxe-prompt and --pxe-service configuration options.  The current
init.d script converting the "dhcp" file to "dnsmasq.conf" does not
find these options, but they are supported.  This patch thus enables
the options.

Signed-off-by: Derek LaHousse <dlahouss@mtu.edu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:39:08 +00:00
John Crispin c5c4f4131b BusyBox: Netcat 1.10 compatibility require server option
Netcat 1.10 compatibility require server options

1.10 compatibility without server option
produce error "NO OPT l!" and completely not function

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:56 +00:00
John Crispin 451e7b98b4 relayd: bump to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:46 +00:00
John Crispin b81c2b5c9e dnsmasq: Make parameters optional in dhcpboot config
The --dhcp-boot option of dnsmasq does not require servername and serveraddress
arguments if the builtin tftp server is used.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:35 +00:00
John Crispin 925df28837 lldpd: make LLDP-MED, DOT1 and DOT3 extensions disable-able
The names for the config options were taken from lldpd's
configure.ac file.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:25 +00:00
John Crispin 568a27b077 ipset: add ipmark support
Below you'll find a patch to add ipmark module support to ipset.
Changeset 44671 already bumped ipset to version 6.24, but it's still
compiled without ipmark support. This is a requirement for mwan3 v1.6.

Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:17 +00:00
Felix Fietkau 79b24d0308 mac80211: fix a pointer handling error in the new tx queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 05:17:06 +00:00
Felix Fietkau 6402b8402f Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:28 +00:00
John Crispin d5f527f3ce toolchain: The glorious return of glibc, ver 2.21
It's the eglibc packaging with a bit of spit-polishing. And testing. :-)

[blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant]

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:57 +00:00
John Crispin a00f7e5cb5 busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:23 +00:00
John Crispin d228cb877f fstools: bump to latest git HEAD
this makes fstools compile with latest glibc

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:14 +00:00
John Crispin 6a073b095b procd: bump to latest git HEAD
this makes procd compile with latest glibc

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:00 +00:00
Felix Fietkau 6b7e0198b7 ath9k: fix a beacon enable handling bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 16:21:53 +00:00
John Crispin bbf5bdbca1 lldpd: add support for 'readonly_mode'
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:08 +00:00
John Crispin 961a6c6ac4 modules: set dwc2 gadget dependency for at91
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:01 +00:00
John Crispin d19abd9217 acx-mac80211: fails to build on cobalt
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:05:54 +00:00
John Crispin 1815d646dd modules: make dwc2 only depend on gadget support for brcm2708
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:58:53 +00:00
John Crispin 72e4b3b9bf uhttp: update to latest git HEAD
this add json-c 0.12, sorry forgot to push this earlier today

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:58:47 +00:00
John Crispin 335f082662 ipset: Bump to 6.24
Included you'll find a patch to bump ipset to version 6.24. This
version supports the ip,fwmark set, which is needed for mwan3 1.6.

Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 16:41:58 +00:00
Felix Fietkau 8716e7dcb4 mac80211: add missing header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 16:36:35 +00:00
Felix Fietkau f33fe34904 mac80211: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 16:25:09 +00:00
John Crispin 0f97b49833 rpcd: update to latest git HEAD
adds 3 fixes from luka

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:51 +00:00
John Crispin 93cd017604 json-c: update to 0.12 and bump all depending services
Version 0.12 deprecates json_object_object_get and moves the header files around

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:54:33 +00:00
Felix Fietkau 8d41dec38a mac80211: Use newer firmware for ath10k
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:02:54 +00:00
Felix Fietkau 9f5dba18e9 mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net>

Also update mt76 to update for API changes

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:02:47 +00:00
Felix Fietkau 61cd5ce994 iw: update to 3.17
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:02:32 +00:00
Luka Perkov 7dafec072f base-files: firstboot: pass down arguments such as -y to jffs2reset
This brings back old behavior.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 23:43:25 +00:00
Steven Barth 3a2fbeb996 6rd: make host dependency more specific
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 08:43:54 +00:00
Steven Barth 2f9a22317c 6in4: make host dependency more specific
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 08:43:40 +00:00
Nicolas Thill 11fd3b9e42 ebtables: revert "disable rpath" (closes: #19088)
This reverts commit 9340723d70bce9d905c3f53b2bf415963153b34d.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 22:07:05 +00:00
John Crispin 3176db1620 kmod-usb-dwc2: depends on udc-core (kmod-usb-gadget)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:07:30 +00:00
John Crispin 1f58b22fc4 lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18
buildbot complained about
ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
         g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup);
                                                                      ^
fix that similar to the change made to ltq_ptm_vdsl.c
compile tested only.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:07:14 +00:00
John Crispin 5337b0635f ncm, qmi, mbim: Add dependency on wwan package
The wwan package holds the hotplug script to set mobile broadband
interfaces (un)available. Add it as a dependency to comgt-ncm,
uqmi and umbim.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:07:06 +00:00
John Crispin 01df6b8fc5 ncm: Remove unnecessary proto_set_available commands
Interface should not be set unavailable in all error cases,
returning 1 is enough.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:06:50 +00:00
John Crispin be85388809 wwan: Improve USB modem hotplug script
Adds ncm proto to the list of checked protocols, sets interfaces
unavailable on device removal and removes the unnecessary ifup
command.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:06:30 +00:00
John Crispin caaf4ec5de comgt, wwan: Move USB data files to wwan package
USB modem data files should be a part of the wwan package, which
actually uses them unlike comgt.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 14:06:20 +00:00
Nicolas Thill e71534f3c5 util-linux: fix pkgconfig files
Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time,
leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling...

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 02:02:50 +00:00
Steven Barth 9c221b1880 odhcpd: improvements for DHCPv4 and compile fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 14:41:07 +00:00
John Crispin 2689997fe4 openssl: enable ARM assembly acceleration
Tested myself on ixp4xx and mvebu, and (originally)
by Daniel on i.MX6. Also tested on a MIPS target,
to make sure the change to ASFLAGS does not break things.

Based on a patch submitted by Daniel Drown:

https://lists.openwrt.org/pipermail/openwrt-devel/2014-July/026639.html

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Daniel Drown <dan-openwrt@drown.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:57:10 +00:00
John Crispin 916b239f7e kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:21 +00:00
John Crispin 68e0affb9a lantiq: fix netdev setup in ltq-ptm-vdsl
The initial fix for 3.18 in r44346 wrongly treated the newly added
parameter of alloc_netdev to be another function pointer, causing
ether_config to be skipped during ptm netdev init.
Fix this by partially reverting r44346 and properly setting the newly
added macro parameter.
(Tested on VRX200 board)

A similar change might be needed for ltq-ptm-adsl as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:25:18 +00:00
John Crispin 9a1263b1b9 kernel: add ip_vti tunnel module
IP VTI (Virtual Tunnel Interface) is used to create a virtual device
for IPsec VPN (similar to OpenVPN).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:25:11 +00:00
John Crispin 8a9f7fdf7d mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.

This patch fixes error checking to interpret only
negative values as errors.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:25:02 +00:00
John Crispin 7b6c0cca40 ath5k: fix reset race
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:50 +00:00
John Crispin 61aa9cc4fb ath5k: channel change fix
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:45 +00:00
Rafał Miłecki 4b2f752391 kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:49 +00:00
Jo-Philipp Wich 1b4518a6b0 lldpd: fix passing multiple ifnames to the daemon
Instead of multiple -I arguments, lldpd expects a comma separated list.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 12:25:02 +00:00
Jonas Gorski 02ce1ebb75 package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:25 +00:00
Felix Fietkau 87efd09a1c procd: update to the latest version, fixes musl compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 07:34:47 +00:00
Jo-Philipp Wich 477789d76e ubox: fix segmentation fault in insmod
Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 21:23:55 +00:00
Jo-Philipp Wich 48acc3f8cc uhttpd: relay stderr to syslog
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 13:44:05 +00:00
Jo-Philipp Wich f061c95e51 procd: add support for relaying daemon stdio to syslog
Procd enabled init scripts can now specify:

  procd_set_param stdout 1
  procd_set_param stderr 1

... to relay their respective standard IO streams to the system log.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 13:42:47 +00:00
Jo-Philipp Wich 572608bdee libubox: implement ulog_close() and call it on ulog_open()
This is required to properly update syslog idents when switching between
log modes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 13:42:44 +00:00
Jo-Philipp Wich cddf65416f fstools: switch to ulog api
Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:29 +00:00
Jo-Philipp Wich 42f17a6f6f ubox: switch to ulog api
Update to git head in order to switch the kmodloader logging to the common
ulog() api for putting early boot messages into dmesg.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:24 +00:00
Jo-Philipp Wich 35aed8dcb2 procd: switch to ulog api
Update to git head in order to switch the procd logging to the common ulog()
api for putting early boot messages into dmesg.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:21 +00:00
Jo-Philipp Wich 2a25be24be libubox: introduce generic logging api
Update to git head in order to introduce the new ulog() logging api which
supports early boot logging to dmesg.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:18 +00:00
Steven Barth 15f585d91c 6rd: honor tunlink in host dependency
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 07:42:12 +00:00
Steven Barth 810afa9a4a firewall: fix some more null-pointer accesses
thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 07:14:41 +00:00
Jo-Philipp Wich fe61460948 fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 18:54:13 +00:00
Jo-Philipp Wich fb9ac4879c fstools: fix multiple extroot problems
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 13:03:16 +00:00
John Crispin a1fb3f0bb0 modules: make ahci-platform depend on TARGET_ipq806x
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 12:01:19 +00:00
Jo-Philipp Wich 17a052228e ubox: kmodloader: support loading kmods from multiple directories
This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.

The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 11:48:27 +00:00
John Crispin 0491f6fe76 modules: add ahci-platform
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:16 +00:00
John Crispin 59b92343aa kernel: add qca-nss-gmac as a new module
This driver is used on IPQ806x to instanciate & drive the ethernet
interfaces.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:56 +00:00
Felix Fietkau 9777bb37c8 samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 07:21:25 +00:00
Imre Kaloz d3d69d8a8c leds: package the NXP PCA963x driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-23 11:09:03 +00:00
John Crispin dd8ae04602 ppp: Allow PPTP over a specified interface
In a dual-WAN setup, it's useful to specify an interface over which to
have PPTP.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:34 +00:00
John Crispin 88f9ed04ca comgt: Use TCGETS and TCSETS ioctls for struct termios
When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:26 +00:00
John Crispin f673d83a3d kernel: Fix USB gadget modules for v3.18
Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:01 +00:00
Nicolas Thill 8d60a52b88 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 01:31:21 +00:00
John Crispin 5b897b6f3a hostapd: fix c&p typo
https://dev.openwrt.org/ticket/19010

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 15:59:28 +00:00
Steven Barth f70b78ddb4 netifd: various device config / event fixes (thx Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 14:14:51 +00:00
Steven Barth 813b8624b5 iproute2: bump version from v3.18.0 to v3.19.0
with refreshed patches

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 14:14:39 +00:00
Rafał Miłecki 326c744ec4 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 19:36:35 +00:00
Rafał Miłecki 6bd910c91b mac80211: brcmfmac: Add SDIO support option
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 19:11:38 +00:00
Felix Fietkau c07d8fffd3 netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 09:07:19 +00:00
John Crispin 4093cf4d1c linux: fix kmod-usb-net-* for >= 3.17
Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config
options.") hid the USB network drivers behind the new config symbol
CONFIG_USB_NET_DRIVERS.

Signed-off-by: Bjørn Mork <bjorn@mork.no>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 08:00:17 +00:00
John Crispin c373922a13 procd: fix PKG_CONFIG_DEPENDS
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-15 19:55:37 +00:00
John Crispin 60759662cb uci-defaults: add ucidef_set_led_mmc
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:47:58 +00:00
Nicolas Thill ed4bc0aec1 package/valgrind: fix build on eglibc
configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 13:53:51 +00:00
John Crispin b79d1ca819 hostapd: backport BSSID black/whitelists
This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
	option device 'radio2'
	option network 'uplink'
	option mode 'sta'
	option ssid 'MyNetwork'
	option encryption 'none'
	list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 10:53:54 +00:00
John Crispin 83f1e61682 kexec-tools: bump version from v2.0.4 to v2.0.9.
- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:42:13 +00:00
John Crispin 36a3eba434 kexec-tools: show up only when KERNEL_KEXEC is enabled.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:42:05 +00:00
John Crispin 876f6efca9 brcm2708-gpu-fw: simplify target dependencies
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:38:38 +00:00
Jo-Philipp Wich 656eef3a50 base-files: fix target/subtarget value in /etc/openwrt_release
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 15:12:32 +00:00
John Crispin 93a0c121de brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:50:40 +00:00
John Crispin 45155038a9 mt76: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:07 +00:00
Nicolas Thill 80922f654a oprofile: mark broken on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:38 +00:00
Nicolas Thill ede8135f37 ebtables: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:07 +00:00
Nicolas Thill df38033647 util-linux: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:01 +00:00
John Crispin c291f76d24 brcm2708: update to v3.18
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:17:55 +00:00
Felix Fietkau 23d7535d49 relayd: update to the latest version, adds fixes by Alejandro Enrique
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:57 +00:00
Jo-Philipp Wich 2f64ecd2ac libevent2: remove defunct download mirror
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 18:55:44 +00:00
John Crispin 3a3c8e4aa4 kernel: add missing symbol to realtek wifi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 18:15:30 +00:00
Steven Barth a98b1cf597 openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 15:26:35 +00:00
Jo-Philipp Wich 68814e38a3 rpcd: fix session.{login,list,destroy} method signatures
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:54:29 +00:00
Steven Barth 2fa3bd79fd polarssl: bump to 1.3.10, work around rename to mbedtls
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:44:32 +00:00
John Crispin 503a887610 lantiq: fix typo in script
Fix typo in firmware installer script.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:14:22 +00:00
John Crispin f4502d48f7 lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:52 +00:00
John Crispin face9b819a ar7-atm: make it compile under 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:09 +00:00
Steven Barth c10ed85ffb openssl: bump to 1.0.2
Fixes CVE-2014-3513, CVE-2014-3567, CVE-2014-3568, CVE-2014-3566

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:04:00 +00:00
Steven Barth d22b024754 netifd: fix device config handling and add some config options
Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 08:30:06 +00:00
Jo-Philipp Wich 5eb79fdc7b 6in4: fix update timeout
The recent rework of the 6in4 endpoint update broke the retry mechanism.
Rework the timeout handling and make the update status more verbose.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 22:20:38 +00:00
Jo-Philipp Wich 6a61b200d8 openvpn: autostart openvpn instances for each .conf file in /etc/openvpn
Align init behaviour with other distros by starting an OpenVPN instance
for each config file found in /etc/openvpn/. This removes the additional
requirement to "register" the configs with uci and thus simplifies the
setup.

Make sure to respect the disabled state in uci to not suddenly autostart
instances which have been previously set to disabled, also skip configs
which are already started due to uci configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:28 +00:00
Luka Perkov b7c188b9a9 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:08 +00:00
Jo-Philipp Wich 03bbda6840 6in4: don't use /dev/stdout for wget calls
Busybox ash does not implement /dev/stdout, therfore any wget output
is written into a file /dev/stdout instead of onto the standard output.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 13:33:15 +00:00
Jo-Philipp Wich daf0abacc2 libevent2: update to v2.0.22
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 10:30:04 +00:00
Jo-Philipp Wich bfe1d210b6 busybox: fix build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich 2467d38ca5 mac80211: don't hardcode /bin/bash
Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:18:47 +00:00
Jo-Philipp Wich 38aa3a820c ncurses: add host build for 'tic'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:18:42 +00:00
John Crispin b0cb6d1bb8 ralink: remove VHT capabilities when not using 802.11ac
The mt76 driver might have some problem working with MT7602.
MT7602 should not have VHT capabilities . But the driver not identity properly.

Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:11:01 +00:00
John Crispin 13093b4fad linux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters
requested and tested by forum user OWonPi
https://forum.openwrt.org/viewtopic.php?id=55495

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:57 +00:00
John Crispin 60552298d7 base-files: default_postinst() fix variable colision
The name variable contains at first the package name,
and after the last group name.
This patch fixes /etc/rc.d symlink creation (at least).

Change name in pkgname, change the other name in ugname
(user group name), and id in ugid (user group id)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:06 +00:00
John Crispin e17c34de65 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:09:51 +00:00
John Crispin 25b37fea13 map: Fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:10:54 +00:00
John Crispin 1b42778f27 cURL: implement new functionality with cleanup and fixes
remove obsolete configuration settings
  --disable-thread
  --enable-nonblocking
  --without-krb4
remove SSPI support
  only supported on windows
correct --with/without-ca-path handling
  only supported with OpenSSL and PolarSSL
correct LDAP/LDAPS protocol
  add dependency libopenldap
added SCP/SFTP protocol
  default "No"
  depends on libssh2
added IDN support
  default "No"
  depends on libidn
added SMB protocol (new in 7.40)
  default "No"
  require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL' selected
added Unix sockets support (new in 7.40)
  default "No"
added error verbose messages
  default "No"
changes to Makefile
  Increase PKG_RELEASE
  PKG_CONFIG_DEPENDS and CONFIGURE_ARGS
    extended for new functionality
    use "autoconf_bool" for all --enable/--disable options
    restructure for easier reading
changes to Config.in
  extended for new functionality
  implement dependencies
  restructure and grouping for easier reading
build tested on XUbuntu 14.10 x86 for x86 (generic) and ar71xx (WNDR3800)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:24 +00:00
John Crispin 680c15c9ea mac80211: Revert adding SM Power Save capability to hostapd configuration
Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:01:44 +00:00
Jo-Philipp Wich 61a9131702 util-linux: only enable curses support if required
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 13:11:17 +00:00
Zoltan HERPAI 997f52e970 modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 09:35:52 +00:00
Jo-Philipp Wich 23bc9e0b5c linux: enable kmod-bcma on ppc40x after r44230
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 16:49:26 +00:00
Jo-Philipp Wich a3626aca95 linux: convert CompareKernelPatchVer to version tagged symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 13:55:51 +00:00
Jo-Philipp Wich 823bc4caac linux: fix framebuffer kmods for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 13:15:45 +00:00
John Crispin a6c25ecffc mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:47 +00:00
John Crispin f223ab856d mac80211: fix NULL pointer crash in monitor frame injection TX path
This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:28 +00:00
Jo-Philipp Wich a03621e0b0 linux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp for >= 3.16
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 22:58:40 +00:00
Jo-Philipp Wich 786a3e028f linux: kmod-usb-net-huawei-cdc-ncm depends on kmod-usb-net-cdc-ncm
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 22:58:35 +00:00
Jo-Philipp Wich 3609351bde linux: kmod-zram requires kmod-lib-lz4 for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 21:59:03 +00:00
Jo-Philipp Wich 884842d5d2 linux: fix kmod-usbip* for >= 3.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 21:58:57 +00:00
Jo-Philipp Wich defffd7cd1 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich 293b505f46 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:12:29 +00:00
Jo-Philipp Wich 82dabab00d curl: fix build with --disable-crypto-auth (#18838)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 16:52:15 +00:00
Nicolas Thill a28d74d014 curl: fix typo in 2 config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 16:37:08 +00:00
John Crispin 07a6a43d1d modules: Add support for Realtek r8712 and RTL8192SU.
This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU
family of fullmac usb wireless cards. The r8712u staging driver only supports
WEXT but works with no problems in OpenWRT.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 19:19:57 +00:00
John Crispin 187afa2a1d comgt-ncm: Fix NCM protocol
This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 19:19:33 +00:00
Jo-Philipp Wich 7558535a9e linux: add upstream patch to allow building dwc2 as module on 3.18
Also add the required config symbols to usb.mk

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 13:45:06 +00:00
Jo-Philipp Wich 120fdaa996 fstools: fix exit code of uci-defaults script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 13:44:37 +00:00
John Crispin 0c61f8d759 uboot-lantiq: fix P-2812HNU-F1/3 package dependency
After r43987 TARGET_lantiq_xrx200_P2812HNUFX does not exist anymore.
Fix empty menuconfig bootloader selection by making u-boot depend on
one of the new target profiles.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:08:13 +00:00
John Crispin b69c905acd libubox: update to latest git HEAD
adds "ignore SIGPIPE by default"

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:08:04 +00:00
John Crispin d6db673f8f procd: update to latest git HEAD
adds a zram size calculation bug fix

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:55 +00:00
John Crispin acbf333329 cURL: Update to version 7.40.0
* Update to version 7.40.0
* remove non existing config options around enable/disable HTTPS protocoll
* remove --with-ca-path if ssl support disabled
* set proxy support as default like all versions before CC did

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:47 +00:00
John Crispin 1ac2253fef libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:35 +00:00
John Crispin c2a44d83f3 libertas: configure sysfs symlinks
Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:29 +00:00
John Crispin 77f1d3bad8 mac80211: Add some missing 802.11n capabilities to hostapd configuration
Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:21 +00:00
John Crispin 49ec79e126 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:08 +00:00
John Crispin 27c1ce0c37 mac80211: update libertas_sdio package name
Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:59 +00:00
John Crispin 409777485f modules: select grace_period config option for nfs-common
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:52 +00:00
John Crispin fa2fd8c699 modules: add lz4 compression support
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:45 +00:00
Felix Fietkau e45e66d4ae kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 00:06:42 +00:00
Jo-Philipp Wich a5fe570c02 fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:33:49 +00:00
Jo-Philipp Wich 58236ae358 linux: disable kmod-bcma on ppc40x, it does not build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:55:36 +00:00
Jo-Philipp Wich ceb0522dfe linux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:02:12 +00:00
Jo-Philipp Wich fe829c5a75 uhttpd: fix another remaining relro issue in the Lua plugin
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:43:17 +00:00
Jo-Philipp Wich ccdb918a4e linux: fix broken kmod-i2c-mux-pca9541 after r44113
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:03:26 +00:00
Jo-Philipp Wich dfa9a409c9 uhttpd: fix time_t type mismatch on 32bit systems
The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:59:08 +00:00
Jo-Philipp Wich cfc5c0c8b4 uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
* Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:23:26 +00:00
Jo-Philipp Wich 59dbb6ac93 procd: make build of upgraded optional
Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.

This also adds some fixes to the ubus system.info and system.board
methods.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 16:12:52 +00:00
Jo-Philipp Wich 644087a08b uhttpd: fix exit code of mod-ubus postinstall script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:54:43 +00:00
Felix Fietkau 3d9743e703 kernel: fix typo in hwmon.mk (#18813)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 11:21:48 +00:00
Felix Fietkau 61bb03d2eb kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:13:31 +00:00
Felix Fietkau ac28fb42d4 kernel: drop obsolete kernel version checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:13:22 +00:00
Felix Fietkau ae62798e99 build: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:02:09 +00:00
Felix Fietkau f1b7de863d mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 19:27:22 +00:00
Felix Fietkau 8e1a7da881 relayd: prevent start for disabled interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 18:12:09 +00:00
Felix Fietkau 678503db36 netifd: fix a regression with some VLAN configurations introduced in the last update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 14:16:36 +00:00
Felix Fietkau 83da7b8202 ppp: on PPPoE, always send PADT when shutting down the connection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 13:41:10 +00:00
Felix Fietkau 33e96691ce netifd: do not stop service on shutdown, only call ifdown
Also add a small delay, like on restart

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 13:41:04 +00:00
Jo-Philipp Wich 730e24cfaa ppp: rework host-uniq support to take hex encoded strings
The previous implementation of the "host-uniq" option used plain strings for
passing the value to pppd which made it impossible to specify binary data.

Switch the format to a hex encoded string to support binary data.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 11:30:45 +00:00
Felix Fietkau 2ea6261f8c netifd: update to the latest version, fixes bridge reload (#18351) and device config issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 00:30:36 +00:00
Jo-Philipp Wich e7644dcb41 netifd: store additional DHCP lease information
Extend the DHCPv4 handler script to store additional information from the
DHCP lease in the per-interface data object.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 22:19:29 +00:00
Jo-Philipp Wich 78daa9139c include, base-files: align default repository url with changed buildbot structure
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 13:09:54 +00:00
John Crispin dda181d82c base-files: fix led script to skip missing triggers
this is based on http://patchwork.ozlabs.org/patch/424451/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 12:33:04 +00:00
John Crispin 87b2ba2865 uboot-lantiq: add a cgu fix for arx100
http://patchwork.ozlabs.org/patch/431024/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 12:32:54 +00:00
John Crispin ebf03a147d modules: add 6LoWPAN over Bluetooth Low Energy
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18.
Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN.
Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy.

Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 12:32:36 +00:00
Felix Fietkau e901f2faae gmp: use http instead of ftp download (#18805)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 10:54:56 +00:00
Felix Fietkau cfa0e99958 ubus: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 10:54:52 +00:00
Felix Fietkau dd1770a831 libubox: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 10:54:45 +00:00
John Crispin f1328aff8e modules: f2fs: enable support for xattr
To use overlayfs on f2fs, xattr needs to be supported.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-22 09:35:35 +00:00
John Crispin 9e416e9027 modules: f2fs: add missing symbols for 3.18
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-22 09:35:29 +00:00
Zoltan HERPAI ca42c07b31 modules: install the newly introduced grace.ko in nfs-common in 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 23:49:44 +00:00
Zoltan HERPAI ee51fa7829 packages: uboot-sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 22:50:52 +00:00
Zoltan HERPAI e4abcab601 packages: uboot-sunxi: fix GMAC TX delay for Bananapi
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 22:49:47 +00:00
Steven Barth eb7d207249 nftables: bump for minor fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 13:42:47 +00:00
Jo-Philipp Wich 9b164dd29e polarssl: patch CVE-2015-1182
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 12:49:54 +00:00
John Crispin 20ff050890 base-files: Use 200ms LED timing as before for the new phase preinit_regular.
This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting.

Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting.

So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;)

Sorry for not having explained myself better in v1 of this patch.

Original:
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 200ms
Failsafe entered: 50ms

Now (after preinit_regular has been introduced):
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change*
Failsafe entered: 50ms

With my proposed patch:
Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe*
Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before*
Failsafe entered: 50ms

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 06:54:53 +00:00
John Crispin 410d22ac03 comgt: Allow using non-TTY devices
Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 06:33:49 +00:00
Rafał Miłecki ea4c8284ee uclient: update to the latest version with timeout support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 16:02:59 +00:00
Rafał Miłecki af7f846d72 libubox: update to the latest commit with JSON and usock fixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 15:56:06 +00:00
Steven Barth a3c324fd02 netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 08:39:04 +00:00
Zoltan HERPAI 48be4dbd70 packages: uboot-sunxi: uEnv is used as a script rather than default env
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 00:00:57 +00:00
Zoltan HERPAI d046273418 packages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:56:08 +00:00
Zoltan HERPAI 7e18767a8b packages: uboot-sunxi: remove unused Hackberry target
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:47:50 +00:00
Luka Perkov f65a3470a9 uboot-envtools: fix Linksys EA3500 env size
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:45:11 +00:00
Zoltan HERPAI 7fe871a304 packages: update uboot-sunxi to 2015.01
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:42:42 +00:00
John Crispin 1b71e7bc01 mac80211: add throughput trigger to ath10k
add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 10:26:57 +00:00
Felix Fietkau 92278f63ec igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic
This patch adds a simple check to silence logging of messages about
unrecognized igmp packets which originate from devices in local network.

Without this patch igmpproxy floods openwrt syslog with messages such as:
  user.warn igmpproxy[19818]: The source address 192.168.1.175 for group
  239.255.250.250, is not in any valid net for upstream VIF.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 00:42:43 +00:00
John Crispin 8f6963d065 dnsmasq: add option --quiet-dhcp
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:38:55 +00:00