14.07/openwrt.git
9 years agoar71xx: build factory image for EnGenius ESR900 and ESR1750
blogic [Mon, 1 Sep 2014 13:21:29 +0000 (13:21 +0000)]
ar71xx: build factory image for EnGenius ESR900 and ESR1750

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r42189

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42364 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
blogic [Mon, 1 Sep 2014 13:21:27 +0000 (13:21 +0000)]
ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board

The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Backport of r42184

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42363 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: generate unique ARV7519RW22 firmware
blogic [Mon, 1 Sep 2014 13:21:25 +0000 (13:21 +0000)]
lantiq: generate unique ARV7519RW22 firmware

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42183

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42362 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: add support for xrx200 firmware depending on soc type
blogic [Mon, 1 Sep 2014 13:21:23 +0000 (13:21 +0000)]
lantiq: add support for xrx200 firmware depending on soc type

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42182

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42361 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: export soc type
blogic [Mon, 1 Sep 2014 13:21:21 +0000 (13:21 +0000)]
lantiq: export soc type

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42181

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42360 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: improve ARV7519RW22 support
blogic [Mon, 1 Sep 2014 13:21:19 +0000 (13:21 +0000)]
lantiq: improve ARV7519RW22 support

- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42180

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42359 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add a workaround to fix failsafe on RT5350
blogic [Mon, 1 Sep 2014 13:21:17 +0000 (13:21 +0000)]
ramips: add a workaround to fix failsafe on RT5350

Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r42179

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42358 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: enable additional GPIOs on HAME MPR-A1
blogic [Mon, 1 Sep 2014 13:21:15 +0000 (13:21 +0000)]
ramips: enable additional GPIOs on HAME MPR-A1

According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r42178

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42357 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they...
blogic [Mon, 1 Sep 2014 13:21:13 +0000 (13:21 +0000)]
ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r42177

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42356 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoppp: enable IPv6CP by default
blogic [Mon, 1 Sep 2014 13:21:11 +0000 (13:21 +0000)]
ppp: enable IPv6CP by default

