Commit Graph

31723 Commits (312a6dedf49a7d90485ef507a185168a0e717199)

Author SHA1 Message Date
John Crispin 8ae697d7f2 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
2014-10-06 04:53:20 +00:00
John Crispin 230b7ba04a 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
2014-10-06 04:53:14 +00:00
John Crispin 2e9a3b28f2 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
2014-10-06 04:53:04 +00:00
John Crispin f44a320095 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
2014-10-06 04:52:57 +00:00
John Crispin 09039308fa 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
2014-10-06 04:52:51 +00:00
John Crispin 6e8e2303cb 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
2014-10-06 04:52:44 +00:00
John Crispin 23246db9e0 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
2014-10-06 04:52:36 +00:00
John Crispin 16c7f3c21e 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
2014-10-06 04:52:26 +00:00
John Crispin 3bf58c8249 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
2014-10-06 04:52:21 +00:00
John Crispin 1e7c3ba398 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
2014-10-06 04:52:13 +00:00
John Crispin 5f9a01b40f 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
2014-10-06 04:52:07 +00:00
John Crispin 9584e3b28b 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
2014-10-06 04:52:01 +00:00
John Crispin 37a33d7e8d 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
2014-10-06 04:51:56 +00:00
John Crispin 5416fbe6e0 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
2014-10-06 04:51:51 +00:00
Felix Fietkau f53447947d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 20:17:23 +00:00
Felix Fietkau 0a602b2b72 targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 20:17:19 +00:00
Felix Fietkau 40935a16aa lantiq: remove the useless ltqtapi.mk include file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:58:47 +00:00
Felix Fietkau a6ea8af642 gcc: remove version 4.8.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:40:43 +00:00
Felix Fietkau 961d49f15b binutils: remove old versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:40:38 +00:00
Zoltan HERPAI 9c2be8be39 sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:32:36 +00:00
Felix Fietkau af7fe5f5e0 iproute2: add conflict for ip with ip-full
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:13:34 +00:00
Felix Fietkau db910597d7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:58:16 +00:00
Felix Fietkau 6ca4824bc3 hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:50 +00:00
Felix Fietkau 78e652f314 build: propagate package conflicts to opkg metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:38 +00:00
Felix Fietkau 3ed277255c build: add support for declaring package CONFLICTS which only affect selecting built-in packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:33 +00:00
Felix Fietkau 742d20f881 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 15:21:30 +00:00
Felix Fietkau f7b51f6c07 ath10k: update firmware to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 14:59:59 +00:00
Felix Fietkau 6cae32e029 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 14:59:45 +00:00
Felix Fietkau 4cb3d9cb9e mac80211_hwsim: select 802.11n support for hostapd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:50:42 +00:00
Felix Fietkau 16de94ff94 relayd: update to the latest version, fixes a build error with the new gcc (#18010)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:01:49 +00:00
Felix Fietkau b223fd3e4c hostapd: allow using iapp for any encryption type (fixes #18022)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:55:55 +00:00
Felix Fietkau 09cdef74a8 hostapd: merge an upstream patch for pmksa cache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:26 +00:00
Felix Fietkau e684caba4e iwinfo: detect AC PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:17 +00:00
Felix Fietkau 016f5ba570 iwinfo: detect HT PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:10 +00:00
Felix Fietkau bfacdd543b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:05 +00:00
Felix Fietkau 0d160a4d3e iwinfo: enable nl80211 support based on cfg80211, not mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:25:55 +00:00
Jo-Philipp Wich 2ec28fde12 iwinfo: handle 802.11ac mode for lua
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-04 09:38:17 +00:00
Jonas Gorski f02ccab61b brcm63xx: fix wrong fixups pointer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 11:03:58 +00:00
Steven Barth 956a14a1b2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 10:56:43 +00:00
Rafał Miłecki 132a7fda2c 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 10:40:12 +00:00
Felix Fietkau 5612af273e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 20:00:41 +00:00
Steven Barth c42e8fe0ab toolchain: Fix libthreaddb not being installed
Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:39 +00:00
Steven Barth 2ab44b72d3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:33 +00:00
Steven Barth 7644a74452 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:28 +00:00
Steven Barth e3e254cd7e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:15 +00:00
Steven Barth b5cf0a125b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:04 +00:00
Steven Barth 35fbc3abaa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:58 +00:00
Steven Barth b4c5339ffa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:36 +00:00
Steven Barth 3545c2dce5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:25 +00:00
Steven Barth 55316cc672 netifd: add IPIP tunnel support (thx Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:17 +00:00