openwrt.git
8 years agoar8216: add ARL table flushing per port
nbd [Wed, 15 Jul 2015 08:17:28 +0000 (08:17 +0000)]
ar8216: add ARL table flushing per port

Adds functions for flushing ARL table entries per port.

Successfully tested on AR8327. Implementation for AR8216/AR8236/AR8316
is based on the AR8236 datasheet and assumes that the three chips
share a common ATU register layout.
Compile-tested only for AR8216/AR8236/AR8316.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46380 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar8216: add reading ARL table for AR8216/AR8236/AR8316
nbd [Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)]
ar8216: add reading ARL table for AR8216/AR8236/AR8316

Adds the chip-specific part of reading ARL table for AR8216/AR8236/AR8316.

It's based on the AR8236 datasheet and compile-tested only as I couldn't
find datasheets for AR8216/AR8316 and don't own devices with these chips.

The existing ar8216_atu_flush implementation was used for all three
chip types, therefore I guess they share a common ATU register layout.

More testing would be appreciated.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46379 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/e2fsprogs: add a darwin-compat patch
nbd [Wed, 15 Jul 2015 08:16:40 +0000 (08:16 +0000)]
tools/e2fsprogs: add a darwin-compat patch

On darwin we need to import stdint to get these integer typedefs.

Patch by: Lawrence D'Anna <larry@elder-gods.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46378 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agowpa-supplicant: add 802.11r client support
nbd [Wed, 15 Jul 2015 08:16:22 +0000 (08:16 +0000)]
wpa-supplicant: add 802.11r client support

Add 802.11r client support to wpa_supplicant. It's only enabled in
wpa_supplicant-full. hostapd gained 802.11r support in commit r45051.

Tested on a TP-Link TL-WR710N sta psk client with two 802.11r enabled
openwrt accesspoints (TP-Link TL-WDR3600).

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46377 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: also unify router and DNS lifetimes
cyrus [Wed, 15 Jul 2015 07:38:54 +0000 (07:38 +0000)]
odhcpd: also unify router and DNS lifetimes

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

8 years agoodhcpd: fix RA lifetime calculation
cyrus [Wed, 15 Jul 2015 06:57:43 +0000 (06:57 +0000)]
odhcpd: fix RA lifetime calculation

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

8 years agoscripts/feeds: return error status from feed update
jow [Tue, 14 Jul 2015 22:27:39 +0000 (22:27 +0000)]
scripts/feeds: return error status from feed update

This patch is a modified version of the patch being discussed at here:
https://patchwork.ozlabs.org/patch/471303/
from Martin Strbacka <martin.strbacka@nic.cz>

My version modifies scripts/feeds so that an error with one of the feeds just
raises the error flag, but script continues and tries to update the other
feeds. After all feeds have been updated, the script returns 1 if at least
one feed failed, and 0 on success with all feeds. The user can then utilise
the status in his build script, if he wants.

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

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

8 years agorobocfg: remove robocfg
hauke [Tue, 14 Jul 2015 20:56:04 +0000 (20:56 +0000)]
robocfg: remove robocfg

This controls the old Broadcom switch driver which was removed over a
year ago, since then this is useless. Use swconfig instead it works
with more (Broadcom) switches.

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

8 years agoadm5120: do not config something as module
hauke [Tue, 14 Jul 2015 20:52:18 +0000 (20:52 +0000)]
adm5120: do not config something as module

All modules should be build by a package and only selected by such a
package. Remove all the config options selected as module and also
refresh the config.

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

8 years agoadmswconfig: fix compile with musl
hauke [Tue, 14 Jul 2015 20:51:37 +0000 (20:51 +0000)]
admswconfig: fix compile with musl

caddr_t is not defined everywhere any more, cast it the the real
pointer type of ifr_data.

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

8 years agoodhcpd: use 65535s as default lifetime and make interval configurable
cyrus [Tue, 14 Jul 2015 20:10:46 +0000 (20:10 +0000)]
odhcpd: use 65535s as default lifetime and make interval configurable

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

