openwrt/staging/neocturne.git
11 years agoath9k: merge initval updates
Felix Fietkau [Wed, 27 Nov 2013 10:56:05 +0000 (10:56 +0000)]
ath9k: merge initval updates

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

11 years agofix typo in wl128x firmware names
Imre Kaloz [Wed, 27 Nov 2013 09:02:17 +0000 (09:02 +0000)]
fix typo in wl128x firmware names

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

11 years agohide package, it's needed all the time
Imre Kaloz [Tue, 26 Nov 2013 18:46:47 +0000 (18:46 +0000)]
hide package, it's needed all the time

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

11 years agouse plain image names inside the target directories
Imre Kaloz [Tue, 26 Nov 2013 18:45:51 +0000 (18:45 +0000)]
use plain image names inside the target directories

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

11 years agoupgrade Linaro GCC 4.8 to 4.8-2013.11
Imre Kaloz [Tue, 26 Nov 2013 18:42:32 +0000 (18:42 +0000)]
upgrade Linaro GCC 4.8 to 4.8-2013.11

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

11 years agowl12xx could need the wl128x firmware files, too
Imre Kaloz [Tue, 26 Nov 2013 17:46:45 +0000 (17:46 +0000)]
wl12xx could need the wl128x firmware files, too

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

11 years agomac80211: merge another round of upstream fixes
Felix Fietkau [Tue, 26 Nov 2013 11:25:31 +0000 (11:25 +0000)]
mac80211: merge another round of upstream fixes

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

11 years agoralink: dts fixes
John Crispin [Tue, 26 Nov 2013 09:51:57 +0000 (09:51 +0000)]
ralink: dts fixes

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

11 years agoubox: the validation code has problems with the "(" char. use string for now
John Crispin [Tue, 26 Nov 2013 07:50:05 +0000 (07:50 +0000)]
ubox: the validation code has problems with the "(" char. use string for now

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

11 years agohostapd: add support for auto-channel selection
Felix Fietkau [Mon, 25 Nov 2013 15:43:30 +0000 (15:43 +0000)]
hostapd: add support for auto-channel selection

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

11 years agohostapd: update to version 2013-11-20
Felix Fietkau [Mon, 25 Nov 2013 15:43:15 +0000 (15:43 +0000)]
hostapd: update to version 2013-11-20

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

11 years agokernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
John Crispin [Mon, 25 Nov 2013 14:09:48 +0000 (14:09 +0000)]
kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set

Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

SVN-Revision: 38913

11 years agotools/mpfr: add GNU source
John Crispin [Mon, 25 Nov 2013 14:09:24 +0000 (14:09 +0000)]
tools/mpfr: add GNU source

fixes https://dev.openwrt.org/ticket/14519

mpfr is available from GNU too
see: https://gforge.inria.fr/forum/forum.php?forum_id=11263

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

11 years agopppd: Place plugin-specific options after `plugin name`.
John Crispin [Mon, 25 Nov 2013 14:09:16 +0000 (14:09 +0000)]
pppd: Place plugin-specific options after `plugin name`.

Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

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

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

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

11 years agoralink: add mac address detection for Asus RT-G32 b1
John Crispin [Mon, 25 Nov 2013 14:09:08 +0000 (14:09 +0000)]
ralink: add mac address detection for Asus RT-G32 b1

http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38910

11 years agobase-files: allow users to delect debug level during boot
John Crispin [Mon, 25 Nov 2013 08:34:55 +0000 (08:34 +0000)]
base-files: allow users to delect debug level during boot

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

11 years agoprocd: update procd.sh to make use of the new validate_data tool
John Crispin [Mon, 25 Nov 2013 08:34:47 +0000 (08:34 +0000)]
procd: update procd.sh to make use of the new validate_data tool

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

11 years agoubox: update the validate_data tool
John Crispin [Mon, 25 Nov 2013 08:34:39 +0000 (08:34 +0000)]
ubox: update the validate_data tool

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

