openwrt.git
8 years agofirewall: update to git head
jow [Thu, 13 Jun 2013 18:54:49 +0000 (18:54 +0000)]
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

8 years agofirewall: update to git head
jow [Thu, 13 Jun 2013 12:49:00 +0000 (12:49 +0000)]
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

8 years agouhttpd: expose missing options to uci
jow [Thu, 13 Jun 2013 11:55:12 +0000 (11:55 +0000)]
uhttpd: expose missing options to uci

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36932 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcp6c: add sanity checks for NDP and MTU parameters from RAs
cyrus [Thu, 13 Jun 2013 06:38:48 +0000 (06:38 +0000)]
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

8 years agobrcm47xx: run make kernel_oldconfig for 3.9 kernel config
hauke [Wed, 12 Jun 2013 14:51:50 +0000 (14:51 +0000)]
brcm47xx: run make kernel_oldconfig for 3.9 kernel config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36928 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: remove support for kernel 3.6
hauke [Wed, 12 Jun 2013 14:48:45 +0000 (14:48 +0000)]
brcm47xx: remove support for kernel 3.6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36927 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: add initial support for kernel 3.9
hauke [Wed, 12 Jun 2013 14:47:53 +0000 (14:47 +0000)]
brcm47xx: add initial support for kernel 3.9

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36926 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add dependencies for kernel 3.10
hauke [Wed, 12 Jun 2013 13:59:34 +0000 (13:59 +0000)]
kernel: add dependencies for kernel 3.10

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36925 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago6relayd: make route preference and prefix on-link flag configurable
cyrus [Tue, 11 Jun 2013 20:52:27 +0000 (20:52 +0000)]
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