8 years agobcm53xx: fix usb3 build with kernel 4.1
hauke [Tue, 14 Jul 2015 18:51:23 +0000 (18:51 +0000)]
bcm53xx: fix usb3 build with kernel 4.1

One argument was removed with kernel 4.1 from xhci_handshake() which
caused a compile error.

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

8 years agolinux: enable kmod-acpi-button for x86_64 (#20080)
jow [Tue, 14 Jul 2015 17:23:56 +0000 (17:23 +0000)]
linux: enable kmod-acpi-button for x86_64 (#20080)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46368 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: partially revert r46347 to fix sysupgrade
blogic [Tue, 14 Jul 2015 16:24:10 +0000 (16:24 +0000)]
brcm2708: partially revert r46347 to fix sysupgrade

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

8 years agox86: add kmod-acpi-button and kmod-button-hotplug to default packages
blogic [Tue, 14 Jul 2015 16:24:02 +0000 (16:24 +0000)]
x86: add kmod-acpi-button and kmod-button-hotplug to default packages

Since r40909 openwrt can automatically shutdown when you press the
power button or try to shutdown a kvm virtual machine.
When booting a recent CC-rc2 or trunk image, it doesn't work,
as two kernel modules are missing.

Add these two kernel modules to the default packages, so users
don't need to install them manually.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46366 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoccache: Make ccache aware of OpenWRT provided GCC patch.
nbd [Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)]
ccache: Make ccache aware of OpenWRT provided GCC patch.

The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option
to gcc that depends on an environment variable. Standard ccache
is unaware of this option and therefor can produce stdout from gcc
that doesn't correspond to what you would get if you actually
do a direct compilation with gcc.

This commit adds a patch to ccache to make it aware of the new
option and removes the feature from the ccache package to use the
host system's installed ccache binary.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46364 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add early support for Netgear R7000
rmilecki [Tue, 14 Jul 2015 10:25:46 +0000 (10:25 +0000)]
bcm53xx: add early support for Netgear R7000

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

8 years agoscripts: fix 64bit uclibc external toolchain detection
blogic [Tue, 14 Jul 2015 09:57:52 +0000 (09:57 +0000)]
scripts: fix 64bit uclibc external toolchain detection

according to gcc, UCLIBC_DYNAMIC_LINKER64

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46362 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: Prevent more gzip timestamps
blogic [Tue, 14 Jul 2015 09:57:45 +0000 (09:57 +0000)]
build: Prevent more gzip timestamps

To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipkg-build: use deterministic timestamps in ipk tarballs
blogic [Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)]
ipkg-build: use deterministic timestamps in ipk tarballs

As a follow-up to r46026, this commit sets the modification
times of files inside the tarballs to deterministic values.
It uses the date of the last git or svn commit and falls
back to the old behavior if those are not available.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46360 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: added gpio spi refclk support for wrtnode board
blogic [Tue, 14 Jul 2015 09:57:08 +0000 (09:57 +0000)]
ramips: added gpio spi refclk support for wrtnode board

This syncs the dts file with the one provided by the wrtnode team:
https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46359 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: Split libsw out of swconfig for reuse in other packages
blogic [Tue, 14 Jul 2015 09:56:59 +0000 (09:56 +0000)]
swconfig: Split libsw out of swconfig for reuse in other packages

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46358 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: unsolicited unicast RAs + fix NDP-relay
cyrus [Tue, 14 Jul 2015 09:12:29 +0000 (09:12 +0000)]
odhcpd: unsolicited unicast RAs + fix NDP-relay

odhcpd now sends unsolicited RAs also via unicast to known link-local
neighbors. This is an attempt to work-around common smartphone issues
https://code.google.com/p/android/issues/detail?id=32662

Also NDP-relay should now work more reliably now

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

8 years agoubox: update to latest git HEAD
blogic [Tue, 14 Jul 2015 07:44:14 +0000 (07:44 +0000)]
ubox: update to latest git HEAD

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

8 years agotoolchain: fix gcc 4.6 build with gcc5
blogic [Tue, 14 Jul 2015 07:43:50 +0000 (07:43 +0000)]
toolchain: fix gcc 4.6 build with gcc5