11 years agoubox: fix typo that caused log_file to not be validated properly
John Crispin [Mon, 25 Nov 2013 08:34:31 +0000 (08:34 +0000)]
ubox: fix typo that caused log_file to not be validated properly

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

11 years agoralink: fix up the mt7530 driver to work properly with gmac2
John Crispin [Mon, 25 Nov 2013 08:34:23 +0000 (08:34 +0000)]
ralink: fix up the mt7530 driver to work properly with gmac2

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

11 years agoralink: add LRO support
John Crispin [Mon, 25 Nov 2013 08:34:12 +0000 (08:34 +0000)]
ralink: add LRO support

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

11 years agoralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
John Crispin [Mon, 25 Nov 2013 08:34:01 +0000 (08:34 +0000)]
ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family

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

11 years agoralink: set the mac addr via the dts file
John Crispin [Mon, 25 Nov 2013 08:33:42 +0000 (08:33 +0000)]
ralink: set the mac addr via the dts file

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

11 years agokirkwood: include ext4 support by default
Luka Perkov [Sun, 24 Nov 2013 23:07:34 +0000 (23:07 +0000)]
kirkwood: include ext4 support by default

Several users reported that they would like this feature.

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

11 years agokirkwood: kernel: add missing config option
Luka Perkov [Sun, 24 Nov 2013 17:53:34 +0000 (17:53 +0000)]
kirkwood: kernel: add missing config option

Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 38900

11 years agocmake: upgrade to 2.8.12.1
Luka Perkov [Sun, 24 Nov 2013 07:10:21 +0000 (07:10 +0000)]
cmake: upgrade to 2.8.12.1

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

11 years agokirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
Luka Perkov [Sat, 23 Nov 2013 15:55:12 +0000 (15:55 +0000)]
kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables

The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

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

11 years agokirkwood: add support for iomega iconnect
Luka Perkov [Sat, 23 Nov 2013 15:55:10 +0000 (15:55 +0000)]
kirkwood: add support for iomega iconnect

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>
SVN-Revision: 38897

11 years agoFor now vdi and vmdk images should be x86 only
Imre Kaloz [Fri, 22 Nov 2013 14:39:53 +0000 (14:39 +0000)]
For now vdi and vmdk images should be x86 only

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

11 years agomove menuconfig options into separate files
Imre Kaloz [Fri, 22 Nov 2013 14:30:40 +0000 (14:30 +0000)]
move menuconfig options into separate files

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

11 years agodrop stupid defaults
Imre Kaloz [Fri, 22 Nov 2013 13:41:55 +0000 (13:41 +0000)]
drop stupid defaults

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

11 years agoadd a feature flag for device tree support
Imre Kaloz [Fri, 22 Nov 2013 12:01:01 +0000 (12:01 +0000)]
add a feature flag for device tree support

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

11 years agoVMWare and VirtualBox images should select what they need, not depend on it..
Imre Kaloz [Fri, 22 Nov 2013 09:54:36 +0000 (09:54 +0000)]
VMWare and VirtualBox images should select what they need, not depend on it..

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

11 years agorationalize target image options
Imre Kaloz [Fri, 22 Nov 2013 09:44:14 +0000 (09:44 +0000)]
rationalize target image options

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

11 years agoallow configuration of the target directory for binaries
Imre Kaloz [Fri, 22 Nov 2013 09:39:41 +0000 (09:39 +0000)]
allow configuration of the target directory for binaries

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

11 years agoreplace the mips64 fixes patch with an upstream commit
Imre Kaloz [Fri, 22 Nov 2013 09:22:54 +0000 (09:22 +0000)]
replace the mips64 fixes patch with an upstream commit

The current one broke all other 64 bit targets.. DOH!

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

