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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42782 3c298f89-4303-0410-b956-a3cf2f4a3e73
sysupgrade: preserve symlinks in backups

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42783 3c298f89-4303-0410-b956-a3cf2f4a3e73
firmware-utils: add NEXX factory image support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42784 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42785 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add LED defaults for the EnGenius ESR1750

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42786 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42787 3c298f89-4303-0410-b956-a3cf2f4a3e73
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42788 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: D-Link DIR-810L: make led naming consistent with other boards

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42789 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add ledtrig-transient module support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42790 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add rtc-ds1307 module support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42791 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42792 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42793 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42794 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42795 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42796 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7

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

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