build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux

affected versions gcc 4.6, gcc 4.7

reported & fixed in DragonFlyBSD issue #136
https://github.com/DragonFlyBSD/DPorts/issues/136

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: switch to 4.1
blogic [Tue, 14 Jul 2015 07:43:33 +0000 (07:43 +0000)]
gemini: switch to 4.1

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46354 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: add 4.1 support
blogic [Tue, 14 Jul 2015 07:43:10 +0000 (07:43 +0000)]
gemini: add 4.1 support

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46353 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: add NAS packages to Raidsonic profile
blogic [Tue, 14 Jul 2015 07:42:18 +0000 (07:42 +0000)]
gemini: add NAS packages to Raidsonic profile

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46352 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: copy kernel image to BIN_DIR
blogic [Tue, 14 Jul 2015 07:41:43 +0000 (07:41 +0000)]
gemini: copy kernel image to BIN_DIR

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46351 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: added led support for wrtnode board
blogic [Tue, 14 Jul 2015 07:41:19 +0000 (07:41 +0000)]
ramips: added led support for wrtnode board

This syncs the dts file with the one provided by the wrtnode team:
https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46350 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: adding support for OY-0001 Wireless Router
blogic [Tue, 14 Jul 2015 07:40:22 +0000 (07:40 +0000)]
ramips: adding support for OY-0001 Wireless Router

Adding support for OY-0001 Wireless Router.
OY-0001 is a wireless router made by oyewifi.com. Below is the details:
MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN.

Signed-off-by: Tom Deng <2579131212@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46349 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7620 ArcherC20i USB support
blogic [Tue, 14 Jul 2015 07:39:19 +0000 (07:39 +0000)]
ramips: mt7620 ArcherC20i USB support

USB port of TP-Link Archer C20i does not work with trunk and CC.
This patch adds two nodes (ehci and ohci) to the device tree enabling USB.

Signed-off-by: Gunnar Thorburn <gunnar@thorburn.se>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46348 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: Implement sysupgrade
blogic [Tue, 14 Jul 2015 07:39:10 +0000 (07:39 +0000)]
brcm2708: Implement sysupgrade

Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86:
The config files are saved in the boot partition and moved to where they are
normally expected in preinit.

Also add optional gzip compression for the SD card image, since this can save
a lot of space (76M vs 6M), also similar to x86.

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

8 years agokernel: fix build with CONFIG_MTD unset
blogic [Tue, 14 Jul 2015 07:38:47 +0000 (07:38 +0000)]
kernel: fix build with CONFIG_MTD unset

Fixed typo in the patch provided by Hauke:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-July/034274.html

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

8 years agogeneric: add missing symbol
blogic [Tue, 14 Jul 2015 07:38:33 +0000 (07:38 +0000)]
generic: add missing symbol

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

8 years agobrcm2708: add DT support
blogic [Tue, 14 Jul 2015 07:37:29 +0000 (07:37 +0000)]
brcm2708: add DT support

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

8 years agobrcm2708-gpu-fw: update to latest version
blogic [Tue, 14 Jul 2015 07:37:14 +0000 (07:37 +0000)]
brcm2708-gpu-fw: update to latest version

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

8 years agoar71xx: add support for the devolo dLAN pro 1200+ WiFi ac
blogic [Tue, 14 Jul 2015 07:37:03 +0000 (07:37 +0000)]
ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

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

8 years agobase-files: added option to configure the gpio led trigger in uci-defaults
blogic [Tue, 14 Jul 2015 07:35:59 +0000 (07:35 +0000)]
base-files: added option to configure the gpio led trigger in uci-defaults

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