11 years agouhttpd: update to the latest version, fixes crashes in the ubus plugin
Felix Fietkau [Thu, 21 Nov 2013 21:52:24 +0000 (21:52 +0000)]
uhttpd: update to the latest version, fixes crashes in the ubus plugin

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

11 years agopkg-config: fix occasional install problem
Luka Perkov [Wed, 20 Nov 2013 22:09:11 +0000 (22:09 +0000)]
pkg-config: fix occasional install problem

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

11 years agoprocd: fix the running hook #38868
John Crispin [Wed, 20 Nov 2013 19:28:51 +0000 (19:28 +0000)]
procd: fix the running hook #38868

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

11 years agolantiq: move patch to proper folder
John Crispin [Wed, 20 Nov 2013 17:53:36 +0000 (17:53 +0000)]
lantiq: move patch to proper folder

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

11 years agomac80211: fix reorder issues with multicast packets (client mode)
Felix Fietkau [Wed, 20 Nov 2013 17:33:50 +0000 (17:33 +0000)]
mac80211: fix reorder issues with multicast packets (client mode)

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

11 years agomac80211: fix an overflow issue in minstrel_ht
Felix Fietkau [Wed, 20 Nov 2013 17:33:46 +0000 (17:33 +0000)]
mac80211: fix an overflow issue in minstrel_ht

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

11 years agolantiq: update default mii modes
John Crispin [Wed, 20 Nov 2013 16:56:58 +0000 (16:56 +0000)]
lantiq: update default mii modes

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

11 years agolantiq: fix etop registers
John Crispin [Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)]
lantiq: fix etop registers

As first reported more than a year ago
(https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html
and
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html),
some of the register definitions of the lantiq etop driver are
incorrect. When OpenWrt is booted with a bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

At the moment the MII/RMII setting in the lantiq .dts-files has no
effect, since wrong registers are written. Once this patch is applied,
it is necessary to make sure that the MII/RMII setting in the .dts-file
is correct.

v2: fix mangled whitespaces

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

11 years agoprocd: add validation to the log init script
John Crispin [Wed, 20 Nov 2013 16:56:41 +0000 (16:56 +0000)]
procd: add validation to the log init script

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

11 years agolantiq: fix an endless loop in the vmmc platform code
John Crispin [Wed, 20 Nov 2013 16:56:32 +0000 (16:56 +0000)]
lantiq: fix an endless loop in the vmmc platform code

this was caused by not honoured error return codes of of_gpio_count()

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

11 years agomxs: build/profile-related changes - change uImage creation to use zImage - update...
Zoltan Herpai [Wed, 20 Nov 2013 10:23:49 +0000 (10:23 +0000)]
mxs: build/profile-related changes - change uImage creation to use zImage - update image Makefile for further boards with u-boot support - add profile for OLinuXino Micro/Nano boards

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38876

11 years agopackage: uboot-mxs: cosmetic fix
Zoltan Herpai [Wed, 20 Nov 2013 10:15:02 +0000 (10:15 +0000)]
package: uboot-mxs: cosmetic fix

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38875

11 years agomac80211: small rate control fix
Felix Fietkau [Wed, 20 Nov 2013 07:33:27 +0000 (07:33 +0000)]
mac80211: small rate control fix

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

11 years agolibubox: fix compile error (#14497)
John Crispin [Tue, 19 Nov 2013 21:54:51 +0000 (21:54 +0000)]
libubox: fix compile error (#14497)

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

11 years agoralink: set wmr-300 mac properly
John Crispin [Tue, 19 Nov 2013 21:13:24 +0000 (21:13 +0000)]
ralink: set wmr-300 mac properly

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

11 years agomtd: add a "mtd verify" call
John Crispin [Tue, 19 Nov 2013 20:56:23 +0000 (20:56 +0000)]
mtd: add a "mtd verify" call

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

11 years agolibubox: ubox: procd: move md5.{c,h} to libubox
John Crispin [Tue, 19 Nov 2013 20:56:11 +0000 (20:56 +0000)]
libubox: ubox: procd: move md5.{c,h} to libubox

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

11 years agoprocd: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:33:50 +0000 (16:33 +0000)]
procd: update to latest git head

* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

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

11 years agoralink: add missing CONFIG_ symbol to mt7620n
John Crispin [Tue, 19 Nov 2013 16:33:43 +0000 (16:33 +0000)]
ralink: add missing CONFIG_ symbol to mt7620n

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

11 years agolibubox: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:31:47 +0000 (16:31 +0000)]
libubox: update to latest git head

