Commit Graph

10450 Commits (5a8864448ad4a2b391848e034e9ebca834544dfd)

Author SHA1 Message Date
John Crispin ebc1e02230 base-files: convert sysntpd init script to procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:35 +00:00
John Crispin 55bf8ea96a busybox: convert crond init script to procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:30 +00:00
John Crispin 449861c4af busybox: convert telnet init script to procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:26 +00:00
John Crispin 79c725192b base-files: run readlink on initscript name before opening services
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:21 +00:00
John Crispin db68332793 base-file: usbfs is no longer mounted under /proc/bus/usb
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:17 +00:00
Florian Fainelli 7d30edeb3c kernel: package the HW random core module
And update the crypto-hw-hifn-795x to use it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 19:42:48 +00:00
Felix Fietkau e91e245a2d ipset: force the shell to bash to fix build issues on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 14:59:00 +00:00
Felix Fietkau 747a5fa8dc xtables-addons: update to version 2.3, adds linux 3.10 compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 14:51:13 +00:00
Felix Fietkau 9441aef40a firewall: add missing dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 11:33:48 +00:00
Luka Perkov 9865d93281 [package] ubox: remove empty menu from block-mount
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09 23:17:33 +00:00
John Crispin f3065bb0b3 procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 16:35:19 +00:00
John Crispin f35399aae2 procd: remove obseleted procd.init file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 16:35:10 +00:00
John Crispin 3bdd443b58 base-files: add 2 missing variable defines
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 16:35:02 +00:00
John Crispin 1eabd25ecb kernel: unbreal of_i2c selection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 09:01:52 +00:00
John Crispin 3f60f76184 ubox: add a uci-default script for fstab generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 09:01:42 +00:00
John Crispin 995a33804f lantiq: move dsl tools to package/network/config
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 09:01:38 +00:00
Luka Perkov 2d4cc343ed [package] ltq-hcd: remove prebuilt module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 00:37:50 +00:00
Luka Perkov 24ad605866 [package] linux-atm: fix dependencies
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08 00:37:49 +00:00
Felix Fietkau 64e2d1fd4e gettext-full: use portability header files for byteswapping on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-06 14:49:20 +00:00
Felix Fietkau 9fea6e4648 gettext-full: add a patch to suppress duplicate definitions of error_print_progname which break on some systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-06 14:49:16 +00:00
Felix Fietkau c0d0e988ef gettext-full: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-06 14:49:12 +00:00
Felix Fietkau e7e1252ca2 xfsprogs: disable blkid support to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-06 14:49:04 +00:00
Jo-Philipp Wich fb5527b8db firewall: allow routed lan<->lan traffic by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 18:10:36 +00:00
Jo-Philipp Wich 990e4f90d6 lldpd: upgrade to 0.7.5
lldpd 0.7.1 has several alignment issues that trip a system configured
to fault on misaligned accesses.  Version 0.7.5 fixes that along with a
few other minor issues.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 16:57:03 +00:00
John Crispin 7b811a589c px5g: creates certificates that expire in the past
the attached patch fixes a bug of px5g when instructed to build
certificates that expire after 2038-01-19, caused a multiplication that
may overflow the "to" variable of type time_t

Attached patch checks if "to" precedes "from": if so sets "to" to its
maximum value. Pretty rude, but works well even if certificate is set to
expire in a century

Signed-off-by: Federico Fissore <federico@fissore.org>
Patchork: http://patchwork.openwrt.org/patch/3749/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:32 +00:00
John Crispin 9e1d4703d5 kernel: fix 8250 ko name for 3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:28 +00:00
John Crispin f61ce59a68 mac80211: make rt2x00_soc depend on !rt3883
https://dev.openwrt.org/ticket/13777

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:18 +00:00
John Crispin ee878c1e83 button-hotplug: Add KEY_POWER handling
When running OpenWrt within KVM KEY_POWER is generated from the ACPI
button driver when restarting or powering down the VM.