8 years agomac80211: make ath10k firmware v2 selectable
blogic [Tue, 14 Jul 2015 07:35:45 +0000 (07:35 +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.

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

8 years agoar71xx: add support to use gpio irqs
blogic [Tue, 14 Jul 2015 07:34:31 +0000 (07:34 +0000)]
ar71xx: add support to use gpio irqs

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

8 years agoar71xx: add support for the devolo dLAN pro 500 Wireless+
blogic [Tue, 14 Jul 2015 07:32:33 +0000 (07:32 +0000)]
ar71xx: add support for the devolo dLAN pro 500 Wireless+

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

8 years agoodhcp6c: fix some more compatibility issues
cyrus [Mon, 13 Jul 2015 21:51:38 +0000 (21:51 +0000)]
odhcp6c: fix some more compatibility issues

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

8 years agoodhcp6c: work-around more ISP DHCPv6-PD issues
cyrus [Mon, 13 Jul 2015 14:17:38 +0000 (14:17 +0000)]
odhcp6c: work-around more ISP DHCPv6-PD issues

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

8 years agox86: Make virtualization guests built for pentium4 with SMP
hauke [Sun, 12 Jul 2015 19:26:48 +0000 (19:26 +0000)]
x86: Make virtualization guests built for pentium4 with SMP

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

8 years agogcc: use the -sf suffix for musl ldso on powerpc
nbd [Sun, 12 Jul 2015 18:54:30 +0000 (18:54 +0000)]
gcc: use the -sf suffix for musl ldso on powerpc

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

8 years agokernel: refresh patches on linux 3.18
hauke [Sun, 12 Jul 2015 13:47:16 +0000 (13:47 +0000)]
kernel: refresh patches on linux 3.18

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

8 years agosunxi: enable CONFIG_EXPERT
hauke [Sun, 12 Jul 2015 12:14:02 +0000 (12:14 +0000)]
sunxi: enable CONFIG_EXPERT

- only sunxi has this disabled
- unify kernel configuration across platforms

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46307 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7-atm: fix compilation for 4.1
jogo [Sun, 12 Jul 2015 11:57:40 +0000 (11:57 +0000)]
ar7-atm: fix compilation for 4.1

Add the required changes to make it compile for 4.1 again.

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

8 years agoacx-mac80211: make it compile again against new compat-wireless
jogo [Sun, 12 Jul 2015 11:57:04 +0000 (11:57 +0000)]
acx-mac80211: make it compile again against new compat-wireless

Update to "latest" HEAD and update it to match latest API changes.

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

8 years agokernel: add missing config option
hauke [Sun, 12 Jul 2015 10:51:28 +0000 (10:51 +0000)]
kernel: add missing config option

This should fix build of sunxi.

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

8 years agomvebu: make patches apply against 3.18.18 again
hauke [Sun, 12 Jul 2015 10:38:54 +0000 (10:38 +0000)]
mvebu: make patches apply against 3.18.18 again

commit r46299 broke the mvebu target because one patch does not apply
any more. This commit closes #20070.

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

8 years agovalgrind: update to 3.10.1 and fix kernel >= 4.0
hauke [Sat, 11 Jul 2015 20:55:36 +0000 (20:55 +0000)]
valgrind: update to 3.10.1 and fix kernel >= 4.0

This updates valgrind to version 3.10.1 and make configure work with
kernel version > 4.0. This patch was taken from upstream valgrind.

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

8 years agokernel: update 4.1 to 4.1.2
hauke [Sat, 11 Jul 2015 19:59:26 +0000 (19:59 +0000)]
kernel: update 4.1 to 4.1.2

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.2

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

8 years agokernel: update 4.0 to 4.0.8
hauke [Sat, 11 Jul 2015 19:59:05 +0000 (19:59 +0000)]
kernel: update 4.0 to 4.0.8

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.8

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

8 years agokernel: update 3.18 to 3.18.18
hauke [Sat, 11 Jul 2015 19:58:44 +0000 (19:58 +0000)]
kernel: update 3.18 to 3.18.18

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18

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

8 years agotoolchain/gdb: use expat library to be able to parse target machine definitions
nbd [Fri, 10 Jul 2015 19:42:12 +0000 (19:42 +0000)]
toolchain/gdb: use expat library to be able to parse target machine definitions

Fixes gdbserver debugging with at least mvebu, possibly others

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

8 years agotools: add expat library (to be used by gdb)
nbd [Fri, 10 Jul 2015 19:42:05 +0000 (19:42 +0000)]
tools: add expat library (to be used by gdb)

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

8 years agotoolchain/gdb: update to 7.8, sync with target package version
nbd [Fri, 10 Jul 2015 19:42:00 +0000 (19:42 +0000)]
toolchain/gdb: update to 7.8, sync with target package version

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

8 years agoramips: collect rx related members to fe_rx_ring struct
nbd [Fri, 10 Jul 2015 19:41:48 +0000 (19:41 +0000)]
ramips: collect rx related members to fe_rx_ring struct

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46295 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add xmit_more support
nbd [Fri, 10 Jul 2015 19:41:42 +0000 (19:41 +0000)]
ramips: add xmit_more support

use pktgen to verify on rt3662. can improve transmit rate.
pkt_size 1500
burst 1 : 807Mb/sec
burst 8 : 984Mb/sec

pkt_size 60
burst 1 : 57Mb/sec
burst 8 : 236Mb/sec

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46294 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoebtables: fix miscompilation on 64bit targets
nbd [Fri, 10 Jul 2015 11:36:49 +0000 (11:36 +0000)]
ebtables: fix miscompilation on 64bit targets

The musl build "fix" introduced in r45108 removed all netinet/ether.h
includes, which made the prototypes of ether_aton and ether_ntoa
unavailable. As a result, the compiler assumed they return int instead
of a pointer. This currupted the pointer on 64bit targets, causing ebtables
to segfault in commands containing MAC addresses.

Since r46161 made it possible to include both the kernel and the libc
if_ether.h as long as the libc version is included first, this patch
changes the fix to remove the linux/if_ether.h from the ebtables source
(so the fixed version from the kernel is used) and ensures netinet/ether.h
is included early.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46292 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add brcmfmac patch fixing user space picked MACs
rmilecki [Thu, 9 Jul 2015 18:03:39 +0000 (18:03 +0000)]
mac80211: add brcmfmac patch fixing user space picked MACs

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

8 years agoopenssl: update to v1.0.2d (CVE-2015-1793)
jow [Thu, 9 Jul 2015 13:04:27 +0000 (13:04 +0000)]
openssl: update to v1.0.2d (CVE-2015-1793)

During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46285 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: compex wpe72 add space to include statement
blogic [Thu, 9 Jul 2015 07:04:14 +0000 (07:04 +0000)]
ar71xx: compex wpe72 add space to include statement

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46284 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: compex wpj531 register usb support
blogic [Thu, 9 Jul 2015 07:03:54 +0000 (07:03 +0000)]
ar71xx: compex wpj531 register usb support

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46283 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: compex wpj531 fix setting mac address on ethernet
blogic [Thu, 9 Jul 2015 07:01:55 +0000 (07:01 +0000)]
ar71xx: compex wpj531 fix setting mac address on ethernet

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46282 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: compex wpj531 fix ethernet registration
blogic [Thu, 9 Jul 2015 06:59:18 +0000 (06:59 +0000)]
ar71xx: compex wpj531 fix ethernet registration

In fb6f62e97733312053ab593fcf68eea47a21169e several settings
are set on the ethernet device, but they are not working.

Fix Ethernet by setting the right values.

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46281 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ag71xx remove IRQF_DISABLED
blogic [Thu, 9 Jul 2015 06:57:39 +0000 (06:57 +0000)]
ar71xx: ag71xx remove IRQF_DISABLED

no-op since 2.6.35
removed in Kernel 4.1
see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46280 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agompc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1
blogic [Thu, 9 Jul 2015 06:56:45 +0000 (06:56 +0000)]
mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1

This patch adds the RFKill GPIO control switch and enables another GPIO to
control power supply to USB Ports by emulating an LED GPIO for WDR4900v1.

Signed-off-by: Guo Wei Lim <alphasparc@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46279 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: try to workaround some brcmfmac bug with handling interfaces
rmilecki [Thu, 9 Jul 2015 06:09:50 +0000 (06:09 +0000)]
mac80211: try to workaround some brcmfmac bug with handling interfaces

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

8 years agokernel: modules: activate wpan on kernel 4.1
hauke [Wed, 8 Jul 2015 20:43:23 +0000 (20:43 +0000)]
kernel: modules: activate wpan on kernel 4.1

Make wpan depend on not kernel 3.18 so it will get activated on all
other kernel versions like 4.0 and 4.1.

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

8 years agoswconfig: swlib.c: Fix another memleak
nbd [Wed, 8 Jul 2015 15:59:38 +0000 (15:59 +0000)]
swconfig: swlib.c: Fix another memleak

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46275 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix board name ordering
blogic [Wed, 8 Jul 2015 14:26:18 +0000 (14:26 +0000)]
ar71xx: fix board name ordering

r46248 added case statements in the same places

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

8 years agofstools: fstab.init fix spelling
blogic [Wed, 8 Jul 2015 14:26:12 +0000 (14:26 +0000)]
fstools: fstab.init fix spelling

fix a very minor typo in warning message

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46273 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocomgt: make ncm proto work via wwan proto
blogic [Wed, 8 Jul 2015 14:26:04 +0000 (14:26 +0000)]
comgt: make ncm proto work via wwan proto

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

8 years agobase-files: implemented basic GPIO control
blogic [Wed, 8 Jul 2015 14:25:52 +0000 (14:25 +0000)]
base-files: implemented basic GPIO control

Internal GPIO pins are used for PoE passthrough setups in multi-port
routers. This patch implemnets control over this hardware feature for
Ubiquiti Nanostations and TP-Link CPE510.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46271 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.
blogic [Wed, 8 Jul 2015 14:25:45 +0000 (14:25 +0000)]
ar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.

wlan5g is phy0tpt and wlan2g phy1tpt.

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

8 years agomalta: add harddisk support
blogic [Wed, 8 Jul 2015 14:25:36 +0000 (14:25 +0000)]
malta: add harddisk support

works with:
qemu-system-mipsel -M malta \
-hda openwrt-malta-le-root.ext4 \
-kernel openwrt-malta-le-vmlinux.elf \
-nographic -append "root=/dev/sda console=ttyS0"

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46269 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agompc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)
nbd [Wed, 8 Jul 2015 12:06:16 +0000 (12:06 +0000)]
mpc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)

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

