Commit Graph

11294 Commits (1ec9a71c225b9b3fd1f8c68281b6bc0c99d59ce4)

Author SHA1 Message Date
John Crispin 9c2f5aeffa uboot-lantiq: update to v2013.10
Patches created from tree:
git@github.com:danielschwierzeck/u-boot-lantiq.git
v2013.10..u-boot-lantiq-v2013.10-openwrt4

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:14 +00:00
Felix Fietkau 0405c86ef9 kernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 15:43:17 +00:00
Felix Fietkau df3937062b hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but
apparently did not provide a default value 0.

When that option's non-existing value is later evaluated in
/lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in
syslog if user has not set the wps_pbc_in_m1 option. The error materialises
only if user has enabled wps.
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number

Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3

Error is caused by line 282:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282

My patch sets the parameter's default value to 0, which does nothing. The
default might also be set a bit later in the function, but this felt like the
most clear place to do that.

Signed-off-by hnyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 14:28:34 +00:00
John Crispin bef7ea0796 lantiq: more vdsl related cleanups
* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:40:24 +00:00
Felix Fietkau 66d49dbdf4 netifd: switch to using git.openwrt.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:28:55 +00:00
Jo-Philipp Wich 161a63f4ef uci: fix import with not yet existing packages, preserve config permissions on commit, fix Lua detection in cmake
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 16:14:09 +00:00
Jo-Philipp Wich a417886bdc uhttpd: do not attempt to configure Lua handler if referenced file does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 16:13:27 +00:00
Felix Fietkau d0c0b1f674 netifd: update to latest version, adds a force_link parameter to bring up an interface without active device carrier
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 13:48:41 +00:00
Felix Fietkau 2a234f4716 netifd: update to the latest version, fixes some reload issues with proto=static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 15:21:13 +00:00
Felix Fietkau 4492eb443b kernel: add a dependency of kmod-r8169 on r8169-firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 14:43:33 +00:00
Felix Fietkau fbbe736dcb linux-firmware: add a new package for firmware (currently only builds r8169 firmware)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 14:43:30 +00:00
Felix Fietkau 7cdf7c14d6 netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
Fixes #15504

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 11:31:21 +00:00
Felix Fietkau 1d5076d98d mac80211: add back missing tx power handling fix (#12750)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 08:52:33 +00:00
John Crispin c34f225392 lantiq: move the dsl-modem config to network.@dsl-modem[-1]
make sure uci_defaults generates a proper uci config for the v/adsl modem

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 08:14:33 +00:00
John Crispin 160bef9a98 lantiq: vdsl init.d script should auto start
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:36:28 +00:00
John Crispin 02e24506c3 lantiq: cleanup vdsl driver bringup
config interface 'wan'
	# a, b, j
	option annex b
	# a, b, av, bv
	option tone b
	# vdsl.bin
	option firmware
	# atm, ptm
	option xfer_mode atm

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:31:24 +00:00
Steven Barth 1898acd9b4 odhcpd: use correct defaults for interfaces not in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 12:29:43 +00:00
Steven Barth 18b597d5a1 odhcp6c: fix recovering from status where all addresses have been lost
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 06:57:04 +00:00
Felix Fietkau 2dd9057feb mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:27 +00:00
Felix Fietkau 4012b63ad3 mac80211: fix user antenna gain calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:23 +00:00
Felix Fietkau 2d7b490808 ath9k: fix AP mode crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:19 +00:00
Felix Fietkau 658d48c1e5 ath9k: fix some ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:13 +00:00
Felix Fietkau 991bea678a base-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes #15496)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 21:17:49 +00:00
Steven Barth 132cd13638 ds-lite: compatibility with ISPs that only offer public PDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 06:19:37 +00:00
Steven Barth 7166609dc4 OpenSSL: update to 1.0.1g
This fixes the Heartbleed bug (CVE-2014-0160).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 05:24:36 +00:00
John Crispin e11ba4da13 base-files: the ubi tol should be installed when jumping to ram_fs
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:35:20 +00:00
John Crispin 1a579e57fe base-files: make use of new fstools
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:15 +00:00
John Crispin 43562719f0 fstools: update to latest git HEAD
this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:07 +00:00
Felix Fietkau 403613a2fa netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 11:12:06 +00:00
Felix Fietkau d0973094c9 /lib/functions.sh: remove config_rename()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:29:51 +00:00
Felix Fietkau 8ce376a524 /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:29:47 +00:00
Felix Fietkau 79be8946a7 /lib/functions.sh: remove jffs2_mark_erase()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:29:42 +00:00
Felix Fietkau 63ec4c522f base-files: remove config_clear() and list_remove()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:01:59 +00:00
Felix Fietkau fa7d088f18 base-files: move uci_apply_defaults() to /etc/init.d/boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:01:54 +00:00
Felix Fietkau ad3793303a /lib/functions.sh: remove hotplug_dev()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:26 +00:00
Felix Fietkau 6fc0daa25c /lib/functions.sh: remove strtok()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:23 +00:00
Felix Fietkau fbddef3dc9 /lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:19 +00:00
Felix Fietkau b4ee46fb86 /lib/functions.sh: remove pi_include()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:15 +00:00
Felix Fietkau 9e3ce3f75f /lib/functions.sh: remove jffs2_ready()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:11 +00:00
Felix Fietkau 4a736626c1 /lib/functions.sh: remove support for non-overlayfs overlay fopivot types
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:50:07 +00:00
Steven Barth c580cc13d7 odhcpd: improve managed PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 14:34:45 +00:00
Felix Fietkau 1617cf7da2 hostapd: update to version 2014-04-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 12:13:55 +00:00
Felix Fietkau 9f34772a47 mac80211: update to wireless-testing 2014-03-31
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 10:41:23 +00:00
Felix Fietkau f61df7b430 uclibc++: disable mips16 support to avoid linkage errors with libsupc++ object files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 21:58:16 +00:00
Felix Fietkau 000ed6ac72 odhcp6c: Add renew handler for proto dhcpv6
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:25 +00:00
Felix Fietkau 8edf724ac6 netifd: Add renew handler for proto dhcp
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:22 +00:00
Felix Fietkau 375eb86ab8 netifd: update to latest version, fixes issues when l3 interface changes on reload (e.g. ppp -> dhcp/static)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:18 +00:00
John Crispin a725c853e0 fstools: scripts should propagate the cmdline
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:40 +00:00
John Crispin 68bca634cc ubi-utils: fix git tree path, a regex went mad
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:30 +00:00
John Crispin f53bc819fe lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:20 +00:00
Jonas Gorski fb7ad14687 kernel: fix bluetooth and zsmalloc for 3.14
zsmalloc was promoted from staging, while bluetooth gained a dependency
to a library shared with 802.15.4 for 6lowpan support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:54 +00:00
Jonas Gorski 5e36f2963e kernel: fix usb module paths for 3.14
dwc2 was promoted from staging, while u_rndis was merged into
usb_f_rndis.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:52 +00:00
Jonas Gorski 42078486ee kernel: fix kmod-sound-core for 3.14
pcm-page-alloc was merged into snd-pcm.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:50 +00:00
John Crispin 937a78b306 ubi-utils: mini version of mtd-utils that only includes ubi tools
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:42 +00:00
John Crispin e60bb265de fstools: update to latest git
this fixes ubifs and ubi overlay support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:38 +00:00
Steven Barth 72b2e82419 odhcpd: add preliminary support for managed DHCPv6-PD and CER-ID
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 18:52:09 +00:00
Steven Barth f289cd0750 odhcp6c: add preliminary CER-ID support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-31 06:43:50 +00:00
Felix Fietkau 8ed950b602 grub2: disable mkfont - fix build on Archlinux
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:55:43 +00:00
Felix Fietkau 34ce786a32 grub2: disable libdevmapper - fix build when it's available
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:55:39 +00:00
John Crispin 09287d5129 samba36: revert r40341
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:05:25 +00:00
John Crispin 8b51cfac71 samba: update to 3.6.23
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:03:12 +00:00
John Crispin 744251d4f1 lantiq: fix ptm crash under load
https://dev.openwrt.org/ticket/14581

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 14:01:21 +00:00
John Crispin aabcfb48e6 kernel/modules: package Arabic charsets
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:08:00 +00:00
John Crispin 59bd64cb66 kernel/modules: package Hebrew charsets
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:07:57 +00:00
John Crispin 5f344f1508 dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:07:52 +00:00
John Crispin 89302dbe5d util-linux: add missing dependency
https://dev.openwrt.org/ticket/15417

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:00:50 +00:00
John Crispin 9e97b6117e busybox: backport dd conv=swab from 1.22
Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:

commit    b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit    8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit    5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit    0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink

v2: include the commit messages from upstream

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:47 +00:00
John Crispin c2d755eb76 ltq-adsl-mei: improve memory allocation
The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:39 +00:00
John Crispin 878b0d6816 ltq-vdsl: add led status reporting
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:27 +00:00
John Crispin 4573d1dc15 ltq-vdsl: fix MIPS16 compile breakage
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:29 +00:00
John Crispin bbff25f740 firmware: create a new folder for holfing firmware blobs
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:25 +00:00
John Crispin 11ed704f1f util-linux: backport upstream fix for unshare utility
the unshare utility wasn't getting certain defines for mount
anymore.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:03 +00:00
John Crispin 74e9dde7b0 mtd: improve mtd detection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:14:58 +00:00
Felix Fietkau a273f66de7 dropbear: move options.h editing to Build/Configure
fixes incremental build with change to CONFIG_DROPBEAR_ECC
drop --with-shared which is unknown to configure

Patch by Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 17:10:52 +00:00
Felix Fietkau 31c24e7253 dropbear: add options SSHKeepAlive and IdleTimeout.
Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).

TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.

300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 17:05:35 +00:00
Felix Fietkau 49be87f44e dropbear: fix interface config setting
Patch from #15070

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 16:59:33 +00:00
Felix Fietkau fa81f88bd4 dropbear: update to 2014.63
Upstream changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

This adds elliptic curve cryptography (ECC) support as an option, disabled
by default.

dropbear mips 34kc uClibc binary size:
before: 161,672 bytes
after, without ECC (default): 164,968
after, with ECC: 198,008

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 16:59:26 +00:00
Jo-Philipp Wich d82118c592 mac80211: skip antenna gain when compiling regdb.txt (#15397)
The antenna gain attribute has been removed from the upstream regulatory database.
Incorperate patch from Luis R. Rodriguez to skip the parsing of the gain attribute
in genregdb.awk in order to emit proper rules again.

Also refresh fuzzy patches while we're at it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-28 16:05:46 +00:00
John Crispin 16e5a6fc8a ubox: fix logd (hopefully)
https://dev.openwrt.org/ticket/15357

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 13:36:01 +00:00
Imre Kaloz e0200200b8 [mac80211]: update regulatory database to 2013-11-27
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 11:28:51 +00:00
Felix Fietkau 49a4be3c49 usbmode: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 16:08:06 +00:00
Felix Fietkau 63a5d59197 jsonpath: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 16:08:02 +00:00
Felix Fietkau ec4fcd8579 libubox: switch to git.openwrt.org as source
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 16:07:58 +00:00
Felix Fietkau d7a9700570 mtd: add support for bad blocks in NAND flash
NAND flash is very likely to contain bad blocks.

Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.

This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.

Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 10:50:09 +00:00
Steven Barth 58ca40c218 6rd / ds-lite: make the firewall-zones of nested-protocols configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 10:12:49 +00:00
Steven Barth 3e85c08bbb dhcp: send 6rd-ORO when expecting 6rd-information
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 09:48:20 +00:00
John Crispin a284ffb5a3 fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-25 20:15:50 +00:00
Felix Fietkau 1f54e9dd0e ustream-ssl: update to latest version, adds certificate validation support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-25 15:06:24 +00:00
Imre Kaloz 51ced43afd [am33x-cm3]: add the TI AM335x PM firmware package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-25 14:56:35 +00:00
Luka Perkov 134c14dc9d [package] util-linux: update to 2.24.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-24 00:19:44 +00:00
Luka Perkov b0374926ec [package] libroxml: enable xpath support
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-23 16:08:58 +00:00
Felix Fietkau ae3046225c ca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink (fixes #15351)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-23 11:59:37 +00:00
Felix Fietkau 58933441da uhttpd: update to latest version, improves cgi path handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-22 19:38:48 +00:00
Felix Fietkau 1df0b27eaa ustream-ssl: update to the latest version, fixes cyassl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 23:39:47 +00:00
Felix Fietkau 1a4dd4ddff uhttpd: update to latest version, fixes HEAD requests to CGI scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 20:49:56 +00:00
Felix Fietkau 41fdf21988 netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:27 +00:00
Felix Fietkau d0448ca8ac px5g: rename the old package to px5g-standalone, add a new one that links against polarssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:23 +00:00
Felix Fietkau 55a9bf9653 polarssl: add support for generating rsa keys
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:18 +00:00
Felix Fietkau c4a4530996 libroxml: add package (tiny XML parser/writer library)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:15 +00:00
Felix Fietkau b0126e4395 hostapd: add pbc_in_m1 option
Option pbc_in_m1 is being used as a WPS capability discovery
workaround for PBC with Windows 7.
Add possibility to enable this workaround from UCI.

To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1.

Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:03 +00:00
Felix Fietkau c97013b87b ead: clean up
Remove unused variables
Correct some (non important) memory leaks
Remove fclose(NULL)
Correct possible out of bound access

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:59 +00:00
Felix Fietkau dd4175bcc1 ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:56 +00:00
Felix Fietkau 8fe5646e4f ppp: remove ppp requirement from chat
This patch removes dependancy of PPP from chat application as chat application can be used for other serial communication as well that is not dependant on PPP and therefore one should be able to install chat without PPP. There also are no dependencies within chat application for PPP.

Signed-off-by: Oskari Rauta <oskari.rauta at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:52 +00:00
Felix Fietkau 0cf9f468c0 libnl-tiny: ensure compatibility to libnl version 3 and higher
To be prepared to support keepalived 1.2.10 and higher we need libnl3 or
higher. The attached patch
add some defines so that it can be build be libnl-tiny.
Patch by Thomas Heil

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:48 +00:00
Felix Fietkau 77530d20ce Add Bosch C_CAN/D_CAN modules kernel package
Add Bosch C_CAN/D_CAN driver as a kernel package. The D_CAN controller is used
on BeagleBoneBlack.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:44 +00:00
Felix Fietkau 4be4ff697d kernel: add can.ko to the kmod-can package.
Build all of the can support as modules, otherwise the kernel image is
changed when a can kernel package is selected, because the can protocol
is then built in into the kernel image.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:41 +00:00
Felix Fietkau 330247dd20 mac80211: iwlagn include firmware for 7260 cards
This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:37 +00:00
Felix Fietkau 0f0271626b busybox: remove obsolete brctl linux 2.4 compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:34 +00:00
Felix Fietkau 92872e226a busybox: remove obsolete awk include() patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:30 +00:00
Felix Fietkau 2a6045c345 ustream-ssl: update to latest version, fixes writes before ssl handshake completion
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:26 +00:00
Felix Fietkau fb81974faf ca-certificates: add system CA certificates package (based on the debian one)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:22 +00:00
Felix Fietkau 1abc9c63a2 procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:18 +00:00
Felix Fietkau b71f5661d7 mac80211: Enable kmod-rt2800-soc package for rt288x target
Trunk and the latest backport to Attitude Adjustment have the
kmod-rt2800-soc package hidden for the ramips_rt288x target.
This makes the dependency match the dependency given in the
TITLE field.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:03:08 +00:00
Florian Fainelli 625627d080 libusb-compat: install libusb-config in host staging dir
A bunch of packages such as sispctl look for libusb-config to find it, install
libusb-config in staging_dir/*/host/bin which is in the TARGET_PATH.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 23:16:06 +00:00
Florian Fainelli 0b8f6c7be8 modules: make kmod-pcspkr depend on X86
The kernel Kconfig dependency lists X86, and we will fail building this module
on other platforms such as Malta.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 23:15:56 +00:00
Felix Fietkau 5e02d6247e netifd: update to the latest version, fixes ubus handling of proto data items
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 20:06:59 +00:00
Felix Fietkau 853453965b toolchain: remove accidental leftover debug code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 14:14:34 +00:00
Felix Fietkau f310b20ac2 busybox: fix existing "export -n" in ash
Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment.

Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments.

Without this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1, 2

With this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1,

Signed-off-by: Christophe Lermytte <openwrt@lermytte.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 14:14:30 +00:00
Felix Fietkau 3f2d9211d7 netifd: update to latest version, fixes an autostart handling with link detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:57:28 +00:00
Felix Fietkau ffbd5fc511 toolchain: add a symlink for musl softfloat ldso to the path where our gcc expects it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:47 +00:00
Felix Fietkau 9985a73076 firewall: update to latest version, fixes a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:43 +00:00
Felix Fietkau 044c8c897f iptables: fix issues with the new musl version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:40 +00:00
Felix Fietkau 137c4262e8 pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:36 +00:00
Felix Fietkau c6019944e3 uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:27 +00:00
Steven Barth c8564bfc33 odhcpd: fix more segfaults + ubus interaction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 12:25:17 +00:00
Felix Fietkau d1632ca6cf libpolarssl: add missing dependency (#15321)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 11:39:11 +00:00
Steven Barth d903c5a77b odhcpd: fix possible segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 09:39:00 +00:00
Felix Fietkau 5a201cd3f4 ath10k: update firmware and allow choice between AP and STA firmwares
This patch updates ath10k firmware to the latest version, changes the
default firmware to be the one optimized for access point operation, and
introduces a configuration option to choose the client-optimized
firmware instead during build time.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:37:12 +00:00
Felix Fietkau 7d4e24ebdc netifd: update to latest version, adds support for specifying a config path
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:26:51 +00:00
Felix Fietkau c0631e4aa5 ubus: update to latest version, blocks unrelated uloop calls on synchronous requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:26:43 +00:00
Felix Fietkau 779f604b8d libubox: update to the latest version, adds some utility macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:26:22 +00:00
John Crispin 07fac08fd1 ubox: update to latest git head
logread now shows the right time.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 19:22:38 +00:00
Imre Kaloz 567cc1ee17 [mac80211]: add add new firmware support and additional fixes for wl18xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:55:54 +00:00
Imre Kaloz 7777f1ed2c [mac80211][omap]: switch to the newer DT bindings for wl1xxx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:54:27 +00:00
Felix Fietkau 4cc6898f94 procd: update to latest version, fixes a format string bug in processing init script output (#15169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 12:58:15 +00:00
Felix Fietkau fa5b3711e8 ltq-vdsl-mei: disable mips16 support (fixes #15284)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 12:11:05 +00:00
Felix Fietkau 4f6bfc347b busybox: fix processing of multiple NTP servers in the config (#15294)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-17 14:52:18 +00:00
Imre Kaloz 4dbf11202f [mac80211]: use newer firmware checkout
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-17 13:36:10 +00:00
Felix Fietkau c8457cf43a polarssl: update to version 1.3.4 and add openssl compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-14 15:05:46 +00:00
Felix Fietkau 92007525b8 ustream-ssl: add support for polarssl 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-14 15:05:42 +00:00
Felix Fietkau 2ad5d768d4 target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 12:12:58 +00:00
Steven Barth 1eaba393d4 odhcp6c: pass on delegate-flag on to ds-lite interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 10:40:56 +00:00
Steven Barth 6e58c8ac3a netifd: pass on delegate flag from dhcp to 6rd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 10:33:26 +00:00
John Crispin 36deac18a4 72ca3bfc401a4f1b695dcc86640dddee62716cea contained too many files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 07:42:59 +00:00
Hauke Mehrtens 495239e63b kernel: add missing zram option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 23:36:01 +00:00
Hauke Mehrtens 63f0f18e5e brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 23:28:41 +00:00
Florian Fainelli 16b5c69b85 gpio-button-hotplug: don't build for 3.3 kernels
3.3 kernels do not have the required changes which would make
gpio-button-hotplug work, disallow building on those kernels for now.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 22:09:11 +00:00
Felix Fietkau e8af4ee9b0 build: fix installation of default-variant packages when the source package has multiple variants (#15237)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:53:13 +00:00
John Crispin 9ed8fd2348 ubox: update to latest git head
use the fd handover api of ubus to transfer log data
the uci option log_buffer_size can be used to override the default size of 16k

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:33:18 +00:00
John Crispin bd37e9e0ae ubus: update to latest git HEAD
add fd handover inside ubus replies

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:33:09 +00:00
John Crispin 2b77148377 fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:32:51 +00:00
Felix Fietkau 6b3c5bee93 grub2: update to 2.02-beta2, fixes mac os x 10.9 support (and many other things)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 11:21:16 +00:00
Felix Fietkau 18e83ff89a ath9k: merge an aggregation related fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 10:00:56 +00:00
Felix Fietkau 29368b6958 openssl: Fix x86_64 build on some 64bit host systems
On some build hosts openssl fails to install since openssl installs itself into
lib64 while the openwrt Makefile expects the libs to end up in lib.

install -m0644 .../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-install/usr/lib/libcrypto.so.* .../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-x86_64/libopenssl/usr/lib/
install: cannot stat '.../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-install/usr/lib/libcrypto.so.*': No such file or directory
make[2]: *** [/openwrt/bin/x86_64/packages/libopenssl_1.0.1e-2_x86_64.ipk] Error 1
make[2]: Leaving directory `/openwrt/package/libs/openssl'
make[1]: *** [package/libs/openssl/compile] Error 2
make[1]: Leaving directory `/openwrt'

Set LIBDIR accordingly to fix this.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 10:00:53 +00:00
Felix Fietkau e7e3c5ac9a ath9k: further improvements to noise immunity handling on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 15:31:50 +00:00
Steven Barth a95e27ea6f iptables/netfilter: add connlimit to conntrack-extra
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 14:58:00 +00:00
Steven Barth 5ac3f5d136 iptables: bump to 1.4.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 14:57:55 +00:00
Felix Fietkau d99d2d4ad2 ltq-vmmc: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 13:20:07 +00:00
Felix Fietkau 7482b71752 ltq-tapi: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 13:20:04 +00:00
Felix Fietkau 63d92d72be ltq-adsl: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 13:20:01 +00:00
Felix Fietkau 2cd16b9c5f ltq-adsl: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 13:19:56 +00:00
Felix Fietkau 402a931919 openvpn: make size optimization configurable
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 12:07:17 +00:00
Felix Fietkau 20937631bf netifd: update to latest version, includes interface handling fixes by Hans Dedecker
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 09:28:28 +00:00
Steven Barth 74cecba0d9 odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 08:21:58 +00:00
Felix Fietkau 6b21bedc35 ath9k: add another ANI fix for older chipsets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:52 +00:00
Felix Fietkau 203319948e iproute2: add ip-full variant to disable IP_CONFIG_TINY
This change creates a new ip-full variant for the ip package.
It disables IP_CONFIG_TINY to make some iproute2 features available like xfrm, gretap, ...

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 13:32:59 +00:00
Felix Fietkau 2ceb14d456 openssl: update to 1.0.1f
This version includes this changes:

    Don't include gmt_unix_time in TLS server and client random values
    Fix for TLS record tampering bug CVE-2013-4353
    Fix for TLS version checking bug CVE-2013-6449
    Fix for DTLS retransmission bug CVE-2013-6450

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 13:23:41 +00:00
Felix Fietkau d11fe14771 openssl: detect configuration changes and clean build tree accordingly (fixes #15067)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 13:19:29 +00:00
Felix Fietkau 3e05d1f90f openssl: move make depend call to Build/Configure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 13:19:25 +00:00
Felix Fietkau 6100a5655f ath9k: improve ANI debugfs file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:31:05 +00:00
Felix Fietkau 28509f07a6 ath9k: fix tx queue configuration for buffered multicast frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:05:41 +00:00
Felix Fietkau 4c7ec31e4e ath9k: further reduce false baseband hang detects on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:39 +00:00
Felix Fietkau f014be0345 mac80211: add a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:31 +00:00
Felix Fietkau 17e5a4e267 netifd: update to latest version, adds a bridge reload fix and fixes #15157
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-07 18:14:41 +00:00
Steven Barth b34d1931ce odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-07 09:35:17 +00:00
Zoltan HERPAI c509b9d1fa uboot-sunxi: bump u-boot version
- update u-boot to 2014.01-rc1
 - smp support on a20

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-05 23:16:18 +00:00
Steven Barth f51d6fbcbd netifd: don't incorrectly announce up-status via ubus
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-05 17:36:14 +00:00
Steven Barth 9d76b8de22 odhcp6c: several fixes
* Reduce RA/DHCPv6 spam filter to 30s by default and make it configurable
* Don't set nd_ra_{reachable,retransmit] to 0 when received in RAs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-05 08:59:11 +00:00
Florian Fainelli 68c939ba0b brcm2708-gpu-fw: update to a newer version
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 20:29:51 +00:00
Felix Fietkau 44de5c8d01 ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:23 +00:00
Felix Fietkau e6fbcf4df8 mac80211: declare missing config parameter mesh_id
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:16 +00:00
Felix Fietkau cb82ccb277 hostapd: fix deletion of wds sta interfaces in AP mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 14:43:53 +00:00
Felix Fietkau c7c11c726c ath5k: fix enabling 5/10 mhz channel bandwidth support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-27 21:36:28 +00:00
Steven Barth bffbf4f2fc netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-27 12:42:38 +00:00
Steven Barth c71d1c05ca netifd: don't always assume addrs & routes are applied
netifd didn't check the netlink return values and kept assuming
routes are in place even if they weren't

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-26 13:27:32 +00:00
Hauke Mehrtens 02fea308ab broadcom-diag: fix compile
BCM47XX_BOARD_LINKSYS_WRT54G was renamed in r39718

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-25 22:52:33 +00:00
Felix Fietkau 12ed30907b ath9k: add fixes for rx processing and baseband hang detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-25 10:27:02 +00:00
Felix Fietkau ef48b885cf openssl: use termios instead of termio
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 21:09:03 +00:00
Felix Fietkau d67d2eac0c libnl-tiny: fix include path to poll.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 21:08:28 +00:00
Felix Fietkau 314909f7c0 hostapd: link against librt if eglibc is used
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:03:06 +00:00
Steven Barth 97815a6e18 odhcpd: avoid the unspecificed address being advertised as DNS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 13:37:11 +00:00
Steven Barth 884cd62669 odhcpd: fix DNS-server and MSR-entries in RA
Similarly to the previously broken address pools, DNS-servers and some
MSRs could be advertised incorrectly as well. This is now fixed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 13:33:45 +00:00
Jo-Philipp Wich b9e03b404d usbreset: fix possible access to uninitialized variable (#15041)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 23:42:12 +00:00
Felix Fietkau 1897d563e5 ubus: update to latest version, fixes lua binding issues and adds fd passing support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:26 +00:00
Felix Fietkau 567c7f470e libubox: update to latest version, improves uloop error handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:22 +00:00
Felix Fietkau 8b72b267cc procd: depend on libubox directly to rebuild on ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:18 +00:00
Felix Fietkau d30f2291f3 netifd: depend on libubox directly to rebuild on ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:15 +00:00
Felix Fietkau ab57b89aa9 ubus: declare main version as ABI version for libubus
Reorder BuildPackage calls, as libubox needs to come first for ABI
version handling to work

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:11 +00:00
Felix Fietkau b433eb9c7c libubox: declare main version as ABI version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:07 +00:00
Felix Fietkau ad705417a3 netifd: update to latest version, fixes wireless device reload handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 08:13:28 +00:00
Felix Fietkau a2db25951f ath5k: mark the current survey channel as being used
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:57:09 +00:00
Felix Fietkau acfc03d554 ath9k: reduce unnecessary logspam (#14940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:48:56 +00:00
Felix Fietkau 26fc63878b ath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:43:48 +00:00
Felix Fietkau 1577a27b74 ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework (#14092)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:11 +00:00
Felix Fietkau 8de10cb678 ath9k: show more reset causes in debugfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:07 +00:00
Felix Fietkau 17d917db53 mac80211: merge some upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:04 +00:00
Felix Fietkau b2ce41bde8 ath9k: enable u-apsd support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:00 +00:00
Felix Fietkau 3fe5fa17cf ath9k: add a tx locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:00:55 +00:00
Hauke Mehrtens 316cf18d11 kernel: add missing depends on kmod-mii
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 22:57:39 +00:00
Hauke Mehrtens a55ac4d143 kexec-tools: disable lzma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 20:06:41 +00:00
Steven Barth b7a8cc562f odhcpd: fix wrong address pool being advertised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 18:02:25 +00:00
Imre Kaloz 6cab8a6c0c [base-files]: the root password should be empty for real, like before
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 10:39:14 +00:00
Jo-Philipp Wich 13ede72907 firewall: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 00:22:23 +00:00
Jo-Philipp Wich 0d02f32a17 netifd: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 00:17:04 +00:00
Jo-Philipp Wich 75f88cf3fe firewall: fix several ipset integration issues (#15016)
- Do not consider bitmap storage for IPv6 family sets
	- Move ipset family parameter before any additional option
	- Only emit family parameter for hash sets
	- Do not allow IPv6 iprange for IPv4 sets and vice versa

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-20 23:20:10 +00:00
Steven Barth 873b6c31ed 6in4: add support for he.net updatekey
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-20 21:36:15 +00:00
Nicolas Thill 97afdda510 mac80211: disable libertas-sd on uml target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:15:52 +00:00
Nicolas Thill e386a2e3ae uboot-envtools: pass target cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:11:24 +00:00
Steven Barth 90a07596e1 odhcp6c: readd userclass and vendorclass
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 18:30:47 +00:00
John Crispin 216641d3c0 odhcp6c: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:16 +00:00
John Crispin 7e90362903 relayd: add uci validation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:12 +00:00
John Crispin ceda071dfb mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:08 +00:00
John Crispin 49f77e8016 netifd: add validation support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:04 +00:00
John Crispin 9450ebce2b hostapd: add validation rules to wireless handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:59 +00:00
John Crispin 4aff5a4e3d ppp: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:56 +00:00
John Crispin 47e0e9ed2f comgt: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:52 +00:00
John Crispin 7027da552c firewall3: update init.d script to make use of procd
add validation data

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:47 +00:00
John Crispin 3854547a4a ubox: logd did not register its config.reload trigger properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:43 +00:00
John Crispin 6cd00fa25c base-files: split /etc/init.d/boot into 2 files
this allows us to bind a procd trigger to system.@system[-1]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:40 +00:00
John Crispin e2af138349 netifd: update to latest git head
this adds support for proto and wireless handler adding uci validation rules

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:36 +00:00
John Crispin f815a8c108 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:32 +00:00
John Crispin f97a3cfbe8 procd: the helper script did not export all functions properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:29 +00:00
John Crispin bed28742bc authsae: update to latest version
Signed-off-by: Stefan May <smay@4finger.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:13 +00:00
John Crispin f2b9871a1d openssl: fix up PKG_DEPENDS. there are 2 missing CONFIG_ prefixe
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:08 +00:00
Felix Fietkau 3eeb6bd12e uci: update to latest version, adds preparation for validation support and blobmsg int64 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 12:27:11 +00:00
Steven Barth 9f824dff49 odhcp6c: send reconfigure-accept again to be compliant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-17 20:31:21 +00:00
Steven Barth e828e7aaf3 odhcpd: Fix RA interval + add support for prefixes > 64 and < 97
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-17 20:30:29 +00:00
Steven Barth d91939cd82 netifd: work around dangling prefix kernel-routes (fixes #14963)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-16 11:20:22 +00:00
Luka Perkov 55db723f0b [package] uboot-kirkwood: add support for Seagate GoFlexNet
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-16 00:14:26 +00:00
Luka Perkov 8cc29e4be3 [package] uboot-kirkwood: update to 2013.10
Tested on:

 * Cloud Engines Pogoplug E02
 * RaidSonic ICY BOX IB-NAS62x0
 * Iomega Iconnect

Some users are avoiding to replace their bootloader, because of that add
support for second stage u-boot image. Having ubifs capable bootloader is
required in order to boot current OpenWrt trunk.

Sample ib62x0 commands for running second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
bootm 0x800000

Sample ib62x0 commands for flashing second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
nand erase 0x100000 0x100000 ; nand write 0x800000 0x100000 0x${filesize}
nand read 0x800000 0x100000 0x100000 ; bootm 0x800000

While at it include parallel build support, use alphabetic order of the boards
and introduce common OpenWrt configuration.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by (on ib62x0): Luka Perkov <luka@openwrt.org>
Tested-by (on dockstar): Alexander Couzens <lynxis@fe80.eu>
Tested-by (on iconnect): Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Felix Kaechele <heffer@fedoraproject.org>
CC: Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Alexander Couzens <lynxis@fe80.eu>
CC: Daniel Engberg <daniel.engberg@pyret.net>
CC: Imre Kaloz <kaloz@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-15 23:53:07 +00:00
Steven Barth 2c64b38a6b netifd: fix source-routing breaking 6in4 + others
6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858).

Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-14 21:21:44 +00:00
Steven Barth 1cb05cbff9 odhcp6c: remove source-restriction from local routes again (broke relaying)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-12 08:54:43 +00:00
Felix Fietkau 9d93ca72fb mac80211: send wpa frames through the WMM voice queue - improves connection reliability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:55 +00:00
Felix Fietkau 97c3a186fb ath9k: add p2p client mode support powersave patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:51 +00:00
Felix Fietkau 1d5fef0379 rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:36 +00:00
Hauke Mehrtens e84b7226b0 kernel: fix kmod-usb-phy-nop
phy-generic.ko was renamed and moved from kernel version to version.
kernel <= 3.9: nop-usb-xceiv.ko
kernel >= 3.10 && <= 3.11: phy-nop.ko
kernel >= 3.12: phy-generic.ko

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 20:30:24 +00:00
Hauke Mehrtens cbcc1ac2be kernel: fix kmod-usb-net-smsc95xx
smsc95xx.ko depends on crc16.ko on kernel >= 3.8
There was an additional kmod-usb-net-smsc95xx definition in the mxs 
target code which conflicted with the one in the common area.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 20:12:13 +00:00
Imre Kaloz 7eddc028e3 [usb]: phy-omap-control.ko is already part of a different package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 15:29:11 +00:00
Imre Kaloz 7fd298d811 [usb]: additional omap/musb related fixes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 14:40:27 +00:00
Imre Kaloz c67ae15f11 [usb]: fixup ethernet gadget, disable EEM support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 14:38:22 +00:00