add a renqueue_add_first() api

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

11 years agompc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
Felix Fietkau [Tue, 19 Nov 2013 13:00:37 +0000 (13:00 +0000)]
mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver

This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38865

11 years agoprocd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Felix Fietkau [Tue, 19 Nov 2013 00:03:42 +0000 (00:03 +0000)]
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem

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

11 years agobase-files: add the DEVICENAME variable for hotplug scripts
Felix Fietkau [Tue, 19 Nov 2013 00:03:39 +0000 (00:03 +0000)]
base-files: add the DEVICENAME variable for hotplug scripts

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

11 years agoscripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
Felix Fietkau [Tue, 19 Nov 2013 00:03:34 +0000 (00:03 +0000)]
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/

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

11 years agoimx6: build images for ventana boards that are supported
Luka Perkov [Mon, 18 Nov 2013 22:23:43 +0000 (22:23 +0000)]
imx6: build images for ventana boards that are supported

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

11 years agoimx6: merge all gateworks boards into one profile
Luka Perkov [Mon, 18 Nov 2013 22:23:42 +0000 (22:23 +0000)]
imx6: merge all gateworks boards into one profile

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

11 years agoimx6: add support for more then one nand type per profile
Luka Perkov [Mon, 18 Nov 2013 22:23:40 +0000 (22:23 +0000)]
imx6: add support for more then one nand type per profile

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

11 years agoimx6: refresh kernel config
Luka Perkov [Mon, 18 Nov 2013 22:23:39 +0000 (22:23 +0000)]
imx6: refresh kernel config

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

11 years agoimage: remove spaces from toupper function
Luka Perkov [Mon, 18 Nov 2013 22:23:38 +0000 (22:23 +0000)]
image: remove spaces from toupper function

The extra prefix space is passed to the caller.

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

11 years agoath9k: merge a few reset / calibration fixes
Felix Fietkau [Mon, 18 Nov 2013 19:58:53 +0000 (19:58 +0000)]
ath9k: merge a few reset / calibration fixes

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

11 years agocmake.mk: fix support for ccache
Felix Fietkau [Mon, 18 Nov 2013 14:10:12 +0000 (14:10 +0000)]
cmake.mk: fix support for ccache

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

11 years agohostapd: remove random pool support - the entropy it gathers is questionable and...
Felix Fietkau [Mon, 18 Nov 2013 13:54:26 +0000 (13:54 +0000)]
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now

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

11 years agouClibc: Deactivate oversized thread stack cache
Felix Fietkau [Mon, 18 Nov 2013 13:32:06 +0000 (13:32 +0000)]
uClibc: Deactivate oversized thread stack cache

A small system like the common home router doesn't have 40 MiB per process for
a dirty stack cache. This can easily lead to an overbooking OOM problem and
caused a lot of hangs+reboots on 32 MiB systems running nodogsplash.

Not using a stack cache can increase the time to spawn new threads. This is
hopefully no problem for system not running a lot of parallel computations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 38851

11 years agomake default packages selected for real
Imre Kaloz [Mon, 18 Nov 2013 12:05:11 +0000 (12:05 +0000)]
make default packages selected for real

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

11 years agofirewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
Jo-Philipp Wich [Mon, 18 Nov 2013 11:59:27 +0000 (11:59 +0000)]
firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)