8 years agomusl: add powerpc soft-float support
nbd [Wed, 8 Jul 2015 12:06:03 +0000 (12:06 +0000)]
musl: add powerpc soft-float support

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

8 years agomusl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail
nbd [Wed, 8 Jul 2015 12:05:55 +0000 (12:05 +0000)]
musl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail

Fixes relocation errors on PowerPC

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

8 years agokernel: add missing config symbol (fixes #19880)
nbd [Wed, 8 Jul 2015 08:20:44 +0000 (08:20 +0000)]
kernel: add missing config symbol (fixes #19880)

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

8 years agokernel: add missing 4.1 config symbol
nbd [Wed, 8 Jul 2015 08:20:38 +0000 (08:20 +0000)]
kernel: add missing 4.1 config symbol

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

8 years agonvram: get rid of NVRAM_SPACE
rmilecki [Wed, 8 Jul 2015 06:05:43 +0000 (06:05 +0000)]
nvram: get rid of NVRAM_SPACE

Now we support NVRAM whatever its size is.

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

8 years agonvram: fix displayed info about NVRAM size
rmilecki [Wed, 8 Jul 2015 05:42:30 +0000 (05:42 +0000)]
nvram: fix displayed info about NVRAM size

Use actual partition size and content offset to calculate it.

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

8 years agoRevert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)
nbd [Tue, 7 Jul 2015 22:44:28 +0000 (22:44 +0000)]
Revert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)

