openwrt/staging/zorun.git
9 years agoramips: use gic timer as clocksource for mt7621
John Crispin [Sat, 12 Dec 2015 06:42:05 +0000 (06:42 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47875

9 years agoar71xx: reorganize target patches/files to make it possible to add boards without...
Felix Fietkau [Fri, 11 Dec 2015 21:12:14 +0000 (21:12 +0000)]
ar71xx: reorganize target patches/files to make it possible to add boards without adding patch files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47874

9 years agoar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use...
Felix Fietkau [Fri, 11 Dec 2015 21:12:04 +0000 (21:12 +0000)]
ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47873

9 years agoRevert "ramips: use gic timer as clocksource for mt7621"
Felix Fietkau [Fri, 11 Dec 2015 19:22:15 +0000 (19:22 +0000)]
Revert "ramips: use gic timer as clocksource for mt7621"

This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7.

SVN-Revision: 47872

9 years agoar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address
Felix Fietkau [Fri, 11 Dec 2015 19:21:59 +0000 (19:21 +0000)]
ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47871

9 years agokernel: crypto-aead depends on crypto-null in 4.3 as well
Felix Fietkau [Fri, 11 Dec 2015 19:21:49 +0000 (19:21 +0000)]
kernel: crypto-aead depends on crypto-null in 4.3 as well

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47870

9 years agotools/squashfs4: refresh patches
Felix Fietkau [Fri, 11 Dec 2015 19:21:43 +0000 (19:21 +0000)]
tools/squashfs4: refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47869

9 years agobuild: for refresh, override HOST_QUILT like QUILT
Felix Fietkau [Fri, 11 Dec 2015 19:21:29 +0000 (19:21 +0000)]
build: for refresh, override HOST_QUILT like QUILT

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47868

9 years agoall: drop old uci-defaults.sh
Jo-Philipp Wich [Fri, 11 Dec 2015 15:26:06 +0000 (15:26 +0000)]
all: drop old uci-defaults.sh

Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47867

9 years agobrcm47xx: migrate network config to board detection framework
Jo-Philipp Wich [Fri, 11 Dec 2015 15:19:43 +0000 (15:19 +0000)]
brcm47xx: migrate network config to board detection framework

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47866

9 years agofirmware-utils: fix various compiler warnings
John Crispin [Fri, 11 Dec 2015 15:09:30 +0000 (15:09 +0000)]
firmware-utils: fix various compiler warnings

mostly implicit defines due to missing includes plus one const that
shouldn't be one.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47865

9 years agomktplinkfw: add missing exceeding bytes info to logs
John Crispin [Fri, 11 Dec 2015 15:08:44 +0000 (15:08 +0000)]
mktplinkfw: add missing exceeding bytes info to logs

Add the info on exceeding bytes also to the remaining log messages.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47864

9 years agouboot-lantiq: fix build with gcc5
John Crispin [Fri, 11 Dec 2015 15:08:34 +0000 (15:08 +0000)]
uboot-lantiq: fix build with gcc5

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47863

9 years agoprocd: update procd.sh to support new ujail options
John Crispin [Fri, 11 Dec 2015 15:08:19 +0000 (15:08 +0000)]
procd: update procd.sh to support new ujail options

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47862

9 years agoprocd: bump to latest git HEAD
John Crispin [Fri, 11 Dec 2015 15:08:05 +0000 (15:08 +0000)]
procd: bump to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47861

9 years agoOpenSSL: Added source/old to PKG_SOURCE_URL
John Crispin [Fri, 11 Dec 2015 15:07:40 +0000 (15:07 +0000)]
OpenSSL: Added source/old to PKG_SOURCE_URL

OpenSSL moves old versions of the library from
http://www.openssl.org/source/ to
http://www.openssl.org/source/old/$version/ breaking the old links.
That behavior breaks the OpenWRT-build every time OpenSSL releases
a new version.

This patch adds http://www.openssl.org/source/old/$version/ to the
PKG_SOURCE_URL of OpenSSL to avoid breaking the build whenever
OpenSSL releases a new version.

Signed-off-by: Kevin Kirsch <ranlvor@starletp9.de>
Reviewed-by: Alexander Dahl <post@lespocky.de>
SVN-Revision: 47860

9 years agotools/squashfs: refresh patches
John Crispin [Fri, 11 Dec 2015 15:07:28 +0000 (15:07 +0000)]
tools/squashfs: refresh patches

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47859

9 years agotools/squashfs: add argument -fixed-time to set all timestamps
John Crispin [Fri, 11 Dec 2015 15:07:15 +0000 (15:07 +0000)]
tools/squashfs: add argument -fixed-time to set all timestamps

-fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp.
Reproducible builds requires the removal of all timestamp or setting all to a specific one.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47858

9 years agodnsmasq: Add option "--all-servers"
John Crispin [Fri, 11 Dec 2015 15:06:59 +0000 (15:06 +0000)]
dnsmasq: Add option "--all-servers"

Add the option "--all-servers" which forces dnsmasq to send all
queries to all servers and then take the first answer.

Signed-off-by: Andréas Gustafsson <gurgalof@gmail.com>
SVN-Revision: 47857

9 years agofirmware-utils mkmerakifw: firmware generator for MR18
John Crispin [Fri, 11 Dec 2015 15:06:45 +0000 (15:06 +0000)]
firmware-utils mkmerakifw: firmware generator for MR18

This patch adds firmware generation tool for Cisco's MR18

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
SVN-Revision: 47856

9 years agobase-file: remove /tmp/.jail (now useless)
John Crispin [Fri, 11 Dec 2015 15:06:31 +0000 (15:06 +0000)]
base-file: remove /tmp/.jail (now useless)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47855

9 years agobase-files: use max_brightness to set LED
John Crispin [Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)]
base-files: use max_brightness to set LED

LEDs which are controlled by a PWM need to use the supplied
max_brightness instead. Otherwise they might appear to be
very dim / broken.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47854

9 years agoncurses: Fix build of libncursew
John Crispin [Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)]
ncurses: Fix build of libncursew

