15.05/openwrt.git
8 years agobase-files: sysupgrade: quote source image name
rmilecki [Wed, 23 Sep 2015 11:55:18 +0000 (11:55 +0000)]
base-files: sysupgrade: quote source image name

get_image() eval a filename without quoting it, resulting in errors with
filenames containing characters that need to be escaped.
    $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
    Image check 'platform_check_image' failed.
    Invalid config file. Please use only .tar.gz files
    1
    $ mv cfg\(12\).tar.gz cfg_12.tar.gz
    $ mv img\(1\).bin img.bin
    sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?
    0

Enclose the content of $from in double quotes.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Backport of r46919

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

8 years agokernel: add a patch to fix crashes on pppoe disconnect/reconnect
nbd [Tue, 22 Sep 2015 11:29:00 +0000 (11:29 +0000)]
kernel: add a patch to fix crashes on pppoe disconnect/reconnect

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

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

8 years agobase-files: fix ramoverlay function with kernels 3.18+
nbd [Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)]
base-files: fix ramoverlay function with kernels 3.18+

Even though there are not many users left within the OpenWrt tree it seems
this function broke during the kernel 3.18 transition.

Fix it by providing a workdir as required by overlayfs.

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

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

8 years agotools/mtd-utils: fix PKG_MIRROR_MD5SUM
nbd [Mon, 21 Sep 2015 17:19:08 +0000 (17:19 +0000)]
tools/mtd-utils: fix PKG_MIRROR_MD5SUM

The checksum doesn't match the file on mirror2.openwrt.org.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r47010

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