It breaks the build

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

8 years agoscripts/feeds: print the source of packages installed
cyrus [Tue, 7 Jul 2015 22:32:38 +0000 (22:32 +0000)]
scripts/feeds: print the source of packages installed

Can be helpful in diagnosing unexpected package overlaps between
feeds/core.

Signed-off-by: Karl Palsson <karlp@remake.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46255 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: fix compile error after mac80211 update
nbd [Tue, 7 Jul 2015 22:07:22 +0000 (22:07 +0000)]
mwlwifi: fix compile error after mac80211 update

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

8 years agoRevert "Revert "nvram: increase NVRAM size to 64 KiB""
rmilecki [Tue, 7 Jul 2015 22:06:04 +0000 (22:06 +0000)]
Revert "Revert "nvram: increase NVRAM size to 64 KiB""

This reverts commit r45579.

With the latest change r46251 ("nvram: fix "Segmentation fault" caused
by setting memory out of buffer") nvram utility shouldn't crash anymore.

It was tested on 3 brcm47xx devices:
1) Unknown with 0x10000 NVRAM size (0x8000 offset)
2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)

And 3 bcm53xx devices:
1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
3) Netgear R6250 V1 with 0x180000 NVRAM size
(all using 0 offset)

This is an important change as it allows reading whole NVRAM. This may
critical when reading some basic configuration (e.g. switch ports).

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

