openwrt/staging/thess.git
10 years agoodhcp6c: ensure signal-safety of signal handlers
Steven Barth [Wed, 8 Oct 2014 09:58:40 +0000 (09:58 +0000)]
odhcp6c: ensure signal-safety of signal handlers

SVN-Revision: 42841

10 years agoinclude/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
John Crispin [Wed, 8 Oct 2014 08:01:39 +0000 (08:01 +0000)]
include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)

I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

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

10 years agolldp: make use of new USERID syntax
John Crispin [Wed, 8 Oct 2014 08:01:33 +0000 (08:01 +0000)]
lldp: make use of new USERID syntax

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

10 years agobase-files: extend USERID:=syntax
John Crispin [Wed, 8 Oct 2014 08:01:28 +0000 (08:01 +0000)]
base-files: extend USERID:=syntax

it is now possible to inlie the uid and gid in the syntax

USERID:=username=uid:group=gid:group2=gid2:...

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

10 years agowwan: add a generic 3g/4g proto
John Crispin [Wed, 8 Oct 2014 08:01:20 +0000 (08:01 +0000)]
wwan: add a generic 3g/4g proto

this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need
for a stick and setup uci automagically

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

10 years agocomgt: split directip support into its own package
John Crispin [Wed, 8 Oct 2014 08:00:55 +0000 (08:00 +0000)]
comgt: split directip support into its own package

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

10 years agouqmi: dont use proto_block_restart
John Crispin [Wed, 8 Oct 2014 08:00:45 +0000 (08:00 +0000)]
uqmi: dont use proto_block_restart

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

10 years agouqmi: make the proto depend on the usb driver
John Crispin [Wed, 8 Oct 2014 08:00:21 +0000 (08:00 +0000)]
uqmi: make the proto depend on the usb driver

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

10 years agoumbim: dont use proto_block_restart
John Crispin [Wed, 8 Oct 2014 08:00:17 +0000 (08:00 +0000)]
umbim: dont use proto_block_restart

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

10 years agoumbim: work out the ifname instead of relying on it being in uci
John Crispin [Wed, 8 Oct 2014 08:00:07 +0000 (08:00 +0000)]
umbim: work out the ifname instead of relying on it being in uci

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

10 years agoprocd: handle hotplug events for the usbmisc subsystem
John Crispin [Wed, 8 Oct 2014 08:00:01 +0000 (08:00 +0000)]
procd: handle hotplug events for the usbmisc subsystem

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

10 years agocns3xxx: fix shared PCI interrupt mapping
Felix Fietkau [Tue, 7 Oct 2014 10:37:48 +0000 (10:37 +0000)]
cns3xxx: fix shared PCI interrupt mapping

This patch originally failed to combine INTA/B/C/D onto a single ARM CPU
interrupt. Instead, it mapped INTA/B/C and excluded D. This patch
corrects the issue by mapping all four interrupts to the single ARM CPU
interrupt. The original intent of the patch still holds as the newer PCB
take advantage of isolated interrupts. This fix only applies to older
PCB's that do not route INTA/B/C/D to unique external ARM CPU
interrupts.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 42830

10 years agocns3xxx: fix register for enabling MMC/SD pins
Felix Fietkau [Tue, 7 Oct 2014 10:37:09 +0000 (10:37 +0000)]
cns3xxx: fix register for enabling MMC/SD pins

also fixes a GPIO related regression from the upgrade to 3.10

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

10 years agokernel: move old "rootfs" splitter into separated file
Rafał Miłecki [Tue, 7 Oct 2014 07:35:17 +0000 (07:35 +0000)]
kernel: move old "rootfs" splitter into separated file

This will simplify removing it in the future.

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

10 years agobcm53xx: add Netgear R6300 V2 LEDs and buttons
Rafał Miłecki [Mon, 6 Oct 2014 21:33:17 +0000 (21:33 +0000)]
bcm53xx: add Netgear R6300 V2 LEDs and buttons