8 years agomips: Free memory when load_module fails (#14453)
nbd [Fri, 18 Sep 2015 12:47:46 +0000 (12:47 +0000)]
mips: Free memory when load_module fails (#14453)

The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

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

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

8 years agokernel: bridge, multicast-to-unicast: fix echoes on STA
nbd [Fri, 18 Sep 2015 12:47:31 +0000 (12:47 +0000)]
kernel: bridge, multicast-to-unicast: fix echoes on STA

Currently, multicast packets from an STA are sent to any according
multicast listener directly through the bridge multicast-to-unicast
feature. Unfortunately, so far this includes the originating STA, too,
resulting in multicast packets being echo'ed back to the originating STA
if it itself is a multicast listener for that group.

This behaviour breaks IPv6 duplicate address detection: An IPv6 Neighbor
Solicitation for IPv6 Duplicate Address Detection is being echo'ed back,
resulting in the host falsely detecting an address collision, which
makes the node unable to claim an IPv6 address and use IPv6 in general.

Mac80211 unfortunately only prevents the echoes for us for multicast
frames. For the multicast frames cast to a unicast destination we'll
need to take care of excluding the originator ourselves.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Backport of r46765

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

8 years agogeneric: Fix per interface nf_call_iptables setting
nbd [Fri, 18 Sep 2015 12:47:20 +0000 (12:47 +0000)]
generic: Fix per interface nf_call_iptables setting

commit r30917 ("kernel: bypass all netfilter hooks if the sysctls for that
functionality have been disabled - eliminates the overhead of enabling
CONFIG_BRIDGE_NETFILTER in the kernel config") introduced an optimization
which should reduce/eliminate the overhead for traffic send over bridges on
kernels compiled with CONFIG_BRIDGE_NETFILTER=y. But this optimization
breaks the nf_call_iptables per bridge setting which is more fine grained
than the global sysctl net.bridge.bridge-nf-call-iptables setting.

A test reflecting a real world setup was created to identify if this really
eliminates the overhead and if per-bridge nf_call_iptables could be used in
some setups to increase the throughput. A Qualcomm Atheros QCA9558 based
system with one ethernet and an ath9k wifi 3x3 in HT40 mode was used.
Cables from the AP to the wifi station were used to reduce interference
problems during the tests.

The wlan interface was put in one bridge interface called br-wlan. This
bridge usually contains some more wlan interfaces. The eth0 was put in a
second bridge called br-lan. This usually contains some other privileged
wlan or mesh interfaces. Routing was added between br-lan and br-wlan.

Three kernels were tested:

 * (default) OpenWrt kernel for this device
 * (brfilter-global) OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y
 * (brfilter-local)  OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y and
    without 644-bridge_optimize_netfilter_hooks.patch

The changes to the the netfilter settings of the bridge were done via:

 * (brfilter-global) /sbin/sysctl -w net.bridge.bridge-nf-call-iptables=1
 * (brfilter-lobal) echo 1 > /sys/class/net/br-lan/bridge/nf_call_iptables
   and/or echo 1 > /sys/class/net/br-wan/bridge/nf_call_iptables

A station connected to the wlan0 (AP) interface was used to send traffic to
a PC connected via ethernet. iperf with 3 concurrent transmissions was used
to generate the traffic.

| kernel          | br-nf-* global | nf-call* iface | download | upload   |
|-----------------|----------------|----------------|----------|----------|
| default         | 0              | -              |      209 |      268 |
| brfilter-global | 0              | -              |      185 |      243 |
| brfilter-local  | 0              | -              |      187 |      243 |
| brfilter-local  | 0              | br-lan         |      157 |      226 |
| brfilter-local  | 0              | br-lan br-wlan |      139 |      161 |
| brfilter-global | 1              | -              |      136 |      162 |

Download/upload results in Mibit/s

It can be seen that the patch doesn't eliminate the overhead. It can also
be seen that the throughput of brfilter-global and brfilter-local with
disabled filtering is the roughly the same. Also the throughput for
brfilter-global and brfilter-local for enabled filtering on all bridges is
roughly the same.

But also the brfilter-local throughput is higher when only br-lan requires
the filtering. This setting would not be possible with
644-bridge_optimize_netfilter_hooks.patch applied and thus can only be
compared with brfilter-global and filtering enabled for all interfaces.

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

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

8 years agokernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
nbd [Fri, 18 Sep 2015 12:47:10 +0000 (12:47 +0000)]
kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

A call to pskb_may_pull() might reallocate skb->data. Therefore we
should only assign the src-pointer after any potential reallocations.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46721

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

8 years agoRevert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitati...
nbd [Fri, 18 Sep 2015 12:46:59 +0000 (12:46 +0000)]
Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

This reverts commit a080e8e1943156168913d0353a2e99d1151102aa.

It did not fix the problem but just hid some symptom. The real issue was
that IGMP/MLD report suppression was not considered for the
multicast-to-unicast feature. A recent netifd which isolates IGMP/MLD
reports between STAs by utilizing AP-isolation and bridge-hairpinning
should have fixed this.

It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor
Solicitations, too (once that feature is configured correctly).

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46720

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

8 years agonetifd: update to the latest version (as of trunk r46841)
nbd [Fri, 18 Sep 2015 12:46:50 +0000 (12:46 +0000)]
netifd: update to the latest version (as of trunk r46841)

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

8 years agoprocd: update to latest git revision
nbd [Thu, 17 Sep 2015 17:21:16 +0000 (17:21 +0000)]
procd: update to latest git revision

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

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

8 years agokernel: solos-pci: Increase headroom on received packets
nbd [Thu, 17 Sep 2015 16:42:53 +0000 (16:42 +0000)]
kernel: solos-pci: Increase headroom on received packets

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

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

8 years agokernel: ipv6: ip6_fragment: fix headroom tests and skb leak
nbd [Thu, 17 Sep 2015 16:42:49 +0000 (16:42 +0000)]
kernel: ipv6: ip6_fragment: fix headroom tests and skb leak

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

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

8 years agoCC: firewall: depend on kmod-ipt-conntrack (#20542)
jow [Thu, 17 Sep 2015 15:32:31 +0000 (15:32 +0000)]
CC: firewall: depend on kmod-ipt-conntrack (#20542)
Our ruleset requires kernel support for conntrack state matching, therfore
depend on the require kmod. Fixes #20542.

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

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

8 years agox86/geode: enable DMI and Geos support (fixes #20512)
nbd [Thu, 17 Sep 2015 10:16:41 +0000 (10:16 +0000)]
x86/geode: enable DMI and Geos support (fixes #20512)

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Backport of r46986

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

8 years agox86: fix Geode LX timekeeping (#20531)
nbd [Thu, 17 Sep 2015 10:16:38 +0000 (10:16 +0000)]
x86: fix Geode LX timekeeping (#20531)

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

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

8 years agoppp: backport use a more reliable way to set script environment
cyrus [Tue, 15 Sep 2015 14:56:43 +0000 (14:56 +0000)]
ppp: backport use a more reliable way to set script environment

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

8 years agobase-files: replace the opkg key with the one used for the final image
nbd [Mon, 14 Sep 2015 16:50:47 +0000 (16:50 +0000)]
base-files: replace the opkg key with the one used for the final image

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

8 years agoramips: fix chunked-io support for big flash chips (#20504)
nbd [Mon, 14 Sep 2015 06:57:07 +0000 (06:57 +0000)]
ramips: fix chunked-io support for big flash chips (#20504)

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

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

8 years agobcm53xx: add NAND flash chip description for Asus RT-AC87U
rmilecki [Mon, 14 Sep 2015 06:14:41 +0000 (06:14 +0000)]
bcm53xx: add NAND flash chip description for Asus RT-AC87U

This isn't that important due to different NAND driver but keeps DTS and
backports consistent.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Inspired by r46892 (trunk).

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

8 years agoath10k: reduce dma burst size on newer firmware to fix crashes
nbd [Sun, 13 Sep 2015 20:46:00 +0000 (20:46 +0000)]
ath10k: reduce dma burst size on newer firmware to fix crashes

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

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

8 years agokernel: drop some left XHCI patch for 4.0
rmilecki [Fri, 11 Sep 2015 12:09:00 +0000 (12:09 +0000)]
kernel: drop some left XHCI patch for 4.0

It was accidentally added in r46094.

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

8 years agoCC: opkg: ensure image provided feeds are available after sysupgrade
jogo [Fri, 11 Sep 2015 10:48:42 +0000 (10:48 +0000)]
CC: opkg: ensure image provided feeds are available after sysupgrade
Split the opkg.conf into three files, to make it easier to support custom
feeds and configs:

* /etc/opkg.conf -> base opkg configuration
* /etc/opkg/distfeeds.conf -> default Openwrt package feeds
* /etc/opkg/customfeeds.conf -> custom package feeds

Of these three, only the base opkg.conf and the customfeeds.conf is marked
as to be kept, so that the distfeeds.conf from the image is always used.

To ease migration, a script is added that moves any feeds from /etc/opkg.conf
to /etc/opkg/customfeeds.conf on first boot.

Also ensure that any keys used for verification are also kept in upgrade.

Backport of r46491.

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

8 years agoCC: kernel: update 3.18 to 3.18.21
jogo [Fri, 11 Sep 2015 10:48:34 +0000 (10:48 +0000)]
CC: kernel: update 3.18 to 3.18.21
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21

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

8 years agoipq806x: delete from CC branch; it is broken and unsupported
nbd [Fri, 11 Sep 2015 08:49:42 +0000 (08:49 +0000)]
ipq806x: delete from CC branch; it is broken and unsupported

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

8 years agokernel: restore 640-bridge_no_eap_forward.patch to its original form
nbd [Tue, 8 Sep 2015 14:31:41 +0000 (14:31 +0000)]
kernel: restore 640-bridge_no_eap_forward.patch to its original form

It was corrupted in r38528. The most obvious symptom is repeated messages like this:

Tue Sep  8 08:25:18 2015 kern.warn kernel: [77141.972226] br-lan: received packet on wlan0 with own address as source address

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
Backport of r46821

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

8 years agobrcm47xx: apply serial flash size trick to Netgear WNR1000 V3
rmilecki [Tue, 8 Sep 2015 06:01:04 +0000 (06:01 +0000)]
brcm47xx: apply serial flash size trick to Netgear WNR1000 V3

It also uses different block size just like WGR614 V10.

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

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

8 years agobrcm47xx: add Netgear WNR1000 V3 support in the Linux arch code
rmilecki [Tue, 8 Sep 2015 06:00:59 +0000 (06:00 +0000)]
brcm47xx: add Netgear WNR1000 V3 support in the Linux arch code

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

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

8 years agouhttpd: update to the latest version, fixes deferred cgi script processing (#20458)
nbd [Mon, 7 Sep 2015 19:19:25 +0000 (19:19 +0000)]
uhttpd: update to the latest version, fixes deferred cgi script processing (#20458)

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

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

8 years agoramips: fix devicetree corruption with some boot loaders if the caches are not ready... 15.05
nbd [Wed, 2 Sep 2015 09:26:22 +0000 (09:26 +0000)]
ramips: fix devicetree corruption with some boot loaders if the caches are not ready at boot

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

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

8 years agoCC: hostapd: properly enable 802.11w support
hauke [Sat, 29 Aug 2015 20:32:26 +0000 (20:32 +0000)]
CC: hostapd: properly enable 802.11w support
backport of r46737

Add CONFIG_IEEE80211W variable to DRIVER_MAKEOPTS so that 802.11w
support is properly compiled in full variant.

This fixes #20179

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46751 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: broadcom-wl: add interface after bridge is up
hauke [Sat, 29 Aug 2015 20:05:41 +0000 (20:05 +0000)]
CC: broadcom-wl: add interface after bridge is up
backport of r46749

Without this patch adding the wifi device to the bridge may fail
because the bridge is not already configured when the wifi device gets
configured. This patch makes broadcom-wl wait till the bridge is ready.

This fixes #17262

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

8 years agoCC: broadcom-wl: fix bash comparison error
hauke [Sat, 29 Aug 2015 17:40:11 +0000 (17:40 +0000)]
CC: broadcom-wl: fix bash comparison error
Backport of r46746

This fixes #17495

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: broadcom-wl: fix section mismatches in broadcom-wl driver
hauke [Sat, 29 Aug 2015 17:39:36 +0000 (17:39 +0000)]
CC: broadcom-wl: fix section mismatches in broadcom-wl driver
Backport of r46745

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

8 years agobrcm47xx: fix Linksys E1200 V2 image filename
rmilecki [Sat, 29 Aug 2015 09:28:31 +0000 (09:28 +0000)]
brcm47xx: fix Linksys E1200 V2 image filename

Drop unwanted suffix (copy & paste mistake).

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

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

8 years agomac80211: add pending brcmfmac patch fixing warm reboots
rmilecki [Thu, 27 Aug 2015 14:58:00 +0000 (14:58 +0000)]
mac80211: add pending brcmfmac patch fixing warm reboots

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

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

8 years agomac80211: update brcmfmac to the latest version
rmilecki [Wed, 26 Aug 2015 22:57:54 +0000 (22:57 +0000)]
mac80211: update brcmfmac to the latest version

This also adds one patchset of pending changes that fix support for
multiple interfaces. It was somehow broken.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs.

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

8 years agomac80211: group last brcmfmac changes into (half) patchset
rmilecki [Wed, 26 Aug 2015 22:57:29 +0000 (22:57 +0000)]
mac80211: group last brcmfmac changes into (half) patchset

This prepares some place for backporting extra patches.

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

8 years agobcm53xx: add support for Netgear R7000
rmilecki [Wed, 26 Aug 2015 16:20:39 +0000 (16:20 +0000)]
bcm53xx: add support for Netgear R7000

Backport of r46363 r46730 r46731 r46732.

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

8 years agoCC: brcm63xx: fix WAP-5813n default network config
jogo [Wed, 26 Aug 2015 13:04:13 +0000 (13:04 +0000)]
CC: brcm63xx: fix WAP-5813n default network config
/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

Backport of r46727.

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

8 years agoCC: mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
jogo [Sun, 23 Aug 2015 13:37:42 +0000 (13:37 +0000)]
CC: mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
Properly treat -ENOSYS as no PHY, else ehci-orion won't work without
generic phy support.

Backport of r46711.

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

8 years agoCC: mac80211: disable ipw2x00 for big endian targets
jogo [Sun, 23 Aug 2015 09:41:27 +0000 (09:41 +0000)]
CC: mac80211: disable ipw2x00 for big endian targets
The ipw2x00 drivers assume that the system they are running is little
endian, and access everything in native byte order. When run on a big
endian system, everything breaks apart.

Since fixing this is non trivial on a first glance, disable them for
big endian targets.

Backport of r46708.

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

8 years agoCC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
jogo [Sun, 23 Aug 2015 09:41:07 +0000 (09:41 +0000)]
CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

Backport of r46707.

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

8 years agomvebu: fix cobra chainmask (backport of r46697)
kaloz [Fri, 21 Aug 2015 08:06:07 +0000 (08:06 +0000)]
mvebu: fix cobra chainmask (backport of r46697)

Thanks Sebastian for spotting it.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46698 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: downgrade to 10.3.0.3-20150804
kaloz [Thu, 20 Aug 2015 20:45:16 +0000 (20:45 +0000)]
mwlwifi: downgrade to 10.3.0.3-20150804

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46695 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: fix commit hash for 10.3.0.8
kaloz [Wed, 19 Aug 2015 08:44:26 +0000 (08:44 +0000)]
mwlwifi: fix commit hash for 10.3.0.8

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46692 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add support for the Linksys boot counter (backport of r46690)
kaloz [Wed, 19 Aug 2015 08:35:41 +0000 (08:35 +0000)]
mvebu: add support for the Linksys boot counter (backport of r46690)

The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46691 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouhttpd: we don't know where the device is located, so reflect that in the cert
kaloz [Wed, 19 Aug 2015 08:21:20 +0000 (08:21 +0000)]
uhttpd: we don't know where the device is located, so reflect that in the cert

backport of r46688

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46689 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: upgrade to 10.3.0.8-20150818
kaloz [Tue, 18 Aug 2015 11:20:59 +0000 (11:20 +0000)]
mwlwifi: upgrade to 10.3.0.8-20150818

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46686 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoxz: update to version 5.2.1
hauke [Mon, 17 Aug 2015 19:23:34 +0000 (19:23 +0000)]
xz: update to version 5.2.1

Backport of 46603.

This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

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

8 years agoCC: kernel: update 3.18 to 3.18.20
hauke [Mon, 17 Aug 2015 19:01:16 +0000 (19:01 +0000)]
CC: kernel: update 3.18 to 3.18.20
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20

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

8 years agoprocd: fix seccomp build on some architectures
hauke [Mon, 17 Aug 2015 18:59:00 +0000 (18:59 +0000)]
procd: fix seccomp build on some architectures

Backport of r46612.

fix generating syscall-names.h

Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.

For example the bit/syscall.h from musl for i386 has this:

  #define __NR_timer_create     259
  #define __NR_timer_settime    (__NR_timer_create+1)

With this patch the resulting array looks like this:

 [259] = "timer_create",
 [(__NR_timer_create+1)] = "timer_settime",

This closes #20195.

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

8 years agoCC: uhttpd: pass X-HTTP-Method-Override header to cgi scripts
jow [Mon, 17 Aug 2015 16:41:53 +0000 (16:41 +0000)]
CC: uhttpd: pass X-HTTP-Method-Override header to cgi scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46677

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

8 years agougps: update to latest git HEAD
blogic [Mon, 17 Aug 2015 13:19:01 +0000 (13:19 +0000)]
ugps: update to latest git HEAD

fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

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

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

8 years agoar71xx: Add support for Black Swift
blogic [Mon, 17 Aug 2015 13:18:56 +0000 (13:18 +0000)]
ar71xx: Add support for Black Swift

Add support for the Black Swift board:
http://www.black-swift.com/

Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46674 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
blogic [Mon, 17 Aug 2015 13:18:50 +0000 (13:18 +0000)]
ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.

Kinda-backport of r46415, though this patch uses the old-style calibration data loading.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46673 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage: fix handling of per-device kernel build commands
nbd [Thu, 13 Aug 2015 19:35:29 +0000 (19:35 +0000)]
image: fix handling of per-device kernel build commands

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

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

8 years agoimage: fix device variable exports for initramfs images
nbd [Thu, 13 Aug 2015 19:35:26 +0000 (19:35 +0000)]
image: fix device variable exports for initramfs images

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

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

8 years agobcm53xx: add workaround for Netgear R8000 network
rmilecki [Wed, 12 Aug 2015 15:26:18 +0000 (15:26 +0000)]
bcm53xx: add workaround for Netgear R8000 network

According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

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

8 years agobrcm47xx: fix reading WGT634U CFE variables
rmilecki [Wed, 12 Aug 2015 13:30:34 +0000 (13:30 +0000)]
brcm47xx: fix reading WGT634U CFE variables

We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

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

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

8 years agobase-files: buttons: make power script return 0
rmilecki [Wed, 12 Aug 2015 00:58:41 +0000 (00:58 +0000)]
base-files: buttons: make power script return 0

It was missed in the r46471.

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

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

8 years agobuttons: make all button handler scripts return 0
rmilecki [Mon, 10 Aug 2015 23:58:15 +0000 (23:58 +0000)]
buttons: make all button handler scripts return 0

this is required by the new button timeout feature

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

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

8 years agoprocd: update to the latest version, add "button" hotplug handler
rmilecki [Mon, 10 Aug 2015 22:29:46 +0000 (22:29 +0000)]
procd: update to the latest version, add "button" hotplug handler

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
In 15.05-rc2 we got support for "set-interval" and "clear-interval"
which got dropped with the update of procd done in r46257. This new
"button" action provides similar functionality so it makes sense to
backport it to 15.05.

Backport of r46578

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

8 years agoCC: kernel: crypto: fix module loading of aead.ko
hauke [Sun, 9 Aug 2015 17:19:00 +0000 (17:19 +0000)]
CC: kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

backport of r46574.

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

8 years agoar71xx: use automatic firmware partition splitting for devolo dLAN devices
blogic [Mon, 3 Aug 2015 10:22:38 +0000 (10:22 +0000)]
ar71xx: use automatic firmware partition splitting for devolo dLAN devices

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
Backport of r46414

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

8 years agoar71xx: Backport support for Onion Omega
blogic [Mon, 3 Aug 2015 10:22:33 +0000 (10:22 +0000)]
ar71xx: Backport support for Onion Omega

Backport of r46458 to CC

https://onion.io/omega

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Boken Lin <bl@onion.io>
Tested-by: Jacky Huang <huangfangcheng@163.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46548 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500
nbd [Sun, 2 Aug 2015 15:08:27 +0000 (15:08 +0000)]
ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500

This patch fixes weak radio signal reported by nikola.georgiev

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

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

8 years agoar71xx: fix mr3220 device profile (#19990)
nbd [Sat, 1 Aug 2015 15:52:54 +0000 (15:52 +0000)]
ar71xx: fix mr3220 device profile (#19990)

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

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

8 years agosunxi: CC: fix networking on Olimex A20 Micro
wigyori [Fri, 31 Jul 2015 19:57:10 +0000 (19:57 +0000)]
sunxi: CC: fix networking on Olimex A20 Micro

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46537 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: update dts files for mamba / WRT1900AC (backport of r46530)
kaloz [Fri, 31 Jul 2015 18:25:03 +0000 (18:25 +0000)]
mvebu: update dts files for mamba / WRT1900AC (backport of r46530)

Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46531 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: fix gpio config on the WRT1200AC (backport of r46527)
kaloz [Fri, 31 Jul 2015 18:08:51 +0000 (18:08 +0000)]
mvebu: fix gpio config on the WRT1200AC (backport of r46527)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46528 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)
kaloz [Thu, 30 Jul 2015 06:41:43 +0000 (06:41 +0000)]
mwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46521 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: sdk: provide explicit CONFIG_MODULES kconfig symbol
jow [Mon, 27 Jul 2015 23:49:48 +0000 (23:49 +0000)]
CC: sdk: provide explicit CONFIG_MODULES kconfig symbol
Extend the SDK Config.in file to explicitely declare a MODULES symbol with
the "option modules" flag set in order to prevent a kconfig segmentation fault
whenever a "depends m" dependency is encountered.

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

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

8 years agoCC: dnsmasq: add some missing files to the jail
jow [Mon, 27 Jul 2015 11:49:48 +0000 (11:49 +0000)]
CC: dnsmasq: add some missing files to the jail
found with strace, not sure we got all of them though

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46467

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

8 years agoCC: base-files: fix /tmp/.jail permissions
jow [Mon, 27 Jul 2015 11:49:43 +0000 (11:49 +0000)]
CC: base-files: fix /tmp/.jail permissions
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)

This partly fixes jailed dnsmasq

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46466

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

8 years agoCC: procd: update to latest git HEAD
jow [Mon, 27 Jul 2015 11:49:39 +0000 (11:49 +0000)]
CC: procd: update to latest git HEAD
fixes http://patchwork.ozlabs.org/patch/497899/

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

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

8 years agofirewall: fix typo in ESP rule
cyrus [Mon, 27 Jul 2015 11:48:00 +0000 (11:48 +0000)]
firewall: fix typo in ESP rule

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

8 years agofirewall: comply with REC-22, REC-24 of RFC 6092
cyrus [Mon, 27 Jul 2015 11:47:56 +0000 (11:47 +0000)]
firewall: comply with REC-22, REC-24 of RFC 6092

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

8 years agoramips: swap radio calibration data pointers for DIR-860L
nbd [Sun, 26 Jul 2015 13:02:37 +0000 (13:02 +0000)]
ramips: swap radio calibration data pointers for DIR-860L

Fixes low 5 GHz tx power issues

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

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

8 years agotools: drop circular dependency between patch and ccache, build patch without ccache...
nbd [Sun, 26 Jul 2015 13:02:35 +0000 (13:02 +0000)]
tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)

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

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

8 years agoCC: ar71xx: EPG5000 requires ATH79_NVRAM
hauke [Sat, 25 Jul 2015 13:54:15 +0000 (13:54 +0000)]
CC: ar71xx: EPG5000 requires ATH79_NVRAM
EPG5000 uses ath79 nvram functions, but does not select it. This breaks
build if no other board support enabling nvram support is selected.

Closes #19952.

Backport of r46190.

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

8 years agoCC: kernel: update 3.18 to 3.18.19
jogo [Sat, 25 Jul 2015 10:02:47 +0000 (10:02 +0000)]
CC: kernel: update 3.18 to 3.18.19
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19

Backport of r46439.

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

8 years agoCC: brcm63xx: HG553 buttons support
jogo [Sat, 25 Jul 2015 10:02:44 +0000 (10:02 +0000)]
CC: brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.

Backport of r46388.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46486 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: ar71xx: add LED defaults for the EnGenius EPG5000
blogic [Fri, 24 Jul 2015 08:58:57 +0000 (08:58 +0000)]
CC: ar71xx: add LED defaults for the EnGenius EPG5000
NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Backport of r46226.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46450 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
blogic [Fri, 24 Jul 2015 08:58:45 +0000 (08:58 +0000)]
CC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
The designated blue WAN port on both devices has index 5, not 1.

Backport of r46227.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46449 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: ar71xx: add profile and build image for EnGenius EPG5000.
blogic [Fri, 24 Jul 2015 08:58:40 +0000 (08:58 +0000)]
CC: ar71xx: add profile and build image for EnGenius EPG5000.
Backport of r46049.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46448 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: ar71xx: add user-space support for EnGenius EPG5000.
blogic [Fri, 24 Jul 2015 08:58:33 +0000 (08:58 +0000)]
CC: ar71xx: add user-space support for EnGenius EPG5000.
Backport of r46048.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46447 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoCC: ar71xx: add kernel support for EnGenius EPG5000.
blogic [Fri, 24 Jul 2015 08:58:27 +0000 (08:58 +0000)]
CC: ar71xx: add kernel support for EnGenius EPG5000.
Backport of r46047.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46446 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agov3: CC : ar71xx: Backport Support for the Bitmain Antminer S3
blogic [Fri, 24 Jul 2015 08:58:20 +0000 (08:58 +0000)]
v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3

Backport of r46236 to CC : add support for the Bitmain Antminer S3

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for the devolo dLAN pro 1200+ WiFi ac
blogic [Fri, 24 Jul 2015 08:58:12 +0000 (08:58 +0000)]
ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

Backport of r46342

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46444 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: make ath10k firmware v2 selectable
blogic [Fri, 24 Jul 2015 08:58:07 +0000 (08:58 +0000)]
mac80211: make ath10k firmware v2 selectable

Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Backport of r46340

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for the devolo dLAN pro 500 Wireless+
blogic [Fri, 24 Jul 2015 08:58:03 +0000 (08:58 +0000)]
ar71xx: add support for the devolo dLAN pro 500 Wireless+

Backport of r46338

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46442 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: add Device Tree based board detection
florian [Sat, 18 Jul 2015 22:36:18 +0000 (22:36 +0000)]
at91: add Device Tree based board detection

Set up eth0 as LAN interface by default.

Backport of r46174

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

8 years agoat91: sama5d3: enable USB2 by default
florian [Sat, 18 Jul 2015 22:35:36 +0000 (22:35 +0000)]
at91: sama5d3: enable USB2 by default

Backport of r46173

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

8 years agokernel: fix OHCI and EHCI modules for AT91
florian [Sat, 18 Jul 2015 22:34:58 +0000 (22:34 +0000)]
kernel: fix OHCI and EHCI modules for AT91

We were not copying the additional files needed to get USB to work on
the AT91 platforms, make sure we do this.

Backport of r46172

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

8 years agoat91: enable Micrel PHY driver
florian [Sat, 18 Jul 2015 22:33:08 +0000 (22:33 +0000)]
at91: enable Micrel PHY driver

The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

Backport of r46171

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

8 years agomt76: backport rx buffer allocation fix from r46409
nbd [Sat, 18 Jul 2015 16:56:28 +0000 (16:56 +0000)]
mt76: backport rx buffer allocation fix from r46409

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

8 years agoramips: enable mt76 by default for mt7621
nbd [Sat, 18 Jul 2015 16:56:25 +0000 (16:56 +0000)]
ramips: enable mt76 by default for mt7621

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

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

8 years agoCC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
jow [Fri, 17 Jul 2015 11:37:47 +0000 (11:37 +0000)]
CC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46394

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

8 years agoubox: update to latest git HEAD
rmilecki [Tue, 14 Jul 2015 10:32:51 +0000 (10:32 +0000)]
ubox: update to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
This adds support for filtering messages
Backport of r46356

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