Signed-off-by: Steven Barth <steven@midlink.org>
Backport of r42158

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42355 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: fix potential NULL pointer access
blogic [Mon, 1 Sep 2014 13:21:09 +0000 (13:21 +0000)]
firewall: fix potential NULL pointer access

Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42354 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: implement selective conntrack flushing (#10225)
blogic [Mon, 1 Sep 2014 13:21:07 +0000 (13:21 +0000)]
firewall: implement selective conntrack flushing (#10225)

Utilize the new selective conntrack flushing facility to clear
out active conntrack entries referring to old IP addresses after
a firewall reload.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42353 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: enable PER_FEED_REPO by default
blogic [Mon, 1 Sep 2014 13:21:05 +0000 (13:21 +0000)]
build: enable PER_FEED_REPO by default

Enable the separate feed repositories by default to align custom builds with the repositories
available on the snapshot download server.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42352 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: fix some whitespaces
blogic [Mon, 1 Sep 2014 13:21:04 +0000 (13:21 +0000)]
hostapd: fix some whitespaces

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42351 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: add default tx and rx antennas
blogic [Mon, 1 Sep 2014 13:21:02 +0000 (13:21 +0000)]
broadcom-wl: add default tx and rx antennas

This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42085

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42350 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, adds interface cleanup fixes
nbd [Sun, 31 Aug 2014 13:09:15 +0000 (13:09 +0000)]
netifd: update to the latest version, adds interface cleanup fixes

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42347 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, fixes proto-shell teardown after renew
nbd [Sun, 31 Aug 2014 13:09:14 +0000 (13:09 +0000)]
netifd: update to the latest version, fixes proto-shell teardown after renew

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42346 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonettle: disable mips16 support to improve performance
nbd [Sun, 31 Aug 2014 12:04:22 +0000 (12:04 +0000)]
nettle: disable mips16 support to improve performance

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Backport of r42341

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42342 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimagebuilder: remove postinst files before generating image
nbd [Sun, 31 Aug 2014 11:06:48 +0000 (11:06 +0000)]
imagebuilder: remove postinst files before generating image

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42340 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: binutils: link libbfd and libopcodes dynamically again
jogo [Sat, 30 Aug 2014 11:04:19 +0000 (11:04 +0000)]
BB: binutils: link libbfd and libopcodes dynamically again

Backport of r42337.

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

9 years agomac80211: fix crash when unloading drivers (#17706)
nbd [Fri, 29 Aug 2014 20:41:20 +0000 (20:41 +0000)]
mac80211: fix crash when unloading drivers (#17706)

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42330 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools/libtool: add missing dependency on m4
nbd [Fri, 29 Aug 2014 11:37:50 +0000 (11:37 +0000)]
tools/libtool: add missing dependency on m4

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42323 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools/bc: add missing dependency on bison
nbd [Wed, 27 Aug 2014 09:52:44 +0000 (09:52 +0000)]
tools/bc: add missing dependency on bison

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42311 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools/flex: disable building shared libfl.so
nbd [Wed, 27 Aug 2014 09:52:43 +0000 (09:52 +0000)]
tools/flex: disable building shared libfl.so

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42310 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/toolchain: strip files, leave out the initial gcc
nbd [Tue, 26 Aug 2014 12:33:15 +0000 (12:33 +0000)]
target/toolchain: strip files, leave out the initial gcc

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42303 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: override hardcoded paths to bison and m4 to make the SDK more relocatable
nbd [Tue, 26 Aug 2014 12:16:18 +0000 (12:16 +0000)]
build: override hardcoded paths to bison and m4 to make the SDK more relocatable

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42301 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: uhttpd: do not configure TLS parameters if libustream-ssl is not present
jow [Mon, 25 Aug 2014 12:46:35 +0000 (12:46 +0000)]
BB: uhttpd: do not configure TLS parameters if libustream-ssl is not present

A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: iwinfo: properly decode SSIDs when scanning through wpa_supplicant
jow [Mon, 25 Aug 2014 12:46:27 +0000 (12:46 +0000)]
BB: iwinfo: properly decode SSIDs when scanning through wpa_supplicant

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42285 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: enable softwires support by default
cyrus [Mon, 25 Aug 2014 06:12:19 +0000 (06:12 +0000)]
odhcp6c: enable softwires support by default

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42275 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: fix static lease behavior with dhcpv4
cyrus [Sun, 24 Aug 2014 08:13:42 +0000 (08:13 +0000)]
odhcpd: fix static lease behavior with dhcpv4

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42271 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouclient: update to latest version, fixes HTTP keepalive issues
nbd [Thu, 21 Aug 2014 19:13:10 +0000 (19:13 +0000)]
uclient: update to latest version, fixes HTTP keepalive issues

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42258 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: dropbear: restore performance by disabling mips16
jogo [Thu, 21 Aug 2014 18:28:09 +0000 (18:28 +0000)]
BB: dropbear: restore performance by disabling mips16

Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Backport of r42250.

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

9 years agobase-files: increase igmp_max_memberships to improve multicast-proxy handling
cyrus [Wed, 20 Aug 2014 10:19:03 +0000 (10:19 +0000)]
base-files: increase igmp_max_memberships to improve multicast-proxy handling

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42228 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: fix a race condition possibly leading to lockup
cyrus [Wed, 20 Aug 2014 09:53:29 +0000 (09:53 +0000)]
dnsmasq: fix a race condition possibly leading to lockup

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42226 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: bump for bugfixes
cyrus [Tue, 19 Aug 2014 06:00:09 +0000 (06:00 +0000)]
odhcpd: bump for bugfixes

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42219 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: respect option dhcpv4 disabled in dhcp-config
cyrus [Tue, 19 Aug 2014 06:00:07 +0000 (06:00 +0000)]
dnsmasq: respect option dhcpv4 disabled in dhcp-config

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobb: bump netifd
cyrus [Tue, 19 Aug 2014 05:39:28 +0000 (05:39 +0000)]
bb: bump netifd

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42213 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar7: backport r42168
florian [Sat, 16 Aug 2014 17:35:13 +0000 (17:35 +0000)]
ar7: backport r42168

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

9 years agoBB: brcm47xx: image: update list of Netgear WNR* firmwares
hauke [Thu, 14 Aug 2014 21:24:14 +0000 (21:24 +0000)]
BB: brcm47xx: image: update list of Netgear WNR* firmwares

backport of r42165

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42167 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: brcm47xx: fix brcm47xx.legacy build
hauke [Thu, 14 Aug 2014 21:23:36 +0000 (21:23 +0000)]
BB: brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

backport of r42164.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42166 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: feeds: switch telephony feed to for-14.07 branch
cyrus [Wed, 13 Aug 2014 14:04:01 +0000 (14:04 +0000)]
BB: feeds: switch telephony feed to for-14.07 branch

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42159 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
cyrus [Tue, 12 Aug 2014 13:30:38 +0000 (13:30 +0000)]
odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42154 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: package: fix segfault of iwinfo.scanlist("radio0").
jow [Tue, 12 Aug 2014 11:15:38 +0000 (11:15 +0000)]
BB: package: fix segfault of iwinfo.scanlist("radio0").

This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0") // return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len); // tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif); // zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42152 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: base-files: /lib/functions/network.sh: fix network_get_ipaddr6
jow [Mon, 11 Aug 2014 18:17:09 +0000 (18:17 +0000)]
BB: base-files: /lib/functions/network.sh: fix network_get_ipaddr6

When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>
Backport of r42139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42140 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: netfilter: consider reply direction on selective flushing
jow [Sun, 10 Aug 2014 10:17:03 +0000 (10:17 +0000)]
BB: netfilter: consider reply direction on selective flushing

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42096 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: netfilter: support /proc conntrack flushing of specific ip addresses
jow [Sun, 10 Aug 2014 09:21:19 +0000 (09:21 +0000)]
BB: netfilter: support /proc conntrack flushing of specific ip addresses

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42094 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO
jow [Sat, 9 Aug 2014 13:05:03 +0000 (13:05 +0000)]
BB: build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42091 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: build: consider sub-directories when deploying packages to image with CONFIG_PER_...
jow [Sat, 9 Aug 2014 12:11:34 +0000 (12:11 +0000)]
BB: build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42089 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: add support for a8xx broadcom devices
hauke [Fri, 8 Aug 2014 23:06:16 +0000 (23:06 +0000)]
broadcom-wl: add support for a8xx broadcom devices

Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

backport of: r42084

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

9 years agobrcm47xx: fix reboot problem on BCM4705/BCM4785
hauke [Fri, 8 Aug 2014 23:05:24 +0000 (23:05 +0000)]
brcm47xx: fix reboot problem on BCM4705/BCM4785

This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

backport of: r42083

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42086 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: avoid logspam in certain corner cases
cyrus [Fri, 8 Aug 2014 08:46:26 +0000 (08:46 +0000)]
odhcpd: avoid logspam in certain corner cases

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42068 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: write host-entries for all leased IPv6 addresses
cyrus [Fri, 8 Aug 2014 05:31:38 +0000 (05:31 +0000)]
odhcpd: write host-entries for all leased IPv6 addresses

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42066 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocyassl: update to 3.1.0
cyrus [Fri, 8 Aug 2014 05:26:21 +0000 (05:26 +0000)]
cyassl: update to 3.1.0

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42064 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopolarssl: bump to 1.3.8
cyrus [Fri, 8 Aug 2014 05:21:38 +0000 (05:21 +0000)]
polarssl: bump to 1.3.8

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42062 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: another day another bug fix update
blogic [Thu, 7 Aug 2014 20:55:33 +0000 (20:55 +0000)]
openssl: another day another bug fix update

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42056 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: enable option to skip the netfilter "filter" table for established connec...
nbd [Thu, 7 Aug 2014 19:31:19 +0000 (19:31 +0000)]
base-files: enable option to skip the netfilter "filter" table for established connection packets by default

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42051 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a patch to allow disabling processing of the netfilter "filter" table...
nbd [Thu, 7 Aug 2014 19:31:18 +0000 (19:31 +0000)]
kernel: add a patch to allow disabling processing of the netfilter "filter" table for established connection packets

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42050 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: improve ipv4 netfilter optimization patch
nbd [Thu, 7 Aug 2014 19:31:16 +0000 (19:31 +0000)]
kernel: improve ipv4 netfilter optimization patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42049 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: update hostfile more often
cyrus [Thu, 7 Aug 2014 18:08:10 +0000 (18:08 +0000)]
odhcpd: update hostfile more often

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42043 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: revert r37163
blogic [Thu, 7 Aug 2014 12:42:26 +0000 (12:42 +0000)]
ralink: revert r37163

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42039 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
cyrus [Thu, 7 Aug 2014 12:33:22 +0000 (12:33 +0000)]
iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42035 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: bump to latest version
cyrus [Thu, 7 Aug 2014 10:24:28 +0000 (10:24 +0000)]
netifd: bump to latest version

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42033 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Add support for the WNDR3800CH
cyrus [Thu, 7 Aug 2014 10:00:30 +0000 (10:00 +0000)]
ar71xx: Add support for the WNDR3800CH

Apparently this is a fairly common refurb unit of the 3800 series now,
with merely the recognition string changed in the boot loader.

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42031 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiptables: NFLOG and NFQUEUE targets' full support
cyrus [Thu, 7 Aug 2014 10:00:28 +0000 (10:00 +0000)]
iptables: NFLOG and NFQUEUE targets' full support

NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42030 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: add missing gpio_to_irq()
blogic [Thu, 7 Aug 2014 09:55:11 +0000 (09:55 +0000)]
octeon: add missing gpio_to_irq()

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42029 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: correct incorrect commit-id in last commit
cyrus [Thu, 7 Aug 2014 05:51:21 +0000 (05:51 +0000)]
odhcpd: correct incorrect commit-id in last commit

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42027 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: skip MSRs in RAs for prefixes with same size as DP
cyrus [Thu, 7 Aug 2014 05:34:43 +0000 (05:34 +0000)]
odhcpd: skip MSRs in RAs for prefixes with same size as DP

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42025 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB: mac80211: b43: update b43 to version master-2014-07-29-1
hauke [Wed, 6 Aug 2014 22:02:14 +0000 (22:02 +0000)]
BB: mac80211: b43: update b43 to version master-2014-07-29-1

This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42021 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update bcma to version master-2014-07-29-1
hauke [Wed, 6 Aug 2014 22:01:13 +0000 (22:01 +0000)]
kernel: update bcma to version master-2014-07-29-1

This is a backport of bcma from wireless-tesing/master tag master-2014-07-29-1.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42020 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: add new option to add disabled feeds commented out to opkg.conf
blogic [Wed, 6 Aug 2014 18:18:49 +0000 (18:18 +0000)]
build: add new option to add disabled feeds commented out to opkg.conf

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42018 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: fix detection of installed feeds
blogic [Wed, 6 Aug 2014 18:18:48 +0000 (18:18 +0000)]
include: fix detection of installed feeds

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42017 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: introduce per feed repository support
blogic [Wed, 6 Aug 2014 18:18:47 +0000 (18:18 +0000)]
build: introduce per feed repository support

This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42016 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: allow scans in AP mode on nl80211
nbd [Wed, 6 Aug 2014 17:07:35 +0000 (17:07 +0000)]
iwinfo: allow scans in AP mode on nl80211

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42015 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: update Carambola2 platform data
nbd [Wed, 6 Aug 2014 10:30:21 +0000 (10:30 +0000)]
ar71xx: update Carambola2 platform data

Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Backport of r41993

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42013 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain/musl: update to version 1.1.4
nbd [Wed, 6 Aug 2014 10:30:20 +0000 (10:30 +0000)]
toolchain/musl: update to version 1.1.4

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42012 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: refresh patch
nbd [Wed, 6 Aug 2014 10:30:19 +0000 (10:30 +0000)]
mac80211: refresh patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42011 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
nbd [Wed, 6 Aug 2014 10:30:18 +0000 (10:30 +0000)]
ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42010 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: when using --gc-sections, add --sort-section=name to get a more stable sortin...
nbd [Wed, 6 Aug 2014 10:30:17 +0000 (10:30 +0000)]
kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42009 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a small xfrm related performance optimization
nbd [Wed, 6 Aug 2014 10:30:14 +0000 (10:30 +0000)]
kernel: add a small xfrm related performance optimization

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42008 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetfilter: introduce xt_id match
nbd [Wed, 6 Aug 2014 10:30:09 +0000 (10:30 +0000)]
netfilter: introduce xt_id match

This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42007 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: minor fixes (thanks Hans Dedecker)
cyrus [Tue, 5 Aug 2014 10:03:48 +0000 (10:03 +0000)]
netifd: minor fixes (thanks Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42001 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogre: Change hostdependcy to remote endpoint tunnel address
cyrus [Tue, 5 Aug 2014 10:00:25 +0000 (10:00 +0000)]
gre: Change hostdependcy to remote endpoint tunnel address

Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41999 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoMerge gre config support since netifd was bumped.
cyrus [Mon, 4 Aug 2014 05:57:05 +0000 (05:57 +0000)]
Merge gre config support since netifd was bumped.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41989 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add profile for easyacc wizard8800
blogic [Sun, 3 Aug 2014 14:32:47 +0000 (14:32 +0000)]
ramips: add profile for easyacc wizard8800

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

9 years agofeeds: fix old.packages up to use the version when we forked new packages
blogic [Sun, 3 Aug 2014 14:32:45 +0000 (14:32 +0000)]
feeds: fix old.packages up to use the version when we forked new packages

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

9 years agonetfid: update to latest git version
blogic [Sun, 3 Aug 2014 11:37:28 +0000 (11:37 +0000)]
netfid: update to latest git version

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

9 years agofirmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw...
blogic [Sun, 3 Aug 2014 11:16:02 +0000 (11:16 +0000)]
firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r41962

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41984 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips:support Lenovo AC1200 Wireless router
blogic [Sun, 3 Aug 2014 11:16:00 +0000 (11:16 +0000)]
ramips:support Lenovo AC1200 Wireless router

Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>
Backport of r41961

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41983 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: revert bogus version that was added in r41872
blogic [Sun, 3 Aug 2014 11:15:59 +0000 (11:15 +0000)]
hostapd: revert bogus version that was added in r41872

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41982 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorobocfg: add missing include
blogic [Sun, 3 Aug 2014 11:15:57 +0000 (11:15 +0000)]
robocfg: add missing include

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41981 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiputils: add missing includes, fix musl support
blogic [Sun, 3 Aug 2014 11:15:56 +0000 (11:15 +0000)]
iputils: add missing includes, fix musl support

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41980 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoigmpproxy: add missing include
blogic [Sun, 3 Aug 2014 11:15:54 +0000 (11:15 +0000)]
igmpproxy: add missing include

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41979 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwcap: add missing include
blogic [Sun, 3 Aug 2014 11:15:53 +0000 (11:15 +0000)]
iwcap: add missing include

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41978 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: add missing include statement
blogic [Sun, 3 Aug 2014 11:15:51 +0000 (11:15 +0000)]
iwinfo: add missing include statement

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41977 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns3xxx: add myself as maintainer
blogic [Sun, 3 Aug 2014 11:15:50 +0000 (11:15 +0000)]
cns3xxx: add myself as maintainer

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41976 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage:grub2: fix build error on linux missing libzfs
blogic [Sun, 3 Aug 2014 11:15:48 +0000 (11:15 +0000)]
package:grub2: fix build error on linux missing libzfs

configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Backport of r41935

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41975 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agovalgrind: add x86_64 support
blogic [Sun, 3 Aug 2014 11:15:47 +0000 (11:15 +0000)]
valgrind: add x86_64 support

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
Backport of r41934

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41974 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Fix LEDs on the Kingston MLW221
blogic [Sun, 3 Aug 2014 11:15:46 +0000 (11:15 +0000)]
ramips: Fix LEDs on the Kingston MLW221

LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r41933

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41973 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: oolite: the buttons are not active_low
blogic [Sun, 3 Aug 2014 11:15:45 +0000 (11:15 +0000)]
ar71xx: oolite: the buttons are not active_low

this caused factory resets when reboot was pressed

Signed-off-by: Brent Thomson <brentthomson@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r41932

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41972 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add RTC feature flag to ar71xx/nand
blogic [Sun, 3 Aug 2014 11:15:43 +0000 (11:15 +0000)]
ar71xx: add RTC feature flag to ar71xx/nand

without this the build for NBG6716 fails due to missing packages

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41971 3c298f89-4303-0410-b956-a3cf2f4a3e73