Thanks tusc (our forum user) for checking GPIOs.

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

10 years agoprocd: r42814 added a bad git version
John Crispin [Mon, 6 Oct 2014 20:27:31 +0000 (20:27 +0000)]
procd: r42814 added a bad git version

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

10 years agoat91: remove support for TQMa9263
John Crispin [Mon, 6 Oct 2014 20:08:40 +0000 (20:08 +0000)]
at91: remove support for TQMa9263

This board is EOL, we should not bother anymore with it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42825

10 years agolantiq - vgv7519: load rt5362 eeprom from bootloader param patition
John Crispin [Mon, 6 Oct 2014 20:08:30 +0000 (20:08 +0000)]
lantiq - vgv7519: load rt5362 eeprom from bootloader param patition

SVN-Revision: 42824

10 years agolantiq - vgv7519: enable pci bus
John Crispin [Mon, 6 Oct 2014 20:08:18 +0000 (20:08 +0000)]
lantiq - vgv7519: enable pci bus

SVN-Revision: 42823

10 years agolantiq - vgv7519: remove spi_cs4, since the board use this line for something else
John Crispin [Mon, 6 Oct 2014 20:08:11 +0000 (20:08 +0000)]
lantiq - vgv7519: remove spi_cs4, since the board use this line for something else

SVN-Revision: 42822

10 years agolantiq - vgv7519: fix open-drain configuration for stp
John Crispin [Mon, 6 Oct 2014 20:08:04 +0000 (20:08 +0000)]
lantiq - vgv7519: fix open-drain configuration for stp

SVN-Revision: 42821

10 years agolantiq - vgv7519: add pci-rst entry into dts
John Crispin [Mon, 6 Oct 2014 20:07:56 +0000 (20:07 +0000)]
lantiq - vgv7519: add pci-rst entry into dts

SVN-Revision: 42820

10 years agolantiq - vgv7519: remove exin definition copied from dev-board dts
John Crispin [Mon, 6 Oct 2014 20:07:45 +0000 (20:07 +0000)]
lantiq - vgv7519: remove exin definition copied from dev-board dts

SVN-Revision: 42819

10 years agolantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for...
John Crispin [Mon, 6 Oct 2014 20:07:30 +0000 (20:07 +0000)]
lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for this board

SVN-Revision: 42818

10 years agolantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for...
John Crispin [Mon, 6 Oct 2014 20:07:19 +0000 (20:07 +0000)]
lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for pci handling

SVN-Revision: 42817

10 years agolantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio...
John Crispin [Mon, 6 Oct 2014 20:07:04 +0000 (20:07 +0000)]
lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)

SVN-Revision: 42816

10 years agolantiq: fix some alt function on pinctrl-xway
John Crispin [Mon, 6 Oct 2014 20:06:51 +0000 (20:06 +0000)]
lantiq: fix some alt function on pinctrl-xway

SVN-Revision: 42815

10 years agoprocd: update to latest git HEAD
John Crispin [Mon, 6 Oct 2014 20:06:41 +0000 (20:06 +0000)]
procd: update to latest git HEAD

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

10 years agoubox: update to latest git head
John Crispin [Mon, 6 Oct 2014 20:06:26 +0000 (20:06 +0000)]
ubox: update to latest git head

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

10 years agofstools: update to latest git
John Crispin [Mon, 6 Oct 2014 20:06:15 +0000 (20:06 +0000)]
fstools: update to latest git

adds support for /dev/vd* virtual io

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

10 years agoocteon: add patches which are not upstreamed yet
John Crispin [Mon, 6 Oct 2014 20:06:06 +0000 (20:06 +0000)]
octeon: add patches which are not upstreamed yet

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 42811

10 years agoocteon: remove kmod-ath9k from default packages
John Crispin [Mon, 6 Oct 2014 20:05:52 +0000 (20:05 +0000)]
octeon: remove kmod-ath9k from default packages