- instead of writing one (or more) ACCEPT rules in the filter table
  for each redirect install a global ctstate DNAT accept rule per zone

- discard rules and redirects which have invalid options set instead
  of silently skipping the invalid values

SVN-Revision: 38849

11 years agoralink: add support for ralink mt7620 nand eval board
John Crispin [Mon, 18 Nov 2013 09:35:41 +0000 (09:35 +0000)]
ralink: add support for ralink mt7620 nand eval board

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

11 years agoralink: improve mt7620n detection
John Crispin [Mon, 18 Nov 2013 09:35:32 +0000 (09:35 +0000)]
ralink: improve mt7620n detection

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

11 years agoralink: add mt7620 nand driver
John Crispin [Mon, 18 Nov 2013 09:35:23 +0000 (09:35 +0000)]
ralink: add mt7620 nand driver

This is a minor rework of the SDK driver. This driver needs a full rewrite.

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

11 years agoralink: make all none 3x5x boards default to a vlan1/2 setup
John Crispin [Mon, 18 Nov 2013 09:35:14 +0000 (09:35 +0000)]
ralink: make all none 3x5x boards default to a vlan1/2 setup

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

11 years agoralink: make usb work on the mt7530 eval kit
John Crispin [Mon, 18 Nov 2013 09:34:46 +0000 (09:34 +0000)]
ralink: make usb work on the mt7530 eval kit

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

11 years agomac80211: ath10k: add board.bin file again
Hauke Mehrtens [Sun, 17 Nov 2013 17:57:37 +0000 (17:57 +0000)]
mac80211: ath10k: add board.bin file again

This file is still needed with the new firmware.

This fixes r38835.

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

11 years agoat91: fix typo in network file
Hauke Mehrtens [Sun, 17 Nov 2013 17:14:32 +0000 (17:14 +0000)]
at91: fix typo in network file

This closes #14474.

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

11 years agokernel: add vmxnet3 module
Hauke Mehrtens [Sun, 17 Nov 2013 16:41:40 +0000 (16:41 +0000)]
kernel: add vmxnet3 module

support VMware ethernet adapters

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

11 years agoxfsprogs: move to submenu Filesystem
Hauke Mehrtens [Sun, 17 Nov 2013 16:14:58 +0000 (16:14 +0000)]
xfsprogs: move to submenu Filesystem

move xfsprogs to the right submenu
e2fsprogs, btrfs-progs and other stuff is there already

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

11 years agokirkwood: add missing kernel config CONFIG_REGMAP=y
Hauke Mehrtens [Sun, 17 Nov 2013 16:05:09 +0000 (16:05 +0000)]
kirkwood: add missing kernel config CONFIG_REGMAP=y

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 38837

11 years agomac80211: update ath10k firmware
Hauke Mehrtens [Sun, 17 Nov 2013 15:52:55 +0000 (15:52 +0000)]
mac80211: update ath10k firmware

Current version of ath10k in the recently updated wireless-testing
package requires a new firmware. This patch fixes the issue.

v2:
* fix (hopefully) the mangled whitespaces
* actually install the new firmware instead of the old

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

11 years agokernel: backport get_cycles() fix
Hauke Mehrtens [Sun, 17 Nov 2013 15:52:14 +0000 (15:52 +0000)]
kernel: backport get_cycles() fix

get_cycles() is used in some places as one part of the seed for the
kernel PRNG.

This backports the following commit from mainline linux kernel:
9c9b415c50bc298ac61412dff856eae2f54889ee

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

11 years agomac80211: add blink api backport
Hauke Mehrtens [Sun, 17 Nov 2013 15:50:54 +0000 (15:50 +0000)]
mac80211: add blink api backport

This patch was copied from a more recent backports versions. This fixes
a build problem with kernel < 3.6.

This closes #14475

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