8 years agobase-files: remove unnecessary early sysctl-hack
cyrus [Tue, 11 Jun 2013 14:10:45 +0000 (14:10 +0000)]
base-files: remove unnecessary early sysctl-hack

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: set default IPv6 forwarding value to 1
cyrus [Tue, 11 Jun 2013 13:30:18 +0000 (13:30 +0000)]
base-files: set default IPv6 forwarding value to 1

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36918 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouci: update to fix excessive reorder delta entry duplication (#13678)
nbd [Tue, 11 Jun 2013 12:51:08 +0000 (12:51 +0000)]
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

8 years agolibubox: update to latest version, fixes an uloop use-after-free bug
nbd [Tue, 11 Jun 2013 11:46:54 +0000 (11:46 +0000)]
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

8 years agolinux: add ipv6 failed-policy routing action (by Jonas Gorski)
cyrus [Tue, 11 Jun 2013 09:27:53 +0000 (09:27 +0000)]
linux: add ipv6 failed-policy routing action (by Jonas Gorski)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiproute2: add drop-failed rule action (patch by Jonas Gorski)
cyrus [Tue, 11 Jun 2013 09:27:46 +0000 (09:27 +0000)]
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

8 years agonetifd: update to latest version, uses the new uci/blob code from libuci
nbd [Mon, 10 Jun 2013 12:42:30 +0000 (12:42 +0000)]
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

8 years agouci: update to latest version, adds uci<->blobmsg conversion code from netifd
nbd [Mon, 10 Jun 2013 12:42:25 +0000 (12:42 +0000)]
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

8 years agolibubox: update to latest version, adds some helper function
nbd [Mon, 10 Jun 2013 12:42:20 +0000 (12:42 +0000)]
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

8 years agoppp: correctly handle address when reloading
cyrus [Mon, 10 Jun 2013 10:42:34 +0000 (10:42 +0000)]
ppp: correctly handle address when reloading

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36904 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: improve reloading behaviour
cyrus [Mon, 10 Jun 2013 10:42:15 +0000 (10:42 +0000)]
netifd: improve reloading behaviour

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36903 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
blogic [Mon, 10 Jun 2013 08:25:17 +0000 (08:25 +0000)]
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

8 years agolantiq: Fixes to athxk EEPROM loading
blogic [Mon, 10 Jun 2013 08:25:12 +0000 (08:25 +0000)]
lantiq: Fixes to athxk EEPROM loading

Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: make kernel_oldconfig
blogic [Mon, 10 Jun 2013 08:25:07 +0000 (08:25 +0000)]
lantiq: make kernel_oldconfig

Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36900 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: diag.sh with both red and green power LEDs
blogic [Mon, 10 Jun 2013 08:25:02 +0000 (08:25 +0000)]
lantiq: diag.sh with both red and green power LEDs

This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36899 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add HAME MPR-A2 support
blogic [Mon, 10 Jun 2013 08:24:56 +0000 (08:24 +0000)]
ramips: add HAME MPR-A2 support

This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36898 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for belkin F7C027 wemo/homeautomatisation plug
blogic [Mon, 10 Jun 2013 08:24:50 +0000 (08:24 +0000)]
ramips: add support for belkin F7C027 wemo/homeautomatisation plug

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36897 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: make the preinit rules wildcard all buttons for failsafe
blogic [Mon, 10 Jun 2013 08:24:44 +0000 (08:24 +0000)]
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

8 years agoprocd: update to latest git revision
blogic [Mon, 10 Jun 2013 08:24:39 +0000 (08:24 +0000)]
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

8 years agoubox: update to latest git revision
blogic [Mon, 10 Jun 2013 08:24:35 +0000 (08:24 +0000)]
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

8 years agosysupgrade: create state file so procd knows when a sysupgrade is in progress
blogic [Mon, 10 Jun 2013 08:24:31 +0000 (08:24 +0000)]
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

8 years agomodules: make all led and button modules used during boot priority 1
blogic [Mon, 10 Jun 2013 08:24:25 +0000 (08:24 +0000)]
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

8 years agobase-files: fix failsafe via button press
blogic [Mon, 10 Jun 2013 08:24:13 +0000 (08:24 +0000)]
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

8 years agobase-files: change PATH order
blogic [Mon, 10 Jun 2013 08:24:02 +0000 (08:24 +0000)]
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

8 years agoiwinfo: add phyname attribute, this is useful to group networks by radio phy
jow [Sun, 9 Jun 2013 14:39:14 +0000 (14:39 +0000)]
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

8 years agolibiwinfo: ignore log messages from wpa_supplicant while scanning
jow [Sun, 9 Jun 2013 14:39:09 +0000 (14:39 +0000)]
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

8 years agonetifd: Improve IPv6 source-routing policies
cyrus [Sat, 8 Jun 2013 13:26:33 +0000 (13:26 +0000)]
netifd: Improve IPv6 source-routing policies

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36884 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: bring wifi down before shutting down
jogo [Sat, 8 Jun 2013 11:44:12 +0000 (11:44 +0000)]
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

8 years agolantiq: fix formating in .dts files
luka [Sat, 8 Jun 2013 11:36:07 +0000 (11:36 +0000)]
lantiq: fix formating in .dts files

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36882 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: fix paprd descriptor setup
nbd [Fri, 7 Jun 2013 16:11:56 +0000 (16:11 +0000)]
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

8 years agoath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
nbd [Fri, 7 Jun 2013 16:04:06 +0000 (16:04 +0000)]
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

8 years agoar71xx: disable routerboard support in the generic subtarget, enable it for the nand...
nbd [Fri, 7 Jun 2013 13:42:50 +0000 (13:42 +0000)]
ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36879 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/generic: add a few missing kernel config symbols
nbd [Fri, 7 Jun 2013 13:42:39 +0000 (13:42 +0000)]
kernel/generic: add a few missing kernel config symbols

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36878 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add user-space support for Netgear CVG834G
florian [Thu, 6 Jun 2013 22:22:20 +0000 (22:22 +0000)]
brcm63xx: add user-space support for Netgear CVG834G

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36877 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add kernel space and image support for the Netgear CVG834G
florian [Thu, 6 Jun 2013 22:22:14 +0000 (22:22 +0000)]
brcm63xx: add kernel space and image support for the Netgear CVG834G

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36876 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add Broadcom cable modem firmware format header
florian [Thu, 6 Jun 2013 22:22:09 +0000 (22:22 +0000)]
brcm63xx: add Broadcom cable modem firmware format header

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36875 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add support for BCM3368
florian [Thu, 6 Jun 2013 22:21:58 +0000 (22:21 +0000)]
brcm63xx: add support for BCM3368

Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36874 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools: add Broadcom cable modem firmware image creator
florian [Thu, 6 Jun 2013 22:21:52 +0000 (22:21 +0000)]
tools: add Broadcom cable modem firmware image creator

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36873 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: udpate to git head (#13652, #13654, #13658)
jow [Thu, 6 Jun 2013 14:12:02 +0000 (14:12 +0000)]
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

8 years agofirewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem...
jow [Thu, 6 Jun 2013 14:02:29 +0000 (14:02 +0000)]
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

8 years agoiptables: install libext*.a into staging dir
jow [Thu, 6 Jun 2013 14:02:24 +0000 (14:02 +0000)]
iptables: install libext*.a into staging dir

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36867 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: use less entropy when generating ULAs
cyrus [Thu, 6 Jun 2013 09:52:00 +0000 (09:52 +0000)]
base-files: use less entropy when generating ULAs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36865 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
nbd [Wed, 5 Jun 2013 23:37:12 +0000 (23:37 +0000)]
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotarget: don't build jffs2 nor images by default
jogo [Wed, 5 Jun 2013 20:58:59 +0000 (20:58 +0000)]
target: don't build jffs2 nor images by default

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36863 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoomap24xx: convert to use the new jffs2_nand
jogo [Wed, 5 Jun 2013 20:58:55 +0000 (20:58 +0000)]
omap24xx: convert to use the new jffs2_nand

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36862 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: convert to use the new jffs2_nand
jogo [Wed, 5 Jun 2013 20:58:53 +0000 (20:58 +0000)]
kirkwood: convert to use the new jffs2_nand

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36861 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotarget: split jffs2 NAND out of jffs2
jogo [Wed, 5 Jun 2013 20:58:03 +0000 (20:58 +0000)]
target: split jffs2 NAND out of jffs2

Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: fix a regression in the powersave handling related changes
nbd [Wed, 5 Jun 2013 19:16:20 +0000 (19:16 +0000)]
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

8 years agoath9k: merge a fix for ar9550 eeprom access
nbd [Wed, 5 Jun 2013 19:16:16 +0000 (19:16 +0000)]
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

8 years agokmod-usb-net-cdc-mbim: fix module loading
nico [Wed, 5 Jun 2013 14:34:50 +0000 (14:34 +0000)]
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

8 years agofirewall: update to git head (#13652)
jow [Wed, 5 Jun 2013 11:40:40 +0000 (11:40 +0000)]
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

8 years ago[orion]: there's no reason to have these generic files in the bin dir either
kaloz [Wed, 5 Jun 2013 06:46:41 +0000 (06:46 +0000)]
[orion]: there's no reason to have these generic files in the bin dir either

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36852 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[orion]: only copy uImages to the bin dir on ramdisk builds
kaloz [Wed, 5 Jun 2013 06:17:12 +0000 (06:17 +0000)]
[orion]: only copy uImages to the bin dir on ramdisk builds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36851 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[orion]: don't copy the zImages to the bin dir, factory u-boots can't use them
kaloz [Wed, 5 Jun 2013 06:04:48 +0000 (06:04 +0000)]
[orion]: don't copy the zImages to the bin dir, factory u-boots can't use them

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36850 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoRevert "[tools] mklibs: upgrade to 0.1.37"
nbd [Wed, 5 Jun 2013 00:21:23 +0000 (00:21 +0000)]
Revert "[tools] mklibs: upgrade to 0.1.37"

It breaks on trying to find ldso

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36849 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for WIFI button on tp-link tl-mr3220v2
juhosg [Tue, 4 Jun 2013 13:25:54 +0000 (13:25 +0000)]
ar71xx: add support for WIFI button on tp-link tl-mr3220v2

The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36848 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: add port mirroring/monitoring capability to rtl8366rb switch
juhosg [Tue, 4 Jun 2013 13:25:52 +0000 (13:25 +0000)]
generic: add port mirroring/monitoring capability to rtl8366rb switch

This patch adds swlib attributes to the RTL8366RB switch/PHY found in the
TL-WR1043ND router that allow to mirror ethernet packets to a monitor port.

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36847 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall3: fix accidentally changed install directive
jow [Tue, 4 Jun 2013 12:30:50 +0000 (12:30 +0000)]
firewall3: fix accidentally changed install directive

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36840 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: fix git source url
jow [Tue, 4 Jun 2013 12:23:47 +0000 (12:23 +0000)]
firewall: fix git source url

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36839 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall3: rename to firewall, move into base system menu, update to git head with...
jow [Tue, 4 Jun 2013 12:21:52 +0000 (12:21 +0000)]
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

8 years agoDrop legacy firewall package
jow [Tue, 4 Jun 2013 12:21:44 +0000 (12:21 +0000)]
Drop legacy firewall package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36837 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[orion]: versioned files and dirs still make no sense when you support only a single...
kaloz [Tue, 4 Jun 2013 11:29:01 +0000 (11:29 +0000)]
[orion]: versioned files and dirs still make no sense when you support only a single kernel...

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36836 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[generic/3.10]: refresh patches
kaloz [Tue, 4 Jun 2013 11:24:42 +0000 (11:24 +0000)]
[generic/3.10]: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36835 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[generic/3.10]: add some more symbols
kaloz [Tue, 4 Jun 2013 11:23:27 +0000 (11:23 +0000)]
[generic/3.10]: add some more symbols

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36834 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[orion]: move DT2 related kernel options into the harddist subtarget
kaloz [Tue, 4 Jun 2013 11:19:41 +0000 (11:19 +0000)]
[orion]: move DT2 related kernel options into the harddist subtarget

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36833 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[orion]: drop support for the dns323
kaloz [Tue, 4 Jun 2013 11:13:18 +0000 (11:13 +0000)]
[orion]: drop support for the dns323

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36832 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall3: update to git head (#13641)
jow [Tue, 4 Jun 2013 10:26:49 +0000 (10:26 +0000)]
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

8 years agoath9k: fix some issues in the ap powersave fixes
nbd [Tue, 4 Jun 2013 10:21:44 +0000 (10:21 +0000)]
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

8 years agoath9k: fix a null pointer deref issue in the powersave fixes
nbd [Mon, 3 Jun 2013 20:58:28 +0000 (20:58 +0000)]
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

8 years agofirewall3: update to git head
jow [Mon, 3 Jun 2013 16:38:29 +0000 (16:38 +0000)]
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

8 years agoath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
nbd [Mon, 3 Jun 2013 14:15:57 +0000 (14:15 +0000)]
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

8 years agoath9k: improve AP mode powersave buffering handling
nbd [Mon, 3 Jun 2013 14:15:52 +0000 (14:15 +0000)]
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

8 years agoath9k: increase ANI poll interval to 300 ms to get it close to the listen period
nbd [Mon, 3 Jun 2013 14:15:43 +0000 (14:15 +0000)]
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

8 years ago[tools] mpfr: upgrade to 3.1.2
luka [Mon, 3 Jun 2013 01:18:48 +0000 (01:18 +0000)]
[tools] mpfr: upgrade to 3.1.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36822 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] gmp: upgrade to version 5.1.2
luka [Mon, 3 Jun 2013 01:18:47 +0000 (01:18 +0000)]
[tools] gmp: upgrade to version 5.1.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36821 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] mklibs: upgrade to 0.1.37
luka [Mon, 3 Jun 2013 01:18:45 +0000 (01:18 +0000)]
[tools] mklibs: upgrade to 0.1.37

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36820 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouhttpd: update to latest version, fixes CGI related crashes
nbd [Sat, 1 Jun 2013 21:43:06 +0000 (21:43 +0000)]
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

8 years ago6relayd: Work around Windows DHCPv6 quirks
cyrus [Sat, 1 Jun 2013 17:51:02 +0000 (17:51 +0000)]
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

8 years agousbmode: fix hotplug script name
nbd [Fri, 31 May 2013 15:42:23 +0000 (15:42 +0000)]
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

8 years agoreplace usb-modeswitch with a rewrite that should be more reliable
nbd [Fri, 31 May 2013 15:41:17 +0000 (15:41 +0000)]
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

8 years agoprocd: update to the latest version, fixes restarting stopped instances based on...
nbd [Fri, 31 May 2013 15:41:12 +0000 (15:41 +0000)]
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

8 years agoodhcp6c: work around spurious false-positive address DECLINEs
cyrus [Fri, 31 May 2013 13:49:17 +0000 (13:49 +0000)]
odhcp6c: work around spurious false-positive address DECLINEs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36809 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: revert [36779] as it caused a regression
blogic [Fri, 31 May 2013 13:25:07 +0000 (13:25 +0000)]
lantiq: revert [36779] as it caused a regression

submitter was informed of a endinaess swap regression and replied with "works on my board"

revert the patch and make arv7518 wifi work again

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36807 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall3: use list notation for default zone network config to avoid "uci add_list...
jow [Fri, 31 May 2013 13:23:23 +0000 (13:23 +0000)]
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

8 years agoodhcp6c: fix handling of multiple RAs in a row
cyrus [Fri, 31 May 2013 10:02:39 +0000 (10:02 +0000)]
odhcp6c: fix handling of multiple RAs in a row

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36804 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: update to latest version, fixes some ustream issues that might be affecting...
nbd [Fri, 31 May 2013 09:19:38 +0000 (09:19 +0000)]
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

8 years agotoolchain: do not build GDB when using an external toolchain
florian [Thu, 30 May 2013 22:04:54 +0000 (22:04 +0000)]
toolchain: do not build GDB when using an external toolchain

The external toolchain should provide it if needed.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36802 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: register USB port for RB2011U* devices
juhosg [Thu, 30 May 2013 17:38:31 +0000 (17:38 +0000)]
ar71xx: register USB port for RB2011U* devices

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36801 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: create a separated network interface for the RB2011UAS SFP port
juhosg [Thu, 30 May 2013 17:38:30 +0000 (17:38 +0000)]
ar71xx: create a separated network interface for the RB2011UAS SFP port

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36800 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: make the SFP port usable on RB2011*S boards
juhosg [Thu, 30 May 2013 17:38:28 +0000 (17:38 +0000)]
ar71xx: make the SFP port usable on RB2011*S boards

The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36799 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: ar8216: allow to specify SGMII config via platform data
juhosg [Thu, 30 May 2013 17:38:26 +0000 (17:38 +0000)]
generic: ar8216: allow to specify SGMII config via platform data

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36798 3c298f89-4303-0410-b956-a3cf2f4a3e73