Looks like the targets are Ubiquiti routers which don't come with any wireless cards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 42810

10 years agoocteon: prepare elf kernel image and md5sum for usb copying
John Crispin [Mon, 6 Oct 2014 20:05:39 +0000 (20:05 +0000)]
octeon: prepare elf kernel image and md5sum for usb copying

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 42809

10 years agoocteon: fix serial console for 3.14 kernel
John Crispin [Mon, 6 Oct 2014 20:05:29 +0000 (20:05 +0000)]
octeon: fix serial console for 3.14 kernel

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 42808

10 years agoralink: various i2c fixes
John Crispin [Mon, 6 Oct 2014 20:05:13 +0000 (20:05 +0000)]
ralink: various i2c fixes

the driver did not handle all states correctly causing a deadlock of the i2c hw block.

Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it>
SVN-Revision: 42807

10 years agokernel: add some warnings to the old (built-in) rootfs splitter
Rafał Miłecki [Mon, 6 Oct 2014 15:07:54 +0000 (15:07 +0000)]
kernel: add some warnings to the old (built-in) rootfs splitter

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

10 years agokernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT
Rafał Miłecki [Mon, 6 Oct 2014 14:02:06 +0000 (14:02 +0000)]
kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT

This enables dedicated "rootfs" splitter by default. We still keep
CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be
used as a fallback in case of problems.
Once we decide the dedicated partitioner works stable, we should remove
the old one completely.

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

10 years agokernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT
Rafał Miłecki [Mon, 6 Oct 2014 13:49:11 +0000 (13:49 +0000)]
kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT

We want to remove that old (built-in) splitter at some point.

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

10 years agoodhcp6c: add route-workaround for broken IPv6-ISPs
Steven Barth [Mon, 6 Oct 2014 11:19:33 +0000 (11:19 +0000)]
odhcp6c: add route-workaround for broken IPv6-ISPs

Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.

We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.

This workaround can be turned off with: option fakeroutes 0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42803

10 years agonftables: bump to 2014-09-30, disable gmp
Steven Barth [Mon, 6 Oct 2014 06:24:53 +0000 (06:24 +0000)]
nftables: bump to 2014-09-30, disable gmp

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42802

10 years agobase-files: make postinst script run inside a subshell
John Crispin [Mon, 6 Oct 2014 05:55:35 +0000 (05:55 +0000)]
base-files: make postinst script run inside a subshell

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

10 years agolibnftnl: bump to 2014-10-02
Steven Barth [Mon, 6 Oct 2014 05:30:36 +0000 (05:30 +0000)]
libnftnl: bump to 2014-10-02

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42799

10 years agolantiq: led name has changed from adsl -> dsl
John Crispin [Mon, 6 Oct 2014 05:18:52 +0000 (05:18 +0000)]
lantiq: led name has changed from adsl -> dsl

make the notify script aware of this.

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

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

10 years agoar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
John Crispin [Mon, 6 Oct 2014 04:53:34 +0000 (04:53 +0000)]
ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42797

10 years agoar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
John Crispin [Mon, 6 Oct 2014 04:53:25 +0000 (04:53 +0000)]
ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection

[ ] conditions should use = instead of == for string equality.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42796

10 years agoar71xx: simplify TP-LINK model detection
John Crispin [Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)]
ar71xx: simplify TP-LINK model detection

All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42795

10 years agoFix build when TAR_OPTIONS env variable is set
John Crispin [Mon, 6 Oct 2014 04:53:14 +0000 (04:53 +0000)]
Fix build when TAR_OPTIONS env variable is set