Packages using libncursesw can fail to build if both libncurses and libncursesw
are not installed. Currently the ncurses.h file is installed in "usr/include/ncursesw"
directory and includes other .h files in the "usr/include" directory incorrectly.
For example: Including <ncursesw/ncurses.h> fails due to these references. These build
changes will set the correct include paths within the developer includes.

Packages that expect ncurses.h (or curses.h) in the default "usr/include" path fail
even when expecting to build with libncursesw and will need to be fixed as well. However,
they cannot be fixed until this patch is applied.

Signed-off-by: Ted Hess <thess@kitschensync.net>
SVN-Revision: 47853

9 years agokernel: Add dummy sound driver
John Crispin [Fri, 11 Dec 2015 15:05:53 +0000 (15:05 +0000)]
kernel: Add dummy sound driver

Useful when using sound players that can send to icecast, etc. without any sound device attached.

Signed-off-by: Ted Hess <thess@kitschensync.net>
SVN-Revision: 47852

9 years agolantiq: get rid of ltq-vdsl-fw
John Crispin [Fri, 11 Dec 2015 15:05:40 +0000 (15:05 +0000)]
lantiq: get rid of ltq-vdsl-fw

Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47851

9 years agolantiq: fix led setup after switch to uci-defaults-new.sh
John Crispin [Fri, 11 Dec 2015 15:05:30 +0000 (15:05 +0000)]
lantiq: fix led setup after switch to uci-defaults-new.sh

The switch to uci-defaults-new.sh revealed a bug in the former used
uci-defaults.sh, which failed to add leds with colons in the led name.

This bug isn't any longer present in uci-defaults-new.sh and therefore
all via DT defined leds will be added to /etc/config/system with their initial
on/off state, regardless whether they are already added by the board specific
led mappings.

This results for a BTHOMEHUBV5A into the following led configuration:

- soc:blue:power is added as led_power with the initial state "switched on"
- soc:blue:power is added as led_soc_blue_power with the initial state "switched off"

With the final result of a switched off power led after boot.

The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47850

9 years agoar71xx: build image for TL-WR710N v2.1
John Crispin [Fri, 11 Dec 2015 15:05:20 +0000 (15:05 +0000)]
ar71xx: build image for TL-WR710N v2.1

This patch just extends target/linux/ar71xx/image/Makefile to build
images also for version 2.1 of TL-WR710N
patch against the latest git

Signed off by: Norbert Wegener <nw@wegener-net.de>

SVN-Revision: 47849