11 years agoralink: add mt7620n dts files
John Crispin [Sun, 17 Nov 2013 13:22:01 +0000 (13:22 +0000)]
ralink: add mt7620n dts files

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

11 years agoramips: fix wmr300 network detection
John Crispin [Sun, 17 Nov 2013 13:14:46 +0000 (13:14 +0000)]
ramips: fix wmr300 network detection

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

11 years agokernel: add fix to block2mtd driver for modified error logging
Zoltan Herpai [Sun, 17 Nov 2013 11:57:57 +0000 (11:57 +0000)]
kernel: add fix to block2mtd driver for modified error logging

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38827

11 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sun, 17 Nov 2013 11:55:23 +0000 (11:55 +0000)]
kernel: add missing symbols for 3.12

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38826

11 years agoralink: add mt7620n support
John Crispin [Sat, 16 Nov 2013 20:28:52 +0000 (20:28 +0000)]
ralink: add mt7620n support

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

11 years agoprocd: ubox: update to latest git head
John Crispin [Sat, 16 Nov 2013 20:20:30 +0000 (20:20 +0000)]
procd: ubox: update to latest git head

move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

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

11 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sat, 16 Nov 2013 11:52:30 +0000 (11:52 +0000)]
kernel: add missing symbols for 3.12

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38820

11 years agosunxi: remove old kernel config after 3.12 upgrade (r38811)
Luka Perkov [Sat, 16 Nov 2013 10:17:38 +0000 (10:17 +0000)]
sunxi: remove old kernel config after 3.12 upgrade (r38811)

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

11 years ago6rd: Clear correct IPv6 address bits in 6rdcalc
Steven Barth [Sat, 16 Nov 2013 09:18:14 +0000 (09:18 +0000)]
6rd: Clear correct IPv6 address bits in 6rdcalc

The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 38818

11 years agoreplace the TI patch with a smaller patchset
Imre Kaloz [Fri, 15 Nov 2013 12:23:17 +0000 (12:23 +0000)]
replace the TI patch with a smaller patchset

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

11 years agoar71xx: add profile for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:25 +0000 (10:11 +0000)]
ar71xx: add profile for the WR842N/ND v2

Patch to add the profile for the TP-LINK WR842N/ND v2
Small update, because of a change in the Makefile.

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4382/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38815

11 years agoar71xx: add user space support for the TL-WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:24 +0000 (10:11 +0000)]
ar71xx: add user space support for the TL-WR842N/ND v2

Patch to add the user space support for the TL-WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38814

11 years agoar71xx: Add kernel support for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:20 +0000 (10:11 +0000)]
ar71xx: Add kernel support for the WR842N/ND v2

Patch to add kernel support for the TP-LINK WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4352/
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38813

11 years agoar71xx: wndr4300: set official mac addresses
Gabor Juhos [Fri, 15 Nov 2013 08:21:59 +0000 (08:21 +0000)]
ar71xx: wndr4300: set official mac addresses

Get the factory assigned mac addresses stored in the caldata
partition and asign them to lan and wan interfaces. Also put
the correct mac addresses into the WiFi eeprom files to ensure
that the ath9k driver will use the correct ones.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Patchwork: http://patchwork.openwrt.org/patch/4350/
[juhosg:
  - move WiFi MAC address setup to the firmware hotplug file,
  - use the official MAC address for the 2.4GHz as well,
  - remove uci-defaults.sh modifications,
  - update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38812

11 years agosunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb,...
Zoltan Herpai [Thu, 14 Nov 2013 23:12:52 +0000 (23:12 +0000)]
sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb, sid, rtc - support common image for A10/A13/A20 - add support for a couple boards - most drivers are configured into the kernel as of now

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38811

11 years agokernel: backport an upstream fix to improve TCP performance for wifi drivers
Felix Fietkau [Thu, 14 Nov 2013 22:01:24 +0000 (22:01 +0000)]
kernel: backport an upstream fix to improve TCP performance for wifi drivers

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