The build system sets a make variable TAR_OPTIONS to the unpacking
command, i.e. "-xf -". Now if an environment variable with the same
name is set, the make variable is automatically exported to the
environment. The make variable is added to the tar command in the
makefile, and tar adds the environment variable. This results in a
command like "tar -c /some/dir -xf - -xf -" which of course doesn't
work. It is also difficult to spot as the second "-xf -" is not
visible on the command line.
I suggest this is fixed by unexporting TAR_OPTIONS as I see no use
of the evironment variable, and it is changed from the original
value anyway.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
SVN-Revision: 42794

10 years agoiwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor...
John Crispin [Mon, 6 Oct 2014 04:53:04 +0000 (04:53 +0000)]
iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor/device IDs

The AR9580 with the new ID can be found in the EnGenius ESR900 and the
QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750.

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42793

10 years agoar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)
John Crispin [Mon, 6 Oct 2014 04:52:57 +0000 (04:52 +0000)]
ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)

Signed-off-by: Jaehoon You <teslamint@gmail.com>
SVN-Revision: 42792

10 years agokernel: add rtc-ds1307 module support
John Crispin [Mon, 6 Oct 2014 04:52:51 +0000 (04:52 +0000)]
kernel: add rtc-ds1307 module support

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42791

10 years agokernel: add ledtrig-transient module support
John Crispin [Mon, 6 Oct 2014 04:52:44 +0000 (04:52 +0000)]
kernel: add ledtrig-transient module support

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42790

10 years agoramips: D-Link DIR-810L: make led naming consistent with other boards
John Crispin [Mon, 6 Oct 2014 04:52:36 +0000 (04:52 +0000)]
ramips: D-Link DIR-810L: make led naming consistent with other boards

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42789

10 years agoralink: Add missing code to free GPIO on Ralink SoC
John Crispin [Mon, 6 Oct 2014 04:52:26 +0000 (04:52 +0000)]
ralink: Add missing code to free GPIO on Ralink SoC

Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de
SVN-Revision: 42788

10 years agohostapd: read missing parameter for dynamic VLANs
John Crispin [Mon, 6 Oct 2014 04:52:21 +0000 (04:52 +0000)]
hostapd: read missing parameter for dynamic VLANs

In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming
parameter is not read while setting up the config, so it always
defaults to 1.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 42787

10 years agoar71xx: add LED defaults for the EnGenius ESR1750
John Crispin [Mon, 6 Oct 2014 04:52:13 +0000 (04:52 +0000)]
ar71xx: add LED defaults for the EnGenius ESR1750

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42786

10 years agoramips: Support for RAMIPS based Tripmate HT-TM02 board
John Crispin [Mon, 6 Oct 2014 04:52:07 +0000 (04:52 +0000)]
ramips: Support for RAMIPS based Tripmate HT-TM02 board

Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>
SVN-Revision: 42785

10 years agofirmware-utils: add NEXX factory image support
John Crispin [Mon, 6 Oct 2014 04:52:01 +0000 (04:52 +0000)]
firmware-utils: add NEXX factory image support

This patch adds support to encode and decode images for certain types of
NEXX routers.

SVN-Revision: 42784

10 years agosysupgrade: preserve symlinks in backups
John Crispin [Mon, 6 Oct 2014 04:51:56 +0000 (04:51 +0000)]
sysupgrade: preserve symlinks in backups

Signed-off-by: Catalin Patulea <catalinp@google.com>
SVN-Revision: 42783

10 years agoar71xx: fix reset button gpio for OM2P/OM2P-HS
John Crispin [Mon, 6 Oct 2014 04:51:51 +0000 (04:51 +0000)]
ar71xx: fix reset button gpio for OM2P/OM2P-HS