9 years agoar71xx: add LED driver NU801
John Crispin [Fri, 11 Dec 2015 15:04:57 +0000 (15:04 +0000)]
ar71xx: add LED driver NU801

The MR18 uses a 3-channel 16-bit PWM Constant Current Driver
for its status LED.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47848

9 years agoar71xx: Add support for Wallys DR344
John Crispin [Fri, 11 Dec 2015 15:04:47 +0000 (15:04 +0000)]
ar71xx: Add support for Wallys DR344

This patch is for Wallys DR344 support under OpenWRT

Signed-off-by: Philippe Duchein <wireless-dev@duchein.net>
SVN-Revision: 47847

9 years agoar71xx: image for AP121/16M
John Crispin [Fri, 11 Dec 2015 15:04:22 +0000 (15:04 +0000)]
ar71xx: image for AP121/16M

Build image for the AP121 reference board with 16MB flash.

Signed-off-by: Norbert Wegener <nw@wegener-net.de>
SVN-Revision: 47846

9 years agoramips: add additional support for MQmaker WiTi board
John Crispin [Fri, 11 Dec 2015 15:04:13 +0000 (15:04 +0000)]
ramips: add additional support for MQmaker WiTi board

The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram,
2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and
one 5 ghz antenna.

This is the 6th submission that adds support for XHCI in the device tree
file, along with switching the location of the 2 radio's and addition of
the kmod-i2c-mt7621 in the default packages of the profile.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
SVN-Revision: 47845

9 years agoramips: Fix support for PBR-M1 board
John Crispin [Fri, 11 Dec 2015 15:03:50 +0000 (15:03 +0000)]
ramips: Fix support for PBR-M1 board

The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it.

The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 47844

