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

8 years agoodhcp6c: Add option to override interface identifier in RA-client
cyrus [Tue, 18 Jun 2013 12:51:14 +0000 (12:51 +0000)]
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

8 years agobrcm63xx: refresh 3.9 patches
florian [Tue, 18 Jun 2013 10:54:28 +0000 (10:54 +0000)]
brcm63xx: refresh 3.9 patches

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

8 years agobrcm63xx: provide a default sane MAC address for Cable Modem devices
florian [Tue, 18 Jun 2013 10:54:24 +0000 (10:54 +0000)]
brcm63xx: provide a default sane MAC address for Cable Modem devices

Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

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

8 years agolibubox: update to latest version, fixes uloop recursion issues
nbd [Tue, 18 Jun 2013 10:52:40 +0000 (10:52 +0000)]
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

8 years agoustream-ssl: update to latest version, fixes uhttpd infinite loop issues
nbd [Tue, 18 Jun 2013 10:52:33 +0000 (10:52 +0000)]
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

8 years agobrcm63xx: create initramfs HCS images
florian [Mon, 17 Jun 2013 22:57:04 +0000 (22:57 +0000)]
brcm63xx: create initramfs HCS images

Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

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

8 years agonetifd: IPv6: Fix sorting order in last commit.
cyrus [Mon, 17 Jun 2013 21:29:14 +0000 (21:29 +0000)]
netifd: IPv6: Fix sorting order in last commit.

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

8 years agonetifd: Satisfy IPv6 assignments ordered by prefix length
cyrus [Mon, 17 Jun 2013 21:16:22 +0000 (21:16 +0000)]
netifd: Satisfy IPv6 assignments ordered by prefix length

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

8 years agobrcm63xx: simplify HCS image creation
florian [Mon, 17 Jun 2013 19:32:56 +0000 (19:32 +0000)]
brcm63xx: simplify HCS image creation

$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

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

8 years agobrcm63xx: remove support for 3.8 kernel
florian [Mon, 17 Jun 2013 19:32:47 +0000 (19:32 +0000)]
brcm63xx: remove support for 3.8 kernel

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

8 years agobrcm63xx: switch to 3.9 kernel
florian [Mon, 17 Jun 2013 19:32:42 +0000 (19:32 +0000)]
brcm63xx: switch to 3.9 kernel

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

8 years agobrcm63xx: fix missing antislash in BCM6345 ethernet patch
florian [Mon, 17 Jun 2013 19:32:35 +0000 (19:32 +0000)]
brcm63xx: fix missing antislash in BCM6345 ethernet patch

This would cause build failure when disabling support for particular
CPUs.

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

8 years agohostapd: correctly handle macfile uci option
jow [Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)]
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

8 years agodnsmasq: use host-record instead of address
jow [Mon, 17 Jun 2013 11:55:30 +0000 (11:55 +0000)]
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

8 years agobase-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take...
jow [Mon, 17 Jun 2013 11:33:36 +0000 (11:33 +0000)]
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

8 years agoath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
nbd [Sun, 16 Jun 2013 12:56:16 +0000 (12:56 +0000)]
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

8 years agomac80211: fix disabling rfkill support
nbd [Sun, 16 Jun 2013 09:25:41 +0000 (09:25 +0000)]
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

8 years agomac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
nbd [Sat, 15 Jun 2013 20:14:06 +0000 (20:14 +0000)]
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

8 years agokirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
nbd [Sat, 15 Jun 2013 11:50:50 +0000 (11:50 +0000)]
kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)

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

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