Extend button-hotplug to allow user space handlers for these events.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/3799/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:09 +00:00
John Crispin 749b84769a libubox: update to latest git revision
fixes bug in runqueue complete handling

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:04 +00:00
John Crispin c9098b05bc procd: bump to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:30:59 +00:00
John Crispin c4d63916fa procd: extend shell binding with trigger support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:30:55 +00:00
John Crispin 2c43cc55ea ubox: dont install lsbloader and symlink lsmod
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:30:41 +00:00
Florian Fainelli 426c0e060b trace-cmd: remove the compile fix patch
And instead override TARGET_CFLAGS to set _GNU_SOURCE accordingly since
this is the upstream maintainer solution.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 17:23:55 +00:00
Steven Barth d867d59821 odhcp6c: avoid integer overflows in resend logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 16:14:24 +00:00
Steven Barth 02cdd819fb odhcp6c: add missing config parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 13:50:06 +00:00
Luka Perkov cc110bac9f [package] usbutils: upgrade to version 007
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 01:12:07 +00:00
Luka Perkov f6852707e4 [package] uboot-envtools: add support for imx6 target
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 23:08:19 +00:00
Luka Perkov 374758b6da [package] uboot-envtools: upgrade to 2013.07-rc1
Support for writing on MMC devices has been added.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 23:08:17 +00:00
Luka Perkov 1e25a08d13 gpio-button-hotplug: add support for EV_SW
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 10:45:31 +00:00
John Crispin 051b5a6dcf ubox: add e2fsck support
Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 09:35:08 +00:00
Felix Fietkau 16766264d1 libjson-c: rename the libjson binary package to libjson-c, add a new libjson package with the compatibility library (to deal with the rename)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-01 15:36:12 +00:00
Jo-Philipp Wich 74e513ce31 gettext-full: always use shipped libcroco, unbreaks build if a different libcroco is installed on the host (#12539)
Based on patch from Joerg Hollmann <Joerg.Hollmann@t-online.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-01 11:03:02 +00:00
Jo-Philipp Wich 17a7b9cb50 hostapd: truncate default mac file before adding entries to it (#13797)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-01 10:52:35 +00:00
Felix Fietkau 378caa3427 hostapd: fix multi-ssid and AP+STA, clean up code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 21:01:13 +00:00
Felix Fietkau 5cdd493473 hostapd: update to latest git version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 20:27:38 +00:00
Felix Fietkau 0abf3d1380 rt2x00: fix rf id override for RT5350
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 17:54:20 +00:00
Felix Fietkau bc59643080 busybox: disable the watchdog utility by default (procd handles watchdog devices)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 16:01:45 +00:00
Felix Fietkau 34f9438ca4 mac80211: use a new tarball with updated backport code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 14:49:14 +00:00
Felix Fietkau dc7be3f64c mac80211: update to wireless-testing 2013-06-27, fix ATH_USER_REGD handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 10:44:19 +00:00
Mirko Vogt 2640d86b61 [package/ubox] depend on libubox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 20:59:10 +00:00
Felix Fietkau ca73ec3ee3 gpio-button-hotplug: improve gpio button debouncing, verify state changes over multiple polls. fixes spurious failsafe triggers (#13784)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 19:01:49 +00:00
John Crispin a0789ea558 ubox: add support for delay_root option
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:51:09 +00:00
Jo-Philipp Wich 24632d6be8 firewall: update to git head
- uses custom formatting for mac addresses to ensure leading zeroes, required for older iptables mac match parser

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 13:28:27 +00:00
Felix Fietkau afcc48648d ath9k: fix tx queue pending frame counter when dropping packets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 12:38:15 +00:00
Felix Fietkau 12dc59d546 mac80211: fix cck rate sampling in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 19:14:54 +00:00
John Crispin eaf4cb4c6d ubox: update to latest git revision
fixes a endianess bug inside the uuid code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 14:43:34 +00:00
Felix Fietkau 301d6908e5 e2fsprogs: change the so-version of libcom_err to prevent conflicts, move it into the libext2fs package, get rid of the pthread dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:31 +00:00
Felix Fietkau 0c0ffd497b e2fsprogs: allow mklibs to strip libext2fs.so
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:27 +00:00
Felix Fietkau 331a132006 ubus: fix ubus lua binding duplication
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:24 +00:00
Felix Fietkau 6a1c210ea7 kexec-tools: reduce size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:16 +00:00
Felix Fietkau 4dc34e5cc4 kexec-tools: make zlib support optional, but enabled by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:13 +00:00
Felix Fietkau bcecd9b1ec e2fsprogs: disable library installation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:09 +00:00
Felix Fietkau 6cde6a9751 e2fsprogs: disable testio debug to reduce code size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:58 +00:00
Felix Fietkau d74eaa9e85 e2fsprogs: use -ffunction-sections, -fdata-sections, --gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:55 +00:00
Felix Fietkau 3ef55ed4a9 e2fsprogs: use the private version of blkid statically, it is significantly smaller than the external shared libblkid
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:51 +00:00
Felix Fietkau 4e8679cd67 mdadm: strip support for intel/ddf hardware raid to significantly reduce code size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:48 +00:00
Felix Fietkau 253d616043 mdadm: remove mdassemble, it is redundant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:44 +00:00
Felix Fietkau c013012dcb mdadm: use -ffunction-sections, -fdata-sections, --gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:40 +00:00
Felix Fietkau 55c0013e40 mdadm: add from /packages, add myself as maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:33 +00:00
John Crispin 01bfa22fff ubox: update to latest git revision
* add pivot root support
* add back a /etc/init.d/fstab
* add "block mount/umount" support
* add anonymous swap/mount support
* add auto swap/mount support
* fix superflous error when inserting modules
* add back jffs2reset/jffs2mark

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:22:05 +00:00
John Crispin 908dd9c52f procd: update to latest git revision
* fix ubus reconnect handling
* set global mask 0
* add respawn support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:21:52 +00:00
Felix Fietkau 42d10c8500 libubox: update to latest version, fixes a bug in safe_list_del()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:07:15 +00:00
Steven Barth bf72314fcb netifd: fix typo in dhcp script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 04:19:21 +00:00
Florian Fainelli 50e5b62bcd 6relayd: prevent build on AVR32
AVR32 misses a bunch of updated syscalls, including timerfd_create()
which is used by 6relayd. Since that requires Linux/libc changes, just
prevent building it for now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 15:33:05 +00:00
Felix Fietkau 7d39644405 busybox: disable syslogd/klogd by default, procd replaces them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 11:06:35 +00:00
John Crispin 0e17837962 mac80211: disable rt2x00 on mt7620a
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 07:25:13 +00:00
Zoltan HERPAI f68fad55ee tools: add tools for i.MX23 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-26 10:15:29 +00:00
Steven Barth c4eb9cde4d odhcp6c: Add missing config option "ifaceid"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-25 05:18:20 +00:00
John Crispin eed5ffcc11 hostapd: fix superflous coma
this cause the wps trigegr to be copied to the wrong place

https://dev.openwrt.org/ticket/13753

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 16:44:18 +00:00
Steven Barth 23973954c9 ubus: remove unused init-script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 12:38:30 +00:00
Steven Barth 051a298a7e arptables: Bump to 0.0.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 05:48:12 +00:00
Steven Barth 2978fda395 6relayd: don't accidentally remove regular prefix routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-23 16:26:09 +00:00
John Crispin f2d277e9c0 util-linux: dont provide swapon/off
these are no provided either by busybox or block-mount

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-23 15:51:33 +00:00
John Crispin 21ee9d504d package: fix insmod on install
the procd changes broke the postinst insmod.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 22:09:40 +00:00
Felix Fietkau 30ada6a984 ath9k: fix a minor rcu issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 13:59:55 +00:00
Steven Barth 065773c16e 6relayd: fix lease-update behaviour for clients without reconfigure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 08:31:28 +00:00
Steven Barth cffbfac7f9 6relayd: Keep PD-downstream across RENEW/REBIND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 08:19:25 +00:00
John Crispin 407d63b431 mac80211: fix compile error on rt2x00 when buildin for SoC
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:46 +00:00
John Crispin f1b4824c86 packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:37 +00:00
John Crispin 1b9e69e5a8 base-files: module loading is now handled by ubox/kmodloader
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:59 +00:00
John Crispin bd2c9d64a6 base-files: /etc/init.d/rcS is no longer needed, procd handles this for us now
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:55 +00:00
John Crispin 5fe321461a base-files: drop 2 pointless hotplug trigger stubs
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:51 +00:00
John Crispin dd3bdf1617 base-files: procd is now the init process
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:38 +00:00
John Crispin c37af8ea6a busybox: procd is now the init process
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:30 +00:00
John Crispin 97520d989f base-files: procd init is now the default, remove files.old
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:26 +00:00
John Crispin 422c9d08dc procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:22 +00:00
John Crispin 7d60f42c2e procd: fix hotplug rule to not return on default makedev trigger
this allows the subsystem trigger to also be called

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:19 +00:00
John Crispin d88dd83d90 brcm47xx: dont manually insmod switch drivers
Signed-off-by: John Crispin <bloic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:15 +00:00
John Crispin eaa7932386 hostapd: remove old button hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:07 +00:00
John Crispin d9da5fe227 ubox: update to latest git version
add block mount / extroot support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:03 +00:00
John Crispin 7664baab52 block-mount: drop package, ubox now does the job for us
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:00 +00:00
John Crispin 11b33f6d64 hotplug2: procd does the hotplugging now
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:52:56 +00:00
John Crispin 6501c4d0da util-linux: move package to package/system/utils
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:52:52 +00:00
John Crispin b7ca061d02 util-linux: fix endianess bug and stage libraries properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:52:48 +00:00
Felix Fietkau abf153ccd0 libubox: update to latest version, fixes utf-8 corruption issues in blobmsg_json
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 15:19:31 +00:00
Felix Fietkau 85abb58578 ath9k_htc: fix idle mode handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 10:57:35 +00:00
Steven Barth 28f17b5ff9 6relayd: Fix DHCPv6-PD assignment logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 06:15:09 +00:00
Hauke Mehrtens 65914db872 mac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access
This should fix a build error on ramips.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 15:03:28 +00:00
Felix Fietkau 1183ac2997 ath9k: fix cabq depth accounting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 13:10:31 +00:00
Hauke Mehrtens 71915880cd acx-mac80211: make it compile with the new backports mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:37:56 +00:00
Hauke Mehrtens 7c6fb560a9 mac80211: libertas-sd depends on mmc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:36:52 +00:00
Hauke Mehrtens 4b4690d27e mac80211: copy the backport-include files to staging_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:36:22 +00:00
Hauke Mehrtens f8295a8ac6 mac80211: do not use CPTCFG_SSB and CPTCFG_BCMA
ssb and bcma are not build by compat-wireless / backports and the 
config symbols are also not taken from there. Use the in kernel config 
symbols. This fixes a build error in brcmsmac/led.c


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:33:31 +00:00
Hauke Mehrtens 5a1584f8d9 mac80211: do not build RT2X00_LIB_XXX when XXX is not available in the kernel.
It was possible to select RT2X00_LIB_PCI without PCI being selected.

This closes #13720 
mrkiko thanks for testing.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:29:34 +00:00
Steven Barth ae618e0e3e 6relayd: correctly set downstream routes for DHCPv6-PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 13:08:33 +00:00
Felix Fietkau 3ce3b38c70 netifd: update to latest version, fixes a NULL pointer deref bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 16:24:48 +00:00
Jo-Philipp Wich 85f4e54cbe firewall: update to git head
- fixes misprocessing of unknown symbolic protocol names

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 14:30:51 +00:00
Jo-Philipp Wich b403f780e9 firewall: update to git head
- fixes calculation of IPv4 netmasks derived from 0.0.0.0/0 CIDRs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 14:14:35 +00:00
Steven Barth a84a14bb3b odhcp6c: Add option to override interface identifier in RA-client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 12:51:14 +00:00
Felix Fietkau 9a035029ca libubox: update to latest version, fixes uloop recursion issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:52:40 +00:00
Felix Fietkau 05d17a1895 ustream-ssl: update to latest version, fixes uhttpd infinite loop issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:52:33 +00:00
Steven Barth 28aeb64578 netifd: IPv6: Fix sorting order in last commit.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:29:14 +00:00
Steven Barth 89fe8241e4 netifd: Satisfy IPv6 assignments ordered by prefix length
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:16:22 +00:00
Jo-Philipp Wich 49f5201b52 hostapd: correctly handle macfile uci option
Make hostapd.sh correctly handle the macfile uci option.

Such option specifies the macfile name to pass into the
hostapd configuration file. Moreover, if a maclist option
has been specified, copy the macfile before appending new
entries.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:59:29 +00:00
Jo-Philipp Wich bf4c0b1b8a dnsmasq: use host-record instead of address
Using "--address" for individual host A records is broken, use "--host-record" instead.
The following patch changes dnsmasq.init to build individual host records using "--host-record" instead of "--address".

Signed-off-by: Adam Gensler <openwrt at gnslr.us>

[jow: shorter description, simplified shell script code]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:55:30 +00:00
Jo-Philipp Wich 616aae91c8 base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:33:36 +00:00
Felix Fietkau 828e8d9ec3 ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 12:56:16 +00:00
Felix Fietkau eec5a38d06 mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 09:25:41 +00:00
Felix Fietkau 5fb5b75668 mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 20:14:06 +00:00
Jo-Philipp Wich 8cbd945e7c firewall: update to git head
- properly process intermediate "!" options in argument list (fixes negated ipsets)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 18:54:49 +00:00
Jo-Philipp Wich fdcddce043 firewall: update to git head
- fixes handling of reject target for rule sections with specific destination zone

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 12:49:00 +00:00
Jo-Philipp Wich f5a4945636 uhttpd: expose missing options to uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 11:55:12 +00:00
Steven Barth 97065080b9 odhcp6c: add sanity checks for NDP and MTU parameters from RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 06:38:48 +00:00
Hauke Mehrtens 88d915351c kernel: add dependencies for kernel 3.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 13:59:34 +00:00
Steven Barth 9a246f0762 6relayd: make route preference and prefix on-link flag configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 20:52:27 +00:00
Steven Barth f8cb31d28a base-files: remove unnecessary early sysctl-hack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 14:10:45 +00:00
Steven Barth eda688921a base-files: set default IPv6 forwarding value to 1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 13:30:18 +00:00
Felix Fietkau 21565d94ec uci: update to fix excessive reorder delta entry duplication (#13678)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 12:51:08 +00:00
Felix Fietkau 9beac91954 libubox: update to latest version, fixes an uloop use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 11:46:54 +00:00
Steven Barth 7a187e61cd iproute2: add drop-failed rule action (patch by Jonas Gorski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 09:27:46 +00:00
Felix Fietkau 81450bd00d netifd: update to latest version, uses the new uci/blob code from libuci
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:30 +00:00
Felix Fietkau 50b55436e9 uci: update to latest version, adds uci<->blobmsg conversion code from netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:25 +00:00
Felix Fietkau e31dc9d877 libubox: update to latest version, adds some helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:20 +00:00
Steven Barth 5882e71509 ppp: correctly handle address when reloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 10:42:34 +00:00
Steven Barth 5bab66f331 netifd: improve reloading behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 10:42:15 +00:00
John Crispin 7dd825eacb lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
Incoming packets are now processes in a tasklet instead of in the
irq handler; this should improve latency.

This patch is based on a previous version of ltq-atm driver, which
did implement a tasklet.

It has been tested on a arv4518pw with a
Lantiq Danube for about a month and it seems to work well.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Tested-by: Luca Dariz <luca.dariz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:17 +00:00
John Crispin 755a5b2ee5 procd: make the preinit rules wildcard all buttons for failsafe
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:44 +00:00
John Crispin 0dabdd474a procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:39 +00:00
John Crispin 8cee3461f3 ubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:35 +00:00
John Crispin b21f877df0 sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:31 +00:00
John Crispin 037242e6e4 modules: make all led and button modules used during boot priority 1
This makes sure the modules are symlinked in /etc/modules-boot.d/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:25 +00:00
John Crispin 204d07bcd2 base-files: fix failsafe via button press
entering failsafe by pressing a button during boot was broken for procd as init

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:13 +00:00
John Crispin 64b1c42dac base-files: change PATH order
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:02 +00:00
Jo-Philipp Wich 4314ac851c iwinfo: add phyname attribute, this is useful to group networks by radio phy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-09 14:39:14 +00:00
Jo-Philipp Wich 113981176c libiwinfo: ignore log messages from wpa_supplicant while scanning
wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-09 14:39:09 +00:00
Steven Barth f70a350203 netifd: Improve IPv6 source-routing policies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 13:26:33 +00:00
Jonas Gorski 3d9c1a0ebc netifd: bring wifi down before shutting down
works around wifiX references not being freed on network restart.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 11:44:12 +00:00
Felix Fietkau a07aa729d6 ath9k: fix paprd descriptor setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 16:11:56 +00:00
Felix Fietkau 1d3baf2fd2 ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 16:04:06 +00:00
Jo-Philipp Wich f77f1322b8 firewall: udpate to git head (#13652, #13654, #13658)
- optimizes chain usage for ingress rules
  - adds limit match support for redirect rules
  - fixes automatic redirect dest detection on little endian systems
  - leaves base chains in place on reload to allow user rules to target e.g. "reject"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 14:12:02 +00:00
Jo-Philipp Wich 36e8f9b769 firewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem with colliding CONFIG_IPV6 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 14:02:29 +00:00
Jo-Philipp Wich db43350712 iptables: install libext*.a into staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 14:02:24 +00:00
Steven Barth e877c7b057 base-files: use less entropy when generating ULAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 09:52:00 +00:00
Felix Fietkau e14fd898ae ath9k: fix a regression in the powersave handling related changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 19:16:20 +00:00
Felix Fietkau 93d5e2e9cc ath9k: merge a fix for ar9550 eeprom access
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 19:16:16 +00:00
Nicolas Thill 0414091eba kmod-usb-net-cdc-mbim: fix module loading
cdc_mbim should be loaded after cdc_ncm (closes: #13562)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 14:34:50 +00:00
Jo-Philipp Wich ab659cd65b firewall: update to git head (#13652)
- simplifies using ipsets for rules and redirects, match direction can be specified in-place like option ipset 'setname src dst dst'
  - uses zone_name_src_ACTION chains for input rules, this fixes logging with log enabled src zones

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 11:40:40 +00:00
Jo-Philipp Wich 3e804240df firewall3: fix accidentally changed install directive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 12:30:50 +00:00
Jo-Philipp Wich ea4472d138 firewall: fix git source url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 12:23:47 +00:00
Jo-Philipp Wich 0f0fb56719 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 12:21:52 +00:00
Jo-Philipp Wich 484c42a934 Drop legacy firewall package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 12:21:44 +00:00
Imre Kaloz 8b784f4b12 [generic/3.10]: add some more symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:23:27 +00:00
Jo-Philipp Wich 2c61fc7f42 firewall3: update to git head (#13641)
* Fixes wrong chain used for zone forward policy

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 10:26:49 +00:00
Felix Fietkau d95c3bd674 ath9k: fix some issues in the ap powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 10:21:44 +00:00
Felix Fietkau 2b9432a431 ath9k: fix a null pointer deref issue in the powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 20:58:28 +00:00
Jo-Philipp Wich d3cb5e8ecb firewall3: update to git head
- Fixes problems with reusing matches or targets from loadable extensions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 16:38:29 +00:00
Felix Fietkau 867d235634 ath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:57 +00:00
Felix Fietkau 0b57935885 ath9k: improve AP mode powersave buffering handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:52 +00:00
Felix Fietkau f0cf4ce779 ath9k: increase ANI poll interval to 300 ms to get it close to the listen period
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:43 +00:00
Felix Fietkau 93ac2d0351 uhttpd: update to latest version, fixes CGI related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-01 21:43:06 +00:00
Steven Barth c73c43a3a0 6relayd: Work around Windows DHCPv6 quirks
Announcing deprecated addresses breaks Windows clients

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-01 17:51:02 +00:00
Felix Fietkau ee9294b2a9 usbmode: fix hotplug script name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 15:42:23 +00:00
Felix Fietkau 4ca1241cb7 replace usb-modeswitch with a rewrite that should be more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 15:41:17 +00:00
Felix Fietkau 68d37f6a01 procd: update to the latest version, fixes restarting stopped instances based on init script restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 15:41:12 +00:00
Steven Barth 3a67765ef7 odhcp6c: work around spurious false-positive address DECLINEs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 13:49:17 +00:00
Jo-Philipp Wich 13abaf7561 firewall3: use list notation for default zone network config to avoid "uci add_list" coercing the value wrongly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 13:23:23 +00:00
Steven Barth 4a532d16c3 odhcp6c: fix handling of multiple RAs in a row
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 10:02:39 +00:00
Felix Fietkau 7c3bc2ec47 libubox: update to latest version, fixes some ustream issues that might be affecting uhttpd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 09:19:38 +00:00
John Crispin e3371dd5f9 procd: update to latest git revision
* add support for rcS
* logread can relay log via tcp
* make sure directories are created before mknod is called

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:06 +00:00
Steven Barth e547011ac2 6relayd: Better compatibility with misbheaving DHCPv6 clients
* Make the "best" address / prefix the first one being announced
* Only add the "best" address to the hosts-file

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 15:42:30 +00:00
Steven Barth 2837eb86ef netifd: updated IPv6 prefix delegation
* Added support for prefix classes
* Various bugfixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 15:42:25 +00:00
Felix Fietkau 1d886ef03c uhttpd: update again to fix a ubus plugin crash bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 13:16:38 +00:00
Felix Fietkau 25681e5dbd uhttpd: update to latest version, fixes script timeout for ubus requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 10:44:20 +00:00
Felix Fietkau 59502a17a1 ubus: update to latest version, fixes a crash on request cancelling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 10:44:16 +00:00
Steven Barth 5223919c3f 6relayd: more verbosity in leases and logging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 07:56:55 +00:00
Steven Barth 95dbacb74f iptables: bump to 1.4.19.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 14:58:04 +00:00
Felix Fietkau f618a68021 ubus: update to latest version, fixes json-c library name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 10:54:09 +00:00
Felix Fietkau aae18d7003 json-c: drop compatibility libraries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 10:49:22 +00:00
Felix Fietkau 6f56ff2b78 libjson-c: Update to 0.11
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 10:31:53 +00:00
Felix Fietkau acff9c50b5 libubox: update to latest version, adds support for the new json-c and adds a new blobmsg_json helper
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 10:31:49 +00:00
Luka Perkov b8b35e19ba [package] uboot-imx6: add new package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 01:27:30 +00:00
Felix Fietkau 0a860b5f30 mac80211: fix a crash issue introduced in the active monitor code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 21:20:22 +00:00
Steven Barth c802b55757 netifd: fix IPv6-addresses disappearing due to lifetime-overflows
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 18:32:01 +00:00
Steven Barth 929c94d94e odhcp6c: fix or debug disappearing IPv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 16:28:14 +00:00
Felix Fietkau 82d0836e7b ath9k: fix some issues in PA predistortion (still disabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 16:07:29 +00:00
Felix Fietkau fbe37f1e87 mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 11:10:41 +00:00
Steven Barth cf58fd647b 6relayd: RFC 6204 and naming improvements
* Announce delegated prefixes using route info according to RFC 6204 L-3
* Enable hybrid stateless + stateful DHCPv6-mode as default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-27 20:38:13 +00:00
Jo-Philipp Wich e461a87b6f firewall3: update to git head
- allows building without IPv6 support
	- uses more robust rules to cope with missing libext.a
	- uses better linking strategy to avoid symbol clashes with older iptables
	- introduces source compatiblity layer for different libxtables versions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-27 15:13:19 +00:00
Jo-Philipp Wich 95f1a2574c uci: update to git head (#13348, http://luci.subsignal.org/trac/ticket/572)
- fixes overwriting list options with single-item lists in lua binding

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 17:28:18 +00:00
Jo-Philipp Wich bebdc6222a firewall3: update to git head
- allows symbolic notation for src_ip, src_dip and dest_ip options, e.g. option src_ip 'lan' to automatically resolve to "192.168.1.0/24"
  - automatically infer destination zone for redirects from target ip, this makes 'dest' optional and nat reflection setup more robust
  - properly support output rules with dest '*' to hook directly into delegate_output
  - fixes crash when processing rules with unresolved targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 15:48:04 +00:00
Steven Barth 2427e3c873 6relayd: Fix DHCPv6-server picking up addresses from master interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 10:06:02 +00:00
Jo-Philipp Wich 7a2cfe6c7b firewall3: update to git head
- fixes linking issues with some toolchains

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-24 12:49:06 +00:00
Steven Barth 7c4f549443 6relayd: fix a lease-timing issue with stateful DHCPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-24 12:31:30 +00:00
Felix Fietkau 18c6ed3ae3 mac80211: merge AP VLAN / WDS related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-24 11:54:47 +00:00
Jo-Philipp Wich ab98ef05fc firewall3: update to git head
- Use weak references for instantiating libext*.a matches, makes fw3 independant from the compile time features of iptables
  - Do not leak memory when processing rules with unknown targets or matches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 13:07:44 +00:00
Felix Fietkau 8e6bff8bef mac80211: fix station info tx bytes (#13567)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 13:06:17 +00:00
Felix Fietkau 4ffd43dbc7 uhttpd: update to latest version, fixes #13564, #13560, improves error handling as pointed out in #13537
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:50:42 +00:00
Felix Fietkau c316eb9e8f ath9k: merge some ar934x stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:22:13 +00:00
Steven Barth cee5ff18de firewall3: Remove abandonend include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 06:38:25 +00:00
Jo-Philipp Wich d164d12b83 firewall3: update to git head
- fix build on Linux < 3.7
  - limit zone names to 14 bytes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-22 14:15:53 +00:00
Steven Barth 3ba70f3735 6relayd: Let OpenWrt override default CFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-22 11:58:54 +00:00
Jo-Philipp Wich 2d37cb839e firewall3: update to git head
- fixes reload when firewall is not running already
  - fixes crash when ipsets are supported but undeclared
  - fixes handling of per zone user chains on reload

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-22 11:37:41 +00:00
Steven Barth b9453b277b 6relayd: Fix a segfault when multiple downstream interfaces are present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 18:05:37 +00:00
Jo-Philipp Wich d3c5b49487 firewall3: update to git head
- fixes segfault in flush command if ipset support is not available
  - fixes internal rule generation if custom chains are enabled

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 14:49:37 +00:00
Jo-Philipp Wich dc6ea761b5 ipset: remove dependency on iptables-mod-ipset - technically it does not depend on it and the iptables matches are now part of the base
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 13:00:28 +00:00
Jo-Philipp Wich 557bb37cc1 firewall3: move libext*.a copying to compile phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 12:58:36 +00:00
Jo-Philipp Wich 2952cc9bc7 netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 12:58:15 +00:00
Jo-Philipp Wich 3538668acf firewall3: update to git head
* use libiptc and libxtables directly to manage ruleset, iptables-restore is unreliable and prone to race conditions
 * make ipset integration more reliable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 10:15:14 +00:00
Jo-Philipp Wich 7962222d78 iptables: use -ffunction-sections, -fdata-sections and --gc-sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 10:15:10 +00:00
Steven Barth 8e44875fa6 odhcp6c: Various fixes
* Honour T1 and T2 values from servers better
* Correctly send Reconfigure-Accept option in requests

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 09:13:48 +00:00
Steven Barth 4b922c28c7 6relayd: Various DHCPv6-fixes
* Be more standards-compliant in stateful mode
* Handle hostnames from Windows-clients correctly
* Handle messages from DHCPv6-relays better

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 09:13:40 +00:00
Steven Barth faf3d16ffa odhcp6c: Fix address / prefix expiry logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 14:54:20 +00:00
Jonas Gorski 9f06c0905c brcm2708: make it boot on revision 2 raspberry pis
* update the bootcode.bin to the newest version
    - gpu/cpu mem split is now configured through config.txt, so no need
      to create more than one sd card image (just edit the config.txt)
    - bootcode.bin now supports the never revision 2 raspberry pis

  * add a commented prepopulated config.txt for easier config changes
    Taken from <https://github.com/Evilpaul/RPi-config>

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:07:03 +00:00
Jonas Gorski 01dad0de25 brcm2708-gpu-fw: download zipped sources and switch to Hexxeh's git
* Use the gzipped download feature from github to get a tarball with a
  stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
  contents, dropping all the precompiled modules and kernels.

Reduces the download size from ~1.27 GiB to ~25 MiB.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:07:00 +00:00
Jonas Gorski 61e79bfb45 mac80211: remove superfluous patch
This is already handles in compat-3.8.h as prandom* was introduced
in 3.8; only the aliases were removed in 3.10.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:06:57 +00:00
Luka Perkov 2677e04582 [package] uboot-envtools: upgrade to 2013.04
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 08:52:44 +00:00
Jonas Gorski 8ef2514fb6 kernel: adapt module paths for 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-19 18:36:09 +00:00
Jonas Gorski 17e300c5b1 mac80211: make it build with 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-19 18:36:06 +00:00
Felix Fietkau 1aca3426e7 ath9k: fix some more aggregation related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-18 19:36:22 +00:00
Steven Barth b846672f60 dnsmasq: add directory for external hosts-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 14:44:12 +00:00
Steven Barth e474674f51 6relayd: Add stateful DHCPv6-support (IA_NA)
* Add management_level option (0: set O-flag, >=1: set M-flag)
* Add support for static DHCPv6-leases
* Various fixes for DHCPv6-PD

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 14:44:07 +00:00
Steven Barth 456cbe5af8 netifd: Unify interface-based routing for IPv4 and IPv6
* Add interface option to set routing table for protocol routes
* Enabled for IPv6 for source-based filtering, disabled for IPv4

Based on a patch by Kristian Evensen. Thank You.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 14:44:02 +00:00
Felix Fietkau fadaa3f96f ath9k: merge some aggregation / rate handling related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 09:37:19 +00:00
Felix Fietkau 696b3ede7d valgrind: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 09:37:15 +00:00
Felix Fietkau c9bdfb5f49 mac80211: add a rate control rate selection fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-16 11:41:54 +00:00
Felix Fietkau 8ca26bf040 uhttpd: update to latest version, fixes index page processing order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-16 11:38:19 +00:00
Felix Fietkau 34b31f63b7 trace-cmd: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-16 11:38:12 +00:00
Luka Perkov 2b66fe5d47 [package] iproute2: workaround compile issues with gcc 4.8.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-16 00:04:48 +00:00
Steven Barth 6e1d7c26c9 odhcp6c: Fix handling of RAs when no DHCPv6-server is present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-15 11:07:01 +00:00
Felix Fietkau 8cdf6f2c24 mac80211: add mesh_param support
This patch add mesh_param support in mac80211.sh
It suppose that this patch http://patchwork.openwrt.org/patch/3540/ is applied (add HT support for mesh)

Tested with rspro(ar9280)/wr1043nd, BB r36211
see also this http://lists.open80211s.org/pipermail/devel/2012-June/003352.html
(mesh_hwmp_rootmode 1 & mesh_gate_announcements 1
=> mesh_hwmp_rootmode 4 & mesh_gate_announcements 1)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-15 09:36:10 +00:00
Felix Fietkau aa991a6faf mac80211: add HT support for mesh
This is a quick patch to enable HT for mesh mode
https://github.com/cozybit/open80211s/wiki/HOWTO#high-throughput
http://lists.open80211s.org/pipermail/devel/2012-March/002990.html

For my test setup the speed increased from 1-2 Mbytes/sec to 8-10 Mbytes/sec (iperf)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-15 09:36:02 +00:00
Luka Perkov 6f7b2ac2c6 [package] iproute2: upgrade to 3.9.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 23:49:34 +00:00
Luka Perkov 5349a138da [package] iproute2: print help in connmark
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 23:49:31 +00:00
Felix Fietkau e252bdb152 uhttpd: update to latest version, fixes a SSL connection memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 17:43:00 +00:00
Felix Fietkau a9020a0859 package: fold the IPv6 menu into Network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 15:02:31 +00:00
Felix Fietkau f0e5605316 mac80211: fix AP mode action frame handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 11:02:01 +00:00
Felix Fietkau 513f364119 mac80211: fix client mode state handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 11:01:54 +00:00
Steven Barth cf6fa4f194 6relayd: Always announce the current MAC-address
* Fixes #13516 thanks to berni for the detailed bugreport.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:54:36 +00:00
Steven Barth 7171040fb1 ds-lite: add ds-lite network protocol handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:39 +00:00
Steven Barth 18473a01f8 netifd: Various IPv6 improvements
* Add support for IP-in-IPv6 tunnels (DS-Lite)
* Use source-based routing for IPv6 to allow multi-wan
* Various smaller tunnel setup improvements

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:34 +00:00
Steven Barth 683810fbff netifd: added support for setting up 6rd from DHCP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:30 +00:00
Steven Barth 1f64838bbc odhcp6c: added support for DS-Lite + various fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:25 +00:00
Steven Barth 761238ce0a firewall3: Remove obsoleted ULA-border
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:20 +00:00
Steven Barth b20c42e9d1 firewall3: add wan6 interface to wan-zone by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:15 +00:00
Steven Barth ac82d7ad0a firewall: Remove obsoleted ULA-border rule
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:10 +00:00
Felix Fietkau 5b1ed2570c valgrind: do not depend on a particular ARM target, depend on the arch level
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 15:05:03 +00:00
Steven Barth 9d99dd82f9 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 08:07:15 +00:00
Jo-Philipp Wich 333261901e iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 01:12:56 +00:00
Felix Fietkau 941e53bb35 ubus: update to the latest version, fixes a rare deadlock with multiple synchronous invoke/notify calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-11 20:42:41 +00:00
Felix Fietkau 51274528eb openssl: disable mips16, it makes the code slower
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-10 00:18:27 +00:00
Felix Fietkau d77b46ba25 px5g: disable assembler functions, fixes compile errors with mips16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 23:49:03 +00:00
Felix Fietkau 30e9f35428 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:49 +00:00
Jonas Gorski 047e4f0d6a kernel: modules: kmod-fs-isofs depends on kmod-lib-zlib
Add missing dependency. Fixes #11624.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:10 +00:00
John Crispin e8986f1947 grub2: Add sub package grub-editenv for target installation
grub-editenv allows to modify grub2 environment files. Add a new package
that build grub2 for the target and packs up grub-editenv.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-07 12:35:07 +00:00
Steven Barth 47fcfd999d add uci support for "proxy-dnssec" in dnsmasq
This patch simply adds support for the "--proxy-dnssec" command in dnsmasq into the init file so it can be used with /etc/config/dhcp.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-07 07:19:51 +00:00
Felix Fietkau f4f4d54058 iw: update to 3.10, sync with nl80211.h changes in compat-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 22:35:50 +00:00
Steven Barth 528c719a3f odhcp6c: Make SLAAC-only work without reqprefix=no
Previously if the upstream router did not provide any DHCPv6-service
the wan6 interface would not come up even if RAs were received. The new
behavior allows the wan6 interface to comeup with RA-only configuration
after a timeout of 10s.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 10:20:43 +00:00
Jo-Philipp Wich 7f8b27f0e5 ipset-dns: support simultaneously populating IPv4 and IPv6 sets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 10:01:45 +00:00
Jo-Philipp Wich 53b612f049 base-files: change network_find_wan() procedure to ignore default gateways in different routing tables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 09:33:56 +00:00
Jo-Philipp Wich 280eac850b Add ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a specified ipset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 08:44:54 +00:00
John Crispin 15816c9cce sysupgrade: fixes broken pipe error during sysupgade
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-05 12:41:42 +00:00
Luka Perkov 1793a0cc5f [package] kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 15:16:50 +00:00
Felix Fietkau a1caa0f493 hostapd: enable 802.11r for the -full variant (#13250)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 10:39:57 +00:00
Felix Fietkau d910ab64ce mac80211: merge a client mode channel switch handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 09:14:03 +00:00
Felix Fietkau ebed4991a9 ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 09:12:19 +00:00
Jo-Philipp Wich 339f78f6e9 firewall3: update to git head
- assume "tcp+udp" if no protcol is specified in rules or redirects (#13422, #13386)
	- add support for fwmark matches and mark setting targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 13:42:20 +00:00
Jo-Philipp Wich 68fba9e4d1 uci: update to git head
- copy permission of config files to state files to allow access to state info by non root users
	- properly handle empty string case when unsetting lists

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 12:40:13 +00:00
Jo-Philipp Wich 0dc5191379 kernel: netfilter.mk: Explicitly set the order of autoloaded modules
In my machine, the file is created with arptable_filter before
arp_tables. This can't happen because the former depends on the
latter.

So, instead of rely on wildcards (*.ko), set by hand the files to
be loaded in the correct order.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 11:25:18 +00:00
Jo-Philipp Wich 07664b6ac3 Fix install of iptables pkg-config files.
libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 08:10:55 +00:00
Hauke Mehrtens 7c4a6af247 broadcom-diag: support for the WNDR3700v3
I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it 
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.

The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 21:11:17 +00:00
Hauke Mehrtens d4b0ccd4a5 acx-mac80211: make it compile with recent mac80211 again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 18:53:20 +00:00
Hauke Mehrtens 54eb5992b3 broadcom-wl: read channel using wlc on detect
Hardcoding channel number to 11 is a bad idea, it may be even not
available on some devices. If there are two single-band radios, the
one for 5GHz doesn't have 11 channel.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 18:21:34 +00:00
Hauke Mehrtens e7e3b88858 mac80211: brcmsmac: remove initial support for core rev 28
To add support for core rev 28 there are a lot more changes needed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 17:59:24 +00:00
Hauke Mehrtens e3827a1241 mac80211: b43: only use gpio 0 and 1 for the wifi led
sometimes b43 truned the gpio for the switch reset on.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 17:57:30 +00:00
Hauke Mehrtens 6b3aa2a1be mac80211: b43: Handle DMA RX descriptor underrun
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 16:55:53 +00:00
Jo-Philipp Wich fde7fcd36c iwinfo: fix iwinfo_hardware() return value if chip id is not found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 14:04:39 +00:00
Felix Fietkau 5357d2db60 ath9k: fix keycache handling with many connected clients
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:56:18 +00:00
Felix Fietkau 0bf9995a89 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:56:14 +00:00
Jo-Philipp Wich 8605639a3a netifd: update to git head - disables multicast snooping by default on bridges
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:28:40 +00:00
Jo-Philipp Wich 6aef46b32b iwinfo: add hw database file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:21:01 +00:00
Jo-Philipp Wich 9e66c65f62 iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:20:15 +00:00
Felix Fietkau 26bf4e16d8 mac80211: update to wireless-testing 2013-04-16 + backports
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 10:52:03 +00:00
John Crispin 37a71bba1d procd: fix wrap around bug in logread time handling code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:51:08 +00:00
John Crispin 9ea1219bcf hotplug2: make it depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:16:54 +00:00
John Crispin 9801819da6 preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:37 +00:00
John Crispin 1940283948 mount_root: prepare base-files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:32 +00:00
John Crispin b605befa7c boot: make use of kmodloader if it is available
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:28 +00:00
John Crispin 96b20b0377 ubox: add ubox package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:24 +00:00
John Crispin e2801af331 procd: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:20 +00:00
Felix Fietkau d9de51dff4 netifd: update to the latest version, fixes interface reload issues when removing the ifname option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 16:28:19 +00:00
Steven Barth d7fe9e70d8 6relayd: Fix generation of RA-messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 18:22:08 +00:00
Jo-Philipp Wich 9e42ab43f2 iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 14:44:20 +00:00
Steven Barth 6ada49b194 firewall3: Make IPv6 ULA-Border generation dynamic
This fixes working behind another router which gives out ULAs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 14:17:24 +00:00
Jo-Philipp Wich c8635ed842 Enable hidraw support.
It's needed for dealing with certain UART-to-USB adapters built into
e.g. weather stations, and increases the hid module package only
slightly (e.g. on ar71xx: 35k -> 37k).

Signed-off-by: Danny Baumann <dannybaumann@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 09:49:09 +00:00
Jo-Philipp Wich 5926acc657 Add kernel module package for hid-generic driver.
Needed to support e.g. keyboards and mice.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 09:49:03 +00:00
Steven Barth 8eaa488397 6relayd: update package description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 07:21:42 +00:00
Steven Barth b97eb9b08e dnsmasq: update to 2.66
Thanks to Christoph König for patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 05:55:39 +00:00
Steven Barth 812209d870 odhcp6c: Set default SOL_MAX_RT to 1h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 05:02:45 +00:00
Felix Fietkau 58519ae974 hostapd: return the frequency to some ubus calls to make integration easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 18:35:50 +00:00
Felix Fietkau ae76b2a314 mac80211: use the original mac address for the first virtual interface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 16:32:24 +00:00
Jo-Philipp Wich 72dfd60fe5 lldpd: upgrade to 0.7.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:37:23 +00:00
Jo-Philipp Wich c47d781639 gettext-full: updated to 0.18.2.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:49 +00:00
Jo-Philipp Wich a70d87dbef libevent2: update to 2.0.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:45 +00:00
Jo-Philipp Wich e259e214d6 libmnl: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:42 +00:00
Jo-Philipp Wich 08423aae1d libnetfilter-conntrack: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:38 +00:00
Jonas Gorski e3f1a02861 polarssl: update to 1.2.6
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:22:02 +00:00
Jonas Gorski 0c7596f675 ncurses: update to 5.9
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:59 +00:00
Jonas Gorski b9e175d16f libnl: update to 3.2.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:57 +00:00
Jonas Gorski f45fb6088e kernel: add kmod-mcp23s08 package
Package up the Microchip MCP23S08 I/O expander driver. Needed on the
CalAmp LMU5000 board.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
[jogo@openwrt.org: fix subject]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:55 +00:00
Steven Barth 276de79fca Change default IPv6 config to enable DHCPv6-PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:16 +00:00
Steven Barth 5108102e9b netifd: Improve IPv6-ULA assignment handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:06 +00:00
Steven Barth 0fd7fb5a84 odhcp6c: Several fixes and improvements
* Add preliminary support for RFC 6603 prefix exclusion
* Fix reconfigure-support and reconfigure authentication
* Set maximum retransmission timeout for solicitations to 2h
* Fix a segfault when parsing IA_PD in advertise messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:01 +00:00
Steven Barth e0e6b055fe 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:39:55 +00:00
Jo-Philipp Wich 076d88f618 uci: update to git head
- fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 14:52:28 +00:00
Felix Fietkau a1e5d209da hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 13:24:48 +00:00
Felix Fietkau 5bca958995 mac80211: rework mac address allocation
If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:57 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau d62c50b1c3 busybox: remove old no-MMU hackery
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:26 +00:00
Jo-Philipp Wich 49df5264b6 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 11:34:39 +00:00
Felix Fietkau a2043c1856 ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-16 10:53:02 +00:00
Jo-Philipp Wich e8b3e8e7f2 iwinfo: print info of all existing wireless ifaces when cli is called without arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 15:00:16 +00:00
Felix Fietkau c916e833c0 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:49:52 +00:00
Felix Fietkau b9cc991070 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:21:45 +00:00
Felix Fietkau cc13a9ea1e libubox: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 13:55:05 +00:00
Felix Fietkau 5bf86f4072 mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 13:54:42 +00:00
Luka Perkov 9b2655fa70 This adds Gateworks Laguna family board support. Note that some Laguna
boards have SPI flash and others have NOR flash, thus the size/erasesize
are detected dynamically.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 16:04:31 +00:00
Felix Fietkau 05f6116355 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 21:17:33 +00:00
Felix Fietkau dcf4015151 ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:26:08 +00:00
Felix Fietkau 1d5383210b mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:33 +00:00
Felix Fietkau 78f6958dea qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich 64e2eeb91c iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:37:55 +00:00
John Crispin d0f94eff4a [swconfig] add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:13 +00:00
John Crispin d2f8216c54 [swconfig] add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich a2a15cdf8f netifd: fix route / route6 regression (#13303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:21:12 +00:00
Steven Barth ef5bbd5008 Remove deprecated ip6slaac option
* use proto=dhcpv6 with reqprefix=no instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:12:30 +00:00
Steven Barth 936588ed30 Remove obsoleted ipv6-support meta-package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 09:45:51 +00:00
Steven Barth 4c9003ffc7 Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:03:08 +00:00
Felix Fietkau 3d67b6f70e ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:45 +00:00
Felix Fietkau e764a3ead3 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:41 +00:00
Felix Fietkau b3d001108c mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:36 +00:00
Gabor Juhos b794699a7a package/kernel: only include i2c-of if CONFIG_OF enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 16:55:25 +00:00
Gabor Juhos f14f3c9134 kernel: Allow talitos crypto hw module selection
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:41:06 +00:00
Florian Fainelli 221ef39aab openssl: Pass in any TARGET_ASFLAGS
Packages not picking up the regular TARGET_AS need their openwrt
Makefiles tweaked. For a basic build, that's just openssl.

This depends on patch 1/5.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:09 +00:00
Steven Barth 3b9ea165f7 netifd: Bump to latest version
* Fix a memory corruption when updating IPv6 prefixes
* Fix route sorting order (nbd)
* Add support for ip rules (jow)
* Implement support for route / route6 table attribute (jow)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:28:06 +00:00
Felix Fietkau 47789abd5c ubus: update to latest version, fixes a crash on reconnect
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-04 20:04:52 +00:00
John Crispin 32c6b76b2e [mac80211] add a helper that allows loading the eeprom from a MTD partition pointed to by a phandle
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-04 14:57:43 +00:00
Steven Barth d8961984f2 netifd: Rewrite IPv6 prefix assignment
* Add ip6hint option to specify assigned subprefixes
* Add preliminary support for RFC 6603 prefix exclusion

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 17:08:21 +00:00
John Crispin 3b3bc3ef56 [kernel] unbreak i2c-mv64xxx dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 12:58:06 +00:00
John Crispin 0cb046e540 [kernel] fix borken of-i2c dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 12:51:12 +00:00
John Crispin 52a91b390a [procd] fix eglibc compile
add librt dependency/link flag to procd when using eglibc thanks to jow for the help

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:01:10 +00:00
John Crispin 5a8e0e2b5b [lantiq] revert patch that renames the worker thread as it seems to cause an oops
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:59 +00:00
John Crispin 1743b6a394 [kernel] add cdc-mbim module
http://patchwork.openwrt.org/patch/3370/

Signed-off-by: Rusink Rusinkoff <rzrusink@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:55 +00:00
John Crispin 7a320b8ae5 [kernel] Add INA2XX current sensor module.
This is a I2C current/voltage/power sensor.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:44 +00:00
John Crispin 69cd56f571 [kernel] add lm92 kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:40 +00:00
John Crispin b2423179aa [kernel] add pcf857x kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:36 +00:00
John Crispin 4eae09723d [kernel] make OF_I2C build as part of i2c-core
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:32 +00:00
John Crispin 4b605fd6fa [mac80211] several patches to make OF work on rt2x00
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:29 +00:00
John Crispin eec0f45330 [mac80211] add RT5350 wifi support
MTK/Ralink Acked replied and says we can merge this patch under the GPL.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Tested-by: Michel Stempin <michel.stempin@wanadoo.fr>
Acked-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:25 +00:00
Felix Fietkau 370f5c883d libpcap: get rid of some bloat introduced by the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 21:07:39 +00:00
Felix Fietkau a8525b749a libpcap: update to 1.3.0
Disabled canusb by setting ac_cv_header_libusb_1_0_libusb_h to no in
Makefile.  Upstream configure script ignores --disable-canusb.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 21:07:34 +00:00
Felix Fietkau eb2800098d openvpn: enable password save support (#13245)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 10:02:43 +00:00
Felix Fietkau 256da3349b valgrind: update to v3.8.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 09:53:34 +00:00
Jonas Gorski 20fb5babb4 mac80211: backport some upstream mwl8k fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 12:39:52 +00:00
Jonas Gorski 9bfa7f54b7 base-files: firstboot: only ask for confirmation on TTY
Also allow '-y' to force the reset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 12:39:42 +00:00
Steven Barth e2a416671c odhcp6c: Fix a race-condition in RA-handling
Thanks to Markus Stenberg for investigating and providing a fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26 13:39:17 +00:00
Jo-Philipp Wich 0499e77822 base-files: move sysctl init after boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26 10:02:58 +00:00
Jo-Philipp Wich d1f931a2b8 base-files: fix bad start index in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 18:45:23 +00:00
Jo-Philipp Wich 08fd7e4663 package/base-files: change sysctl handling
Move /etc/init.d/sysctl to index 00 and add hotplug script that applies
interface specific sysctls for interfaces that only appear later - this
allows to reliably configure per-interface parameters in sysctl.conf, e.g.
to disable ipv6 autoconfig on a specific iface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 18:43:30 +00:00
Steven Barth a800a4a788 iptables: don't use --enable-ipv6 if IPv6 is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 11:22:12 +00:00
Steven Barth 795bb7a15c odhcp6c: minor bug fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 10:58:48 +00:00
Hauke Mehrtens 72c80c30eb mac80211: download file with firmware for brcmsmac
This fixes #13144.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:54:30 +00:00
Hauke Mehrtens c63149640d mac80211: update brcmsmac ap patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:53:15 +00:00
Florian Fainelli 8b867fc2af base-files: also apply r36107 to files.old
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-23 12:44:10 +00:00
Jo-Philipp Wich 8ad3c5dce6 firewall3: update to git head
* fixes parsing of src/dest '*'
	* fixes parsing of proto 'all'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 14:10:29 +00:00
Florian Fainelli 9cba62ed1a base-files: sysupgrade fail with eglibc
With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 10:06:06 +00:00
Jo-Philipp Wich 6cce0f0ddb firewall3: update to git head
* fixes port remapping rules (#13217)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:25:17 +00:00
Hauke Mehrtens 0efdcebf5d kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:59:24 +00:00
Steven Barth faf465e51c netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 13:49:39 +00:00
Steven Barth edbf7afcd3 odhcp6c: Fix metric for on-link prefix routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich 7384872325 firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 16:18:05 +00:00