9 years agoramips: use gic timer as clocksource for mt7621
John Crispin [Fri, 11 Dec 2015 15:03:39 +0000 (15:03 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47843

9 years agoramips: enable CPS for mt7621
John Crispin [Fri, 11 Dec 2015 15:03:27 +0000 (15:03 +0000)]
ramips: enable CPS for mt7621

Enables CPS multiprocessing instead ob obsoleted CMP for mt7621.

This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx:
* iperf shows only 50Mbits on direct gigabit connection to desktop,
* ping times jump to 5-6ms to dorectly connected desktop
* /proc/interrupts shows spurious interrups (ERR)

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47842

9 years agoramips: irq handlers do not get irq in 4.3 kernel, update patches
John Crispin [Fri, 11 Dec 2015 15:03:16 +0000 (15:03 +0000)]
ramips: irq handlers do not get irq in 4.3 kernel, update patches

This resolves compilation warnings like this:
drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_probe':
drivers/gpio/gpio-mt7621.c:328:46: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type [-Wincompatible-pointer-types]
   irq_set_chained_handler(mediatek_gpio_irq, mediatek_gpio_irq_handler);

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47841

9 years agoramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values
John Crispin [Fri, 11 Dec 2015 15:03:08 +0000 (15:03 +0000)]
ramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values

Update CM_GCR_CPC_BASE_CPCBASE_{MSK,SHF} to match datasheet

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47840

9 years agoramips: fold gic patch into mt7621 support patch
John Crispin [Fri, 11 Dec 2015 15:02:55 +0000 (15:02 +0000)]
ramips: fold gic patch into mt7621 support patch

All gic patch was doing is removing code added by mt7621 support patch.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47839

9 years agoramips: backport series of patches that ensure GCRs of other CPUs are accessed properly
John Crispin [Fri, 11 Dec 2015 15:02:50 +0000 (15:02 +0000)]
ramips: backport series of patches that ensure GCRs of other CPUs are accessed properly

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47838

9 years agoramips: backport batch fixing illegal instruction when booting secodnary CPUs in...
John Crispin [Fri, 11 Dec 2015 15:02:36 +0000 (15:02 +0000)]
ramips: backport batch fixing illegal instruction when booting secodnary CPUs in CPS mode

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47837

9 years agoramips: mt7621: use symbolic names of gic interrupt settings
John Crispin [Fri, 11 Dec 2015 15:02:13 +0000 (15:02 +0000)]
ramips: mt7621: use symbolic names of gic interrupt settings

This also adds dts nodes for cpc and mc for documentation purposes

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47836

9 years agomvebu: drop support for old kernels
Imre Kaloz [Fri, 11 Dec 2015 13:38:21 +0000 (13:38 +0000)]
mvebu: drop support for old kernels

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47835

9 years agomvebu: armada-385-rd has been renamed to armada-388-rd upstream
Imre Kaloz [Fri, 11 Dec 2015 13:36:30 +0000 (13:36 +0000)]
mvebu: armada-385-rd has been renamed to armada-388-rd upstream

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47834

9 years agosunxi: fix Lamobo Banana Pi R1 detection
Jo-Philipp Wich [Fri, 11 Dec 2015 11:00:14 +0000 (11:00 +0000)]
sunxi: fix Lamobo Banana Pi R1 detection

Change the case switch to reflect the value used in the corresponding
device tree file.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47833

9 years agomvebu: update and fixup 4.4 patches
Imre Kaloz [Thu, 10 Dec 2015 20:53:02 +0000 (20:53 +0000)]
mvebu: update and fixup 4.4 patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47832

9 years agoralink: bump to the target to v4.3
John Crispin [Thu, 10 Dec 2015 19:06:32 +0000 (19:06 +0000)]
ralink: bump to the target to v4.3

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47831

9 years agobr2684ctl: add atm-bridge disabled option
Felix Fietkau [Thu, 10 Dec 2015 14:40:55 +0000 (14:40 +0000)]
br2684ctl: add atm-bridge disabled option

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47830

9 years agobr2684ctl: fix config reload trigger
Felix Fietkau [Thu, 10 Dec 2015 14:40:19 +0000 (14:40 +0000)]
br2684ctl: fix config reload trigger

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47829

9 years agonetifd: ifup-shellscript - fix wrong usage of 'local'
Felix Fietkau [Thu, 10 Dec 2015 12:53:30 +0000 (12:53 +0000)]
netifd: ifup-shellscript - fix wrong usage of 'local'

this error was not visible until recent bump to
busybox 1.24.1 stable which introduced a warning message
when keyword 'local' is not used with a shell-function.

this does not change behavior and is a cosmetic cleanup.
fixes the following output:

root@box:~ ifup <interface>
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 1: not in a function

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 47828

9 years agokernel/modules: fix crypto API RNG for >=4.2
Felix Fietkau [Thu, 10 Dec 2015 12:40:55 +0000 (12:40 +0000)]
kernel/modules: fix crypto API RNG for >=4.2

Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As
DRBG is not enabled, there is no crypto API RNG available when running
kernel 4.2 or later. Because of this, IPsec SAs fail to install. In
strongSwan, this results in a vague error that is difficult to debug:

received netlink error: No such file or directory (2)

Solve this by adding DRBG to the kmod-crypto-rng package. As enabling
DRBG in the kernel config also enables the Jitterentropy RNG, include it
in kmod-crypto-rng instead of having it in a separate package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47827

9 years agopopt: remove xgettext prereq check, it is not necessary
Felix Fietkau [Thu, 10 Dec 2015 12:40:19 +0000 (12:40 +0000)]
popt: remove xgettext prereq check, it is not necessary

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47826

9 years agoscripts/download.pl: cleanup GNOME source location definitions
Felix Fietkau [Thu, 10 Dec 2015 12:40:08 +0000 (12:40 +0000)]
scripts/download.pl: cleanup GNOME source location definitions

Cleanup the @GNOME source download location definitions:
* remove dead and stale mirrors
* adjust to changes at directory structure
* add one new working mirror

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47825

9 years agotools/mm-macros: update to 0.9.9
Felix Fietkau [Thu, 10 Dec 2015 12:39:51 +0000 (12:39 +0000)]
tools/mm-macros: update to 0.9.9

Update mm-macros (mm-common) to 0.9.9.
Switch to use the @GNOME source download location.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47824

9 years agobuild: fix arch used during dts compilation
Felix Fietkau [Thu, 10 Dec 2015 12:39:32 +0000 (12:39 +0000)]
build: fix arch used during dts compilation

Use kernel arch for dts compilation.
Also use Image/BuildDTB to build dts for ramips.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47823

9 years agomac80211: use the linux-firmware tree from 2015-12-07
Imre Kaloz [Thu, 10 Dec 2015 12:17:24 +0000 (12:17 +0000)]
mac80211: use the linux-firmware tree from 2015-12-07

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47822

9 years agogeneric/4.1: refresh patches
Imre Kaloz [Thu, 10 Dec 2015 12:14:19 +0000 (12:14 +0000)]
generic/4.1: refresh patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47821

9 years agomvebu: fixup wifi macs for Linksys boards
Imre Kaloz [Thu, 10 Dec 2015 12:13:16 +0000 (12:13 +0000)]
mvebu: fixup wifi macs for Linksys boards

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47820

9 years agomvebu: add support for 4.4-rc
Imre Kaloz [Thu, 10 Dec 2015 12:11:39 +0000 (12:11 +0000)]
mvebu: add support for 4.4-rc

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47819

9 years agomvebu: add support for 4.1 and switch over
Imre Kaloz [Thu, 10 Dec 2015 12:08:13 +0000 (12:08 +0000)]
mvebu: add support for 4.1 and switch over

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47818

9 years agoopenssl: add config option for no_hw support
Hauke Mehrtens [Wed, 9 Dec 2015 22:26:40 +0000 (22:26 +0000)]
openssl: add config option for no_hw support

The hardware support is required by some 3rd party engines (tpm)

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 47817

9 years agoubus: fix various ACL processing problems
Jo-Philipp Wich [Wed, 9 Dec 2015 19:42:00 +0000 (19:42 +0000)]
ubus: fix various ACL processing problems

Bump ubus to current Git HEAD in order to:

 * Fix a null pointer access when user ACLs are loaded into memory
 * Fix wrong permission handling for uid=0, gid!=0 peers
 * Fix return code for permission defined cases
 * Fix socket error handling when the server connection dies
 * Make ACL file path configurable
 * Remove invalid usages of poll() when using a zero timeout

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47816

9 years agomac80211: fix passing of VHT80 in IBSS mode
Jo-Philipp Wich [Wed, 9 Dec 2015 15:19:41 +0000 (15:19 +0000)]
mac80211: fix passing of VHT80 in IBSS mode

The "iw" utility expects the VHT80 to be specified as uppercase "80MHZ",
change the script to reflect that.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47814

9 years agomac80211: fix disabling HT in IBSS mode (#21340)
Jo-Philipp Wich [Wed, 9 Dec 2015 15:18:43 +0000 (15:18 +0000)]
mac80211: fix disabling HT in IBSS mode (#21340)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47813

9 years agokernel: revert fq_codel quantum override to prevent it from causing too much cpu...
Felix Fietkau [Tue, 8 Dec 2015 00:14:41 +0000 (00:14 +0000)]
kernel: revert fq_codel quantum override to prevent it from causing too much cpu load with higher speed (#21326)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47811

9 years agobcm53xx: update BCM5301X SMP patch to fixed version from stblinux
Rafał Miłecki [Mon, 7 Dec 2015 20:43:49 +0000 (20:43 +0000)]
bcm53xx: update BCM5301X SMP patch to fixed version from stblinux

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47810

9 years agobcm53xx: fix selecting HAVE_SMP symbol in Kconfig
Rafał Miłecki [Mon, 7 Dec 2015 19:56:12 +0000 (19:56 +0000)]
bcm53xx: fix selecting HAVE_SMP symbol in Kconfig

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47809

9 years agobcm53xx: use backported BCM5301X patches from stblinux soc/next
Rafał Miłecki [Mon, 7 Dec 2015 19:20:40 +0000 (19:20 +0000)]
bcm53xx: use backported BCM5301X patches from stblinux soc/next

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47807

9 years agobrcm47xx: make bcm47xxpart patch apply after recent backports
Rafał Miłecki [Mon, 7 Dec 2015 18:38:20 +0000 (18:38 +0000)]
brcm47xx: make bcm47xxpart patch apply after recent backports

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47806

9 years agogeneric: add missing 4.1 symbols
Imre Kaloz [Mon, 7 Dec 2015 10:13:55 +0000 (10:13 +0000)]
generic: add missing 4.1 symbols

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47802

9 years agogeneric: bump 4.4 to rc4
Imre Kaloz [Mon, 7 Dec 2015 10:11:43 +0000 (10:11 +0000)]
generic: bump 4.4 to rc4

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47801

9 years agokernel: add bcm47xxpart patches sent for 4.5 merge window
Rafał Miłecki [Mon, 7 Dec 2015 09:31:52 +0000 (09:31 +0000)]
kernel: add bcm47xxpart patches sent for 4.5 merge window

This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47800

9 years agoar71xx: fix switch port mapping for tl-wdr4300/3600
Felix Fietkau [Sun, 6 Dec 2015 14:25:36 +0000 (14:25 +0000)]
ar71xx: fix switch port mapping for tl-wdr4300/3600

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47799

9 years agokernel: add missing config option.
Hauke Mehrtens [Sun, 6 Dec 2015 13:49:03 +0000 (13:49 +0000)]
kernel: add missing config option.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47798

9 years agoar7-atm: fix build with gcc 5
Hauke Mehrtens [Sun, 6 Dec 2015 13:41:26 +0000 (13:41 +0000)]
ar7-atm: fix build with gcc 5

Remove the usage of the __TIME__ and __DATE__ macro.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47797

9 years agokernel: add missing config options for kernel 4.4
Hauke Mehrtens [Sun, 6 Dec 2015 13:32:36 +0000 (13:32 +0000)]
kernel: add missing config options for kernel 4.4

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47796

9 years agomac80211: fix build of mac80211-hwsim on kernel 4.4
Hauke Mehrtens [Sun, 6 Dec 2015 13:31:58 +0000 (13:31 +0000)]
mac80211: fix build of mac80211-hwsim on kernel 4.4

This genl_notify() backport should not be applied for kernel 4.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47795

9 years agolantiq: fix logic error in dsl board.d code
Jo-Philipp Wich [Sun, 6 Dec 2015 08:41:22 +0000 (08:41 +0000)]
lantiq: fix logic error in dsl board.d code

Starting with r47755 the pppoe wan interface section isn't any longer added to
the network config on firstboot, using the default configuration. Since the
commit message does not mention such a change, I assume that this wasn't
intentionally.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47793

9 years agocyassl: update to wolfSSL version 3.7.0
Hauke Mehrtens [Sat, 5 Dec 2015 15:45:31 +0000 (15:45 +0000)]
cyassl: update to wolfSSL version 3.7.0

This version and version 3.6.8 are fixing the following security problems:
* CVE-2015-7744
* CVE-2015-6925

The activation of SSLv3 support is needed for curl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47791

9 years agoupdate mtd-utils to 1.5.2
Hauke Mehrtens [Sat, 5 Dec 2015 15:44:58 +0000 (15:44 +0000)]
update mtd-utils to 1.5.2

 - update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73)
 - remove patches that went upstream
 - fixes build from scratch as of broken patches

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
[use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47790

9 years agokernel: fix linux 4.4 mac80211 build error
Felix Fietkau [Sat, 5 Dec 2015 13:11:28 +0000 (13:11 +0000)]
kernel: fix linux 4.4 mac80211 build error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47789

9 years agolldpd: add STOP=01 param in init script
Felix Fietkau [Sat, 5 Dec 2015 09:57:19 +0000 (09:57 +0000)]
lldpd: add STOP=01 param in init script

This should ensure that lldpd is among the first processes to stop,
so that it has time to send the shutdown LLDPU to the other side,
before the network goes down.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47786

9 years agolantiq: add VDSL2 vectoring status information
Felix Fietkau [Sat, 5 Dec 2015 09:52:42 +0000 (09:52 +0000)]
lantiq: add VDSL2 vectoring status information

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47785

9 years agolantiq: ltq-vdsl-mei: enable vectoring support
Felix Fietkau [Sat, 5 Dec 2015 09:52:36 +0000 (09:52 +0000)]
lantiq: ltq-vdsl-mei: enable vectoring support

Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47784

9 years agolantiq: get rid of the dsl_fw mtd partition
Felix Fietkau [Sat, 5 Dec 2015 09:52:30 +0000 (09:52 +0000)]
lantiq: get rid of the dsl_fw mtd partition

Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware,
we can drop the dsl_fw partition and extend the firmware partition.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47783

9 years agoiw: add VHT80 support for 802.11s
Felix Fietkau [Sat, 5 Dec 2015 09:52:18 +0000 (09:52 +0000)]
iw: add VHT80 support for 802.11s

Support next to the non-HT/HT channel widths like HT20 or NOHT also VHT80
channels during the mesh join

    iw dev mesh0 mesh join "meshnet" freq 5180 80MHz

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47782

9 years agomac80211: Allow to select VHT80 in IBSS mode
Felix Fietkau [Sat, 5 Dec 2015 09:52:10 +0000 (09:52 +0000)]
mac80211: Allow to select VHT80 in IBSS mode

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47781

9 years agoiw: add VHT80 support for IBSS
Felix Fietkau [Sat, 5 Dec 2015 09:52:02 +0000 (09:52 +0000)]
iw: add VHT80 support for IBSS

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47780

9 years agoiw: display interface TX power if available
Felix Fietkau [Sat, 5 Dec 2015 09:51:53 +0000 (09:51 +0000)]
iw: display interface TX power if available

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47779

9 years agoiw: sync nl80211.h with compat-wireless 2015-10-26
Felix Fietkau [Sat, 5 Dec 2015 09:51:48 +0000 (09:51 +0000)]
iw: sync nl80211.h with compat-wireless 2015-10-26

Fix the id of NL80211_ATTR_WIPHY_ANTENNA_GAIN for antenna_gain command when
using compat-wireless 2015-10-26.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47778

9 years agoiw: update to version 4.3
Felix Fietkau [Sat, 5 Dec 2015 09:51:39 +0000 (09:51 +0000)]
iw: update to version 4.3

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 47777

9 years agomac80211: Allow enabling tracing for the drivers that support it
Felix Fietkau [Sat, 5 Dec 2015 09:51:35 +0000 (09:51 +0000)]
mac80211: Allow enabling tracing for the drivers that support it

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47776

9 years agobusybox: Update config for 1.24.1
Felix Fietkau [Sat, 5 Dec 2015 09:51:30 +0000 (09:51 +0000)]
busybox: Update config for 1.24.1

r47288 updated to Busybox 1.24.1 but did not update the configuration.

The configuration is updated by running

cd config
../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1
cd ..
./convert_defaults.pl < .../build_dir/target-*/busybox-1.24.1/.config > \
    Config-defaults.in

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 47775

9 years agolantiq: remove 3.18 support
Felix Fietkau [Sat, 5 Dec 2015 09:51:25 +0000 (09:51 +0000)]
lantiq: remove 3.18 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47774

9 years agomac80211: enable build with linux 4.4
Felix Fietkau [Fri, 4 Dec 2015 22:40:38 +0000 (22:40 +0000)]
mac80211: enable build with linux 4.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47772

9 years agomac80211: update to 2015-12-03
Felix Fietkau [Fri, 4 Dec 2015 22:39:37 +0000 (22:39 +0000)]
mac80211: update to 2015-12-03

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47771

9 years agolantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and...
Felix Fietkau [Fri, 4 Dec 2015 20:26:22 +0000 (20:26 +0000)]
lantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and subsequent timeouts)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47770

9 years agolantiq: debloat the ltq-vdsl-app binary
Felix Fietkau [Fri, 4 Dec 2015 20:26:17 +0000 (20:26 +0000)]
lantiq: debloat the ltq-vdsl-app binary

Use the 'typical' compile configuration instead of 'full', which most
notably excludes the soap support.

/sbin/vdsl_cpe_control shrinks down to ~50%, from 178kb(!) to 90kb.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47769

9 years agolantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
Felix Fietkau [Fri, 4 Dec 2015 18:35:20 +0000 (18:35 +0000)]
lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47768

9 years agolantiq: fix xway spi driver timeout issues
Felix Fietkau [Fri, 4 Dec 2015 18:35:12 +0000 (18:35 +0000)]
lantiq: fix xway spi driver timeout issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47767

9 years agolantiq: clean up the xrx200 ethernet driver and fix stability issues
Felix Fietkau [Fri, 4 Dec 2015 17:44:06 +0000 (17:44 +0000)]
lantiq: clean up the xrx200 ethernet driver and fix stability issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47766

9 years agobr2684ctl: convert init script to procd, add hotplug/reload support
Felix Fietkau [Fri, 4 Dec 2015 17:44:00 +0000 (17:44 +0000)]
br2684ctl: convert init script to procd, add hotplug/reload support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47765