8 years agonvram: fix "Segmentation fault" caused by setting memory out of buffer
rmilecki [Tue, 7 Jul 2015 21:21:49 +0000 (21:21 +0000)]
nvram: fix "Segmentation fault" caused by setting memory out of buffer

Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

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

8 years agoar71xx: Add support for Cisco-Linksys WAP4410N
blogic [Tue, 7 Jul 2015 18:06:39 +0000 (18:06 +0000)]
ar71xx: Add support for Cisco-Linksys WAP4410N

This patch adds support for the Cisco WAP4410N, an access point that uses the
AR9132 SoC. Web upgrades from stock are not yet possible, UART access required
for the initial flash.

Signed-off-by: Ryan A Young <rayoung@utexas.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46250 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogdb: fix compilation for x86_64 with musl
cyrus [Tue, 7 Jul 2015 17:30:08 +0000 (17:30 +0000)]
gdb: fix compilation for x86_64 with musl

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

8 years agoar71xx: add support for D-Link DIR-615 rev. Ix board
blogic [Tue, 7 Jul 2015 13:48:39 +0000 (13:48 +0000)]
ar71xx: add support for D-Link DIR-615 rev. Ix board

Based on trunk r46212.

Signed-off-by: Jaehoon You <teslamint@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46248 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomips: Free memory when load_module fails (#14453)
blogic [Tue, 7 Jul 2015 13:48:27 +0000 (13:48 +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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46247 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: bump to latest git HEAD
blogic [Tue, 7 Jul 2015 13:48:17 +0000 (13:48 +0000)]
ubus: bump to latest git HEAD

fixes a bug where gid was checked twice instead of the uid/gid combo

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

8 years agomac80211: Drop ath10k workaround for providing calibration data
blogic [Tue, 7 Jul 2015 13:48:06 +0000 (13:48 +0000)]
mac80211: Drop ath10k workaround for providing calibration data

Ath10k has now a proper method of providing calibration data via
the kernel firmware API. This patch can be dropped as all boards
now use the proper method.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46245 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Unify ath10k calibration data loading
blogic [Tue, 7 Jul 2015 13:47:57 +0000 (13:47 +0000)]
ar71xx: Unify ath10k calibration data loading

Currently one board uses the "proper" way of providing firmware
with the name ath10k/cal-pci-<pci address>.bin, whereas other
boards patch board.bin template in preinit and rely on a custom
ath10k patch to use calibration data from the template.

This patch makes all boards use the first method.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46244 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: ath9k: fix qca956x name also
blogic [Tue, 7 Jul 2015 13:47:51 +0000 (13:47 +0000)]
mac80211: ath9k: fix qca956x name also

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46243 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: move wpan to separate menu
blogic [Tue, 7 Jul 2015 13:47:45 +0000 (13:47 +0000)]
kernel: move wpan to separate menu

bluetooth is separate from 802.11 entries too

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46242 3c298f89-4303-0410-b956-a3cf2f4a3e73