A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <oren@poleg.org>
[sven@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 42782

10 years agobuild: remove useless quote stripping for KERNELNAME, add fallback for it in the...
Felix Fietkau [Sun, 5 Oct 2014 20:17:23 +0000 (20:17 +0000)]
build: remove useless quote stripping for KERNELNAME, add fallback for it in the kernel build command line

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

10 years agotargets: remove useless quotes around KERNELNAME
Felix Fietkau [Sun, 5 Oct 2014 20:17:19 +0000 (20:17 +0000)]
targets: remove useless quotes around KERNELNAME

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

10 years agolantiq: remove the useless ltqtapi.mk include file
Felix Fietkau [Sun, 5 Oct 2014 18:58:47 +0000 (18:58 +0000)]
lantiq: remove the useless ltqtapi.mk include file

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

10 years agogcc: remove version 4.8.0
Felix Fietkau [Sun, 5 Oct 2014 18:40:43 +0000 (18:40 +0000)]
gcc: remove version 4.8.0

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

10 years agobinutils: remove old versions
Felix Fietkau [Sun, 5 Oct 2014 18:40:38 +0000 (18:40 +0000)]
binutils: remove old versions

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

10 years agosunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Zoltan Herpai [Sun, 5 Oct 2014 17:32:36 +0000 (17:32 +0000)]
sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42775

10 years agoiproute2: add conflict for ip with ip-full
Felix Fietkau [Sun, 5 Oct 2014 17:13:34 +0000 (17:13 +0000)]
iproute2: add conflict for ip with ip-full

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

10 years agobuild: make sure modules are modposted after initramfs image is built
Felix Fietkau [Sun, 5 Oct 2014 16:58:16 +0000 (16:58 +0000)]
build: make sure modules are modposted after initramfs image is built

Otherwise the modpost steps for individual modules that are compiled
manually (using make package/<name_of_module>/install) will give warning
of missing symbols when that module depends other modules.

This is caused by the Module.symvers file not containing any symbols
anymore of external modules when the initramfs image is built without
specifically giving the modules target.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 42773

10 years agohostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant
Felix Fietkau [Sun, 5 Oct 2014 16:41:50 +0000 (16:41 +0000)]
hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant

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

10 years agobuild: propagate package conflicts to opkg metadata
Felix Fietkau [Sun, 5 Oct 2014 16:41:38 +0000 (16:41 +0000)]
build: propagate package conflicts to opkg metadata

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

10 years agobuild: add support for declaring package CONFLICTS which only affect selecting built...
Felix Fietkau [Sun, 5 Oct 2014 16:41:33 +0000 (16:41 +0000)]
build: add support for declaring package CONFLICTS which only affect selecting built-in packages

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

10 years agoFix broken implementation of NOEXECSTACK flag for MIPS architectures for gcc-linaro-4.8
Felix Fietkau [Sun, 5 Oct 2014 15:21:30 +0000 (15:21 +0000)]
Fix broken implementation of NOEXECSTACK flag for MIPS architectures for gcc-linaro-4.8

This patch ensures that libgcc_s.so properly honours the NOEXECSTACK flag
for MIPS builds, when gcc-linaro-4.8 or 4.9 is the chosen C compiler.

Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42769

10 years agoath10k: update firmware to the latest version
Felix Fietkau [Sun, 5 Oct 2014 14:59:59 +0000 (14:59 +0000)]
ath10k: update firmware to the latest version

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

10 years agogcc: gcc 4.9.x disable libsanitize
Felix Fietkau [Sun, 5 Oct 2014 14:59:45 +0000 (14:59 +0000)]
gcc: gcc 4.9.x disable libsanitize

gcc 4.9.x enables building of libsanitize

- libsanitize needs some headers that are not available
  in uclibc (netrom/netrom.h)

according to buildroot project:
- build fail with musl
- need wordexp with uclibc which increases uclibc size
http://git.buildroot.net/buildroot/commit/?id=5f4d658d888b539de9a6247ae5b1a0999de5d4ec
http://git.buildroot.net/buildroot/commit/?id=554e29e267e6b36a0fd78c82cbad2c82d939eb7f

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 42767

10 years agomac80211_hwsim: select 802.11n support for hostapd
Felix Fietkau [Sun, 5 Oct 2014 11:50:42 +0000 (11:50 +0000)]
mac80211_hwsim: select 802.11n support for hostapd

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

10 years agorelayd: update to the latest version, fixes a build error with the new gcc (#18010)
Felix Fietkau [Sun, 5 Oct 2014 11:01:49 +0000 (11:01 +0000)]
relayd: update to the latest version, fixes a build error with the new gcc (#18010)

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

10 years agohostapd: allow using iapp for any encryption type (fixes #18022)
Felix Fietkau [Sun, 5 Oct 2014 10:55:55 +0000 (10:55 +0000)]
hostapd: allow using iapp for any encryption type (fixes #18022)

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

10 years agohostapd: merge an upstream patch for pmksa cache
Felix Fietkau [Sun, 5 Oct 2014 10:26:26 +0000 (10:26 +0000)]
hostapd: merge an upstream patch for pmksa cache

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

10 years agoiwinfo: detect AC PHY for broadcom-wl
Felix Fietkau [Sun, 5 Oct 2014 10:26:17 +0000 (10:26 +0000)]
iwinfo: detect AC PHY for broadcom-wl

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

10 years agoiwinfo: detect HT PHY for broadcom-wl
Felix Fietkau [Sun, 5 Oct 2014 10:26:10 +0000 (10:26 +0000)]
iwinfo: detect HT PHY for broadcom-wl

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

10 years agoiwinfo: fix handling of accessing nl80211 interfaces via radio*
Felix Fietkau [Sun, 5 Oct 2014 10:26:05 +0000 (10:26 +0000)]
iwinfo: fix handling of accessing nl80211 interfaces via radio*

look up device path via uci instead of assuming a direct phy index

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

10 years agoiwinfo: enable nl80211 support based on cfg80211, not mac80211
Felix Fietkau [Sun, 5 Oct 2014 10:25:55 +0000 (10:25 +0000)]
iwinfo: enable nl80211 support based on cfg80211, not mac80211

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

10 years agoiwinfo: handle 802.11ac mode for lua
Jo-Philipp Wich [Sat, 4 Oct 2014 09:38:17 +0000 (09:38 +0000)]
iwinfo: handle 802.11ac mode for lua

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
SVN-Revision: 42757

10 years agobrcm63xx: fix wrong fixups pointer
Jonas Gorski [Fri, 3 Oct 2014 11:03:58 +0000 (11:03 +0000)]
brcm63xx: fix wrong fixups pointer

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42756

10 years agobase-files: remove a 'not found' error message during system boot
Steven Barth [Fri, 3 Oct 2014 10:56:43 +0000 (10:56 +0000)]
base-files: remove a 'not found' error message during system boot

During boot, a not found message is displayed for systems which do
not have uci 'network.globals.ula_prefix' defined in
/etc/config/network. The error message itself is not used and can
be ignored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42755

10 years agobcm53xx: build R6250 firmware with "Other Regions" region
Rafał Miłecki [Fri, 3 Oct 2014 10:40:12 +0000 (10:40 +0000)]
bcm53xx: build R6250 firmware with "Other Regions" region

This prevents vendor firmware from warning about incompatible region.

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

10 years agoar8216: set the pvid based on runtime state instead of port number to fix learning...
Felix Fietkau [Thu, 2 Oct 2014 20:00:41 +0000 (20:00 +0000)]
ar8216: set the pvid based on runtime state instead of port number to fix learning with enable_vlan = 0

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

10 years agotoolchain: Fix libthreaddb not being installed
Steven Barth [Thu, 2 Oct 2014 19:47:39 +0000 (19:47 +0000)]
toolchain: Fix libthreaddb not being installed

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42752

10 years agobusybox: remove validation message from bootup
Steven Barth [Thu, 2 Oct 2014 19:47:33 +0000 (19:47 +0000)]
busybox: remove validation message from bootup

A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42751

10 years agoauthsae: update to latest version
Steven Barth [Thu, 2 Oct 2014 19:47:28 +0000 (19:47 +0000)]
authsae: update to latest version

Send a netlink call to leave the mesh when meshd exits
Make hunting-and-pecking loop (more) resistant to side channel attack

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42750

10 years ago6in4: Tos support
Steven Barth [Thu, 2 Oct 2014 19:38:15 +0000 (19:38 +0000)]
6in4: Tos support

Tos support is added as a string parameter which can have the following values :
   -inherit (outer header inherits the tos value of the inner header)
   -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 42749

10 years ago6to4: Tos support
Steven Barth [Thu, 2 Oct 2014 19:38:04 +0000 (19:38 +0000)]
6to4: Tos support

Tos support is added as a string parameter which can have the following values :
   -inherit (outer header inherits the tos value of the inner header)
   -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 42748

10 years ago6rd: Tos support
Steven Barth [Thu, 2 Oct 2014 19:37:58 +0000 (19:37 +0000)]
6rd: Tos support

Tos support is added as a string parameter which can have the following values :
     -inherit (outer header inherits the tos value of the inner header)
     -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 42747

10 years agoIPIP: IP in IP package support
Steven Barth [Thu, 2 Oct 2014 19:37:36 +0000 (19:37 +0000)]
IPIP: IP in IP package support

The package supports IP in IP by registering the ipip protocol handler

Following options are configurable
    -peeraddr (IPv4 remote address)
    -ipaddr (IPv4 local address)
    -ttl (time to live of encapsulating packet)
    -tos (type of service of encapsulating packet either inherit (outer header inherits the value of the inner header) or hex value)
    -df (don't fragment flag of encapsulating packet)
    -mtu (IPIP tunnel mtu)
    -tunlink (bind tunnel to this interface)
    -zone (firewall zone to which the IPIP tunnel will be added)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 42746

10 years agonetifd: fix an error message during network shutdown
Steven Barth [Thu, 2 Oct 2014 19:37:25 +0000 (19:37 +0000)]
netifd: fix an error message during network shutdown

When 'wifi down' is called by /etc/init.d/network, it is run from
stop_service( ). This function is in turn invoked from stop( ).
stop( ) messes up the order by first procd_kill-ing the network
settings, then calling wifi to down the wifi networking
interfaces. By redefining stop( ) instead, the proper order is
restored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42745

10 years agonetifd: add IPIP tunnel support (thx Hans Dedecker)
Steven Barth [Thu, 2 Oct 2014 19:37:17 +0000 (19:37 +0000)]
netifd: add IPIP tunnel support (thx Hans Dedecker)

SVN-Revision: 42744

10 years agobcm53xx: early support for Netgear R6300 V2
Rafał Miłecki [Thu, 2 Oct 2014 19:30:08 +0000 (19:30 +0000)]
bcm53xx: early support for Netgear R6300 V2

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

10 years agomap: fix portsets starting with 0 and use regular NAT for 1:1 MAP
Steven Barth [Thu, 2 Oct 2014 19:15:38 +0000 (19:15 +0000)]
map: fix portsets starting with 0 and use regular NAT for 1:1 MAP

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42741

10 years agobrcm63xx: update spw500v sprom to values from gpl tarball
Jonas Gorski [Thu, 2 Oct 2014 12:26:36 +0000 (12:26 +0000)]
brcm63xx: update spw500v sprom to values from gpl tarball

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42740

10 years agobrcm63xx: reorder some patches according to their upstream state
Jonas Gorski [Thu, 2 Oct 2014 12:26:19 +0000 (12:26 +0000)]
brcm63xx: reorder some patches according to their upstream state

The irq rewrite was accepted upstream.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42739

10 years agobrcm63xx: Add DT support for 96368MVWG
Jonas Gorski [Thu, 2 Oct 2014 12:26:07 +0000 (12:26 +0000)]
brcm63xx: Add DT support for 96368MVWG

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42738