oweals/openwrt.git
10 years agoath9k: add a fix for tx queueing and aggregation
Felix Fietkau [Mon, 28 Apr 2014 16:35:25 +0000 (16:35 +0000)]
ath9k: add a fix for tx queueing and aggregation

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

10 years agomxs: enable usbgadget feature for Duckbills
Zoltan Herpai [Mon, 28 Apr 2014 07:43:29 +0000 (07:43 +0000)]
mxs: enable usbgadget feature for Duckbills

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40585

10 years agomac80211: Fix build errors due to missing string function declarations
Hauke Mehrtens [Sun, 27 Apr 2014 21:53:58 +0000 (21:53 +0000)]
mac80211: Fix build errors due to missing string function declarations

Building mac80211 failed, due to missing function declarations in compat/backport-3.15.c
This patch adds the linux/string.h header file to provide these function declarations

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
SVN-Revision: 40584

10 years agoauthsae: Update to latest version
Hauke Mehrtens [Sun, 27 Apr 2014 20:49:14 +0000 (20:49 +0000)]
authsae: Update to latest version

Ping tested, add a cool fix
https://github.com/cozybit/authsae/commit/295164a83717ce59ca280468fc2f7edcea6b3cbf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 40579

10 years agobase-files: remove duplicate stop_service() function.
Felix Fietkau [Sun, 27 Apr 2014 18:48:57 +0000 (18:48 +0000)]
base-files: remove duplicate stop_service() function.

It was introduced in commit 2f966e8, "base-files: add a post start hook
for procd managed services".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 40576

10 years agohostapd: fix eglibc 2.15 support
Felix Fietkau [Sun, 27 Apr 2014 18:30:50 +0000 (18:30 +0000)]
hostapd: fix eglibc 2.15 support

This patch fixes compilation failure for hostapd when using eglibc 2.15.

Signed-off-by: Zachery Stoddard <zacherystoddard@gmail.com>
SVN-Revision: 40575

10 years agoath9k: add ANI fix for ar913x to improve stability
Felix Fietkau [Sun, 27 Apr 2014 14:39:06 +0000 (14:39 +0000)]
ath9k: add ANI fix for ar913x to improve stability

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

10 years agonetifd: update to the latest version, fixes some route table and dynamic interface...
Felix Fietkau [Sat, 26 Apr 2014 19:48:11 +0000 (19:48 +0000)]
netifd: update to the latest version, fixes some route table and dynamic interface issues

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

10 years agohostapd: update to version 2014-04-24, fixes some dfs related issues
Felix Fietkau [Sat, 26 Apr 2014 19:48:06 +0000 (19:48 +0000)]
hostapd: update to version 2014-04-24, fixes some dfs related issues

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

10 years agolibubox: update to the latest version, adds a key/value store implementation and...
Felix Fietkau [Sat, 26 Apr 2014 14:56:29 +0000 (14:56 +0000)]
libubox: update to the latest version, adds a key/value store implementation and fixes an uloop issue

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

10 years agobuild: clarify the file prereq check message
Felix Fietkau [Thu, 24 Apr 2014 19:41:57 +0000 (19:41 +0000)]
build: clarify the file prereq check message

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

10 years agobuild: add a prereq check for file (#15692)
Felix Fietkau [Thu, 24 Apr 2014 19:28:11 +0000 (19:28 +0000)]
build: add a prereq check for file (#15692)

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

10 years agoodhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
Steven Barth [Thu, 24 Apr 2014 09:36:01 +0000 (09:36 +0000)]
odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)

SVN-Revision: 40567

10 years ago6rd: Select first IPv4 address from configured tunlink interface as local tunnel...
Steven Barth [Thu, 24 Apr 2014 09:11:44 +0000 (09:11 +0000)]
6rd: Select first IPv4 address from configured tunlink interface as local tunnel address

Gives the user the control to select the correct WAN IPv4 address to be used by the 6rd tunnel when mutiple WAN interfaces are configured

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

10 years agobcm53xx: add default config for switch
Hauke Mehrtens [Wed, 23 Apr 2014 22:02:18 +0000 (22:02 +0000)]
bcm53xx: add default config for switch

This scripts adds a default config for the switch.

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

10 years agobcm53xx: add initial support for kernel 3.14
Hauke Mehrtens [Wed, 23 Apr 2014 21:53:50 +0000 (21:53 +0000)]
bcm53xx: add initial support for kernel 3.14

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

10 years agoralink: add dir-645 to the eeprom hotplug script
John Crispin [Wed, 23 Apr 2014 07:52:56 +0000 (07:52 +0000)]
ralink: add dir-645 to the eeprom hotplug script

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

10 years agomac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget
John Crispin [Wed, 23 Apr 2014 07:52:47 +0000 (07:52 +0000)]
mac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40560

10 years agomac80211: refresh rt2x00 patches
John Crispin [Wed, 23 Apr 2014 07:52:37 +0000 (07:52 +0000)]
mac80211: refresh rt2x00 patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40559

10 years agomac80211: rt2x00: add support for the RT3662/RT3883 SoCs
John Crispin [Wed, 23 Apr 2014 07:52:18 +0000 (07:52 +0000)]
mac80211: rt2x00: add support for the RT3662/RT3883 SoCs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40558

10 years agoramips: register clock device for the WMAC on RT3883
John Crispin [Wed, 23 Apr 2014 07:51:57 +0000 (07:51 +0000)]
ramips: register clock device for the WMAC on RT3883

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40557

10 years agonetifd: update to latest version, adds support for disabling interfaces
Felix Fietkau [Tue, 22 Apr 2014 17:28:14 +0000 (17:28 +0000)]
netifd: update to latest version, adds support for disabling interfaces

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

10 years agoramips: Add support for the 7Links PX-4885 wireless router.
John Crispin [Tue, 22 Apr 2014 08:08:51 +0000 (08:08 +0000)]
ramips: Add support for the 7Links PX-4885 wireless router.

The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
SVN-Revision: 40554

10 years agolantiq: BT Home Hub 2B - overlayfs on top of ubi
John Crispin [Tue, 22 Apr 2014 08:08:46 +0000 (08:08 +0000)]
lantiq: BT Home Hub 2B - overlayfs on top of ubi

BT Home Hub 2B: use overlayfs on top of ubi.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40553

10 years agoramips: build factory-compatible image for AR725W
John Crispin [Tue, 22 Apr 2014 08:08:42 +0000 (08:08 +0000)]
ramips: build factory-compatible image for AR725W

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40552

10 years agofirmware-utils: add Gemtek header tool
John Crispin [Tue, 22 Apr 2014 08:08:39 +0000 (08:08 +0000)]
firmware-utils: add Gemtek header tool

Generates webflash-compatible images for a few RT2880 routers based
on Gemtek OEM boards.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40551

10 years agoramips: add Airlink101 AR725W userland support
John Crispin [Tue, 22 Apr 2014 08:08:35 +0000 (08:08 +0000)]
ramips: add Airlink101 AR725W userland support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40550

10 years agoramips: Add Airlink101 AR725W board support
John Crispin [Tue, 22 Apr 2014 08:08:31 +0000 (08:08 +0000)]
ramips: Add Airlink101 AR725W board support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40549

10 years agoAdd Zyxel P-2812HNU-Fx images
John Crispin [Tue, 22 Apr 2014 08:08:27 +0000 (08:08 +0000)]
Add Zyxel P-2812HNU-Fx images

P-2812HNU-Fx images are already supported but not generated.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40548

10 years agoAdd Fritz!Box 3370 images
John Crispin [Tue, 22 Apr 2014 08:08:23 +0000 (08:08 +0000)]
Add Fritz!Box 3370 images

Fritz!Box 3370 images are already supported but not generated.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40547

10 years agoRefresh patches
John Crispin [Tue, 22 Apr 2014 08:08:19 +0000 (08:08 +0000)]
Refresh patches

Refresh uboot-lantiq patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40546

10 years agoCreate firmware directory if it doesn't exist
John Crispin [Tue, 22 Apr 2014 08:08:15 +0000 (08:08 +0000)]
Create firmware directory if it doesn't exist

Fixes package refreshing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40545

10 years agoDepend on lantiq board
John Crispin [Tue, 22 Apr 2014 08:08:10 +0000 (08:08 +0000)]
Depend on lantiq board

Depend on lantiq board.

ARV7510 depends on ARV4510 because (according to OpenWrt wiki) both boards are identical except for the unsupported WiFi. Moreover, ARV7510 isn't especifically supported and ARV4510 images valid.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40544

10 years agoFix vr9_phy22f_a2x.bin firmware linking
John Crispin [Tue, 22 Apr 2014 08:08:06 +0000 (08:08 +0000)]
Fix vr9_phy22f_a2x.bin firmware linking

vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40543

10 years agolinux/generic: add MIB counters and port status to ADM6996 switch
John Crispin [Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)]
linux/generic: add MIB counters and port status to ADM6996 switch

This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40542

10 years agolantiq: fix maximum ethernet header length
John Crispin [Tue, 22 Apr 2014 08:07:53 +0000 (08:07 +0000)]
lantiq: fix maximum ethernet header length

The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40541

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:16:03 +0000 (18:16 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:14:17 +0000 (18:14 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:13:19 +0000 (18:13 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoscons: upgrade to 2.3.1
Luka Perkov [Sat, 19 Apr 2014 21:39:12 +0000 (21:39 +0000)]
scons: upgrade to 2.3.1

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40535

10 years agompc: upgrade to 1.0.2
Luka Perkov [Sat, 19 Apr 2014 21:39:11 +0000 (21:39 +0000)]
mpc: upgrade to 1.0.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40534

10 years agoflex: upgrade to version 2.5.39
Luka Perkov [Sat, 19 Apr 2014 21:39:10 +0000 (21:39 +0000)]
flex: upgrade to version 2.5.39

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40533

10 years agokobs-ng: Add support for overriding size
Luka Perkov [Sat, 19 Apr 2014 21:39:09 +0000 (21:39 +0000)]
kobs-ng: Add support for overriding size

By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams.
This patch allows overriding that size in order to reserve space at the end
of the mtd partition for u-boot.img in the case of using an SPL bootloader.

For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000
(14MB) offset in a 16MB /dev/mtd0:

  kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL
  nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 40532

10 years agoimx6-gateworks: enable new canbus packages
Luka Perkov [Sat, 19 Apr 2014 21:39:04 +0000 (21:39 +0000)]
imx6-gateworks: enable new canbus packages

The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 40531

10 years agofeeds.conf.default: the telephony feed is now on git.openwrt.org
Felix Fietkau [Sat, 19 Apr 2014 17:26:11 +0000 (17:26 +0000)]
feeds.conf.default: the telephony feed is now on git.openwrt.org

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

10 years agonetifd: update to the latest version, fixes some more issues related to l3_dev handling
Felix Fietkau [Sat, 19 Apr 2014 09:58:40 +0000 (09:58 +0000)]
netifd: update to the latest version, fixes some more issues related to l3_dev handling

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

10 years agobase-files: remove duplicate wps button handler (#15621)
Felix Fietkau [Fri, 18 Apr 2014 17:27:38 +0000 (17:27 +0000)]
base-files: remove duplicate wps button handler (#15621)

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

10 years agobuild: reimplement package build directory override
Felix Fietkau [Fri, 18 Apr 2014 14:58:01 +0000 (14:58 +0000)]
build: reimplement package build directory override

Remove leftover pieces from package-version-override.mk support
Add a new variable USE_SOURCE_DIR to use a custom build directory.

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

10 years agofstools: fix extroot with opkg-installed block-mount (#15550)
Jo-Philipp Wich [Thu, 17 Apr 2014 17:59:47 +0000 (17:59 +0000)]
fstools: fix extroot with opkg-installed block-mount (#15550)

The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

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

10 years agolantiq: remove uboot lzma patch, apparently its not needed after all
John Crispin [Wed, 16 Apr 2014 12:11:24 +0000 (12:11 +0000)]
lantiq: remove uboot lzma patch, apparently its not needed after all

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

10 years agouboot-lantiq: backport lzma fix
John Crispin [Wed, 16 Apr 2014 12:01:24 +0000 (12:01 +0000)]
uboot-lantiq: backport lzma fix

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

10 years agolantiq: ARV7519RW22: several fixes
John Crispin [Wed, 16 Apr 2014 12:01:09 +0000 (12:01 +0000)]
lantiq: ARV7519RW22: several fixes

- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40519

10 years agosunxi: remove mainlined patches
Zoltan Herpai [Mon, 14 Apr 2014 21:36:39 +0000 (21:36 +0000)]
sunxi: remove mainlined patches

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

10 years agods-lite: disable NAT according to RFC 7084
Steven Barth [Mon, 14 Apr 2014 10:11:54 +0000 (10:11 +0000)]
ds-lite: disable NAT according to RFC 7084

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

10 years agofirewall: add support for nat-rules and netifd-proto-originating rules
Steven Barth [Mon, 14 Apr 2014 10:11:34 +0000 (10:11 +0000)]
firewall: add support for nat-rules and netifd-proto-originating rules

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

10 years agoar71xx: rb91x: fix ethernet packet loss issues
Gabor Juhos [Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)]
ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40509

10 years agoar71xx/mikrotik: enable the AT803x PHY driver
Gabor Juhos [Sun, 13 Apr 2014 20:41:51 +0000 (20:41 +0000)]
ar71xx/mikrotik: enable the AT803x PHY driver

It will be used on the RB91x boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40508

10 years agoar71xx: allow to configure AR803x PHYs via platform data
Gabor Juhos [Sun, 13 Apr 2014 20:41:50 +0000 (20:41 +0000)]
ar71xx: allow to configure AR803x PHYs via platform data

Add a patch for the at803x phy driver, in order to be able
to configure some register settings via platform data.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40507

10 years agoar71xx: add phy_mmd_{read,write} helpers
Gabor Juhos [Sun, 13 Apr 2014 20:41:48 +0000 (20:41 +0000)]
ar71xx: add phy_mmd_{read,write} helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40506

10 years agoar71xx: enable console on the RB91x boards
Gabor Juhos [Sun, 13 Apr 2014 20:41:42 +0000 (20:41 +0000)]
ar71xx: enable console on the RB91x boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40505

10 years agoralink: add port_init for rt2880
John Crispin [Sun, 13 Apr 2014 18:01:08 +0000 (18:01 +0000)]
ralink: add port_init for rt2880

Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

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

10 years agoiw: sync nl80211.h (fixes settting antenna_gain)
Felix Fietkau [Sun, 13 Apr 2014 09:53:51 +0000 (09:53 +0000)]
iw: sync nl80211.h (fixes settting antenna_gain)

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

10 years agoar71xx: add profile and build image for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:09 +0000 (08:29 +0000)]
ar71xx: add profile and build image for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: remove the non-existing zyxelnand subtarget specific stuff]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40502

10 years agouboot-envtools: add support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:08 +0000 (08:29 +0000)]
uboot-envtools: add support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40501

10 years agoar71xx: add user-space support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:07 +0000 (08:29 +0000)]
ar71xx: add user-space support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40500

10 years agoar71xx: add kernel support for ZyXEL NBG 6716
Gabor Juhos [Sun, 13 Apr 2014 08:29:05 +0000 (08:29 +0000)]
ar71xx: add kernel support for ZyXEL NBG 6716

With this patch OpenWRT supports the following on the ZyXEL NBG 6716:
-WiFi 2G (ath9k)
-WiFi 5G (ath10k)
-NAND flash
-2 Ethernet interfaces
-USB 2.0
-LEDs including switch
-reasonale defaults at first boot

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg:
  - rename and refresh kernel patch,
  - fix a few typos,
  - change button key codes,
  - use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40499

10 years agolantiq: enable switch on td8970
John Crispin [Sat, 12 Apr 2014 21:22:21 +0000 (21:22 +0000)]
lantiq: enable switch on td8970

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

10 years ago802.11s: fix authsae support in netifd
John Crispin [Sat, 12 Apr 2014 21:22:17 +0000 (21:22 +0000)]
802.11s: fix authsae support in netifd

This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 40497

10 years agorpcd: update to the latest version
John Crispin [Sat, 12 Apr 2014 21:22:12 +0000 (21:22 +0000)]
rpcd: update to the latest version

This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

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

10 years agoFix ARV7519RW images
John Crispin [Sat, 12 Apr 2014 21:22:08 +0000 (21:22 +0000)]
Fix ARV7519RW images

This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40495

10 years agoFix Asus rt-n15 board support
John Crispin [Sat, 12 Apr 2014 21:22:04 +0000 (21:22 +0000)]
Fix Asus rt-n15 board support

* gpio leds and buttons
* ethernet

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

10 years agort2880 DT fixes
John Crispin [Sat, 12 Apr 2014 21:22:00 +0000 (21:22 +0000)]
rt2880 DT fixes

* add pinctrl
* fix ethernet port
* make wifi available by default

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

10 years agoFix pinmux-rt2880
John Crispin [Sat, 12 Apr 2014 21:21:56 +0000 (21:21 +0000)]
Fix pinmux-rt2880

The last arg to FUNC() is count, not last pin.

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

10 years agoAdd wmac clock for rt2880
John Crispin [Sat, 12 Apr 2014 21:21:53 +0000 (21:21 +0000)]
Add wmac clock for rt2880

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

10 years agosparse: add as a new package selectable from the config
John Crispin [Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)]
sparse: add as a new package selectable from the config

This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40490

10 years agoDon't try to generate whr-g300n image if it's going to be more than 4M
John Crispin [Sat, 12 Apr 2014 21:21:44 +0000 (21:21 +0000)]
Don't try to generate whr-g300n image if it's going to be more than 4M

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

10 years agouboot-lantiq: enable parallel building
John Crispin [Sat, 12 Apr 2014 21:21:40 +0000 (21:21 +0000)]
uboot-lantiq: enable parallel building

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40488

10 years agouboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
John Crispin [Sat, 12 Apr 2014 21:21:35 +0000 (21:21 +0000)]
uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40487

10 years agouboot-lantiq: add packages for AudioCodes MP-252
John Crispin [Sat, 12 Apr 2014 21:21:31 +0000 (21:21 +0000)]
uboot-lantiq: add packages for AudioCodes MP-252

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40486

10 years agouboot-lantiq: add packages for various Arcadyan boards
John Crispin [Sat, 12 Apr 2014 21:21:26 +0000 (21:21 +0000)]
uboot-lantiq: add packages for various Arcadyan boards

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40485

10 years agouboot-lantiq: add packages for Lantiq EASY80920
John Crispin [Sat, 12 Apr 2014 21:21:23 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY80920

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40484

10 years agouboot-lantiq: add packages for Lantiq EASY50712
John Crispin [Sat, 12 Apr 2014 21:21:18 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY50712

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40483

10 years agouboot-lantiq: update to v2013.10
John Crispin [Sat, 12 Apr 2014 21:21:14 +0000 (21:21 +0000)]
uboot-lantiq: update to v2013.10

Patches created from tree:
git@github.com:danielschwierzeck/u-boot-lantiq.git
v2013.10..u-boot-lantiq-v2013.10-openwrt4

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40482

10 years agoar71xx: build firmware image for the WNDR3700 v4 board
Gabor Juhos [Sat, 12 Apr 2014 20:22:41 +0000 (20:22 +0000)]
ar71xx: build firmware image for the WNDR3700 v4 board

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40481

10 years agoar71xx/image: allow to use more arguments for some macros
Gabor Juhos [Sat, 12 Apr 2014 20:00:37 +0000 (20:00 +0000)]
ar71xx/image: allow to use more arguments for some macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40480

10 years agoar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
Gabor Juhos [Sat, 12 Apr 2014 19:58:23 +0000 (19:58 +0000)]
ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files

Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40479

10 years agoar71xx: wndr4300: enable 5V power for the USB port
Gabor Juhos [Sat, 12 Apr 2014 19:58:20 +0000 (19:58 +0000)]
ar71xx: wndr4300: enable 5V power for the USB port

The 5V power of the USB is controlled by a GPIO pin of
the external WiFi chip. Setup the GPIO bitmasks in the
platform data of the WiFi chip to ensure that the 5V
power gets enabled by the ath9k driver.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40478

10 years agoar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Gabor Juhos [Sat, 12 Apr 2014 17:53:34 +0000 (17:53 +0000)]
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40477

10 years agoar71xx: add default LED config for WiFi LEDs on the WNDR4300
Gabor Juhos [Sat, 12 Apr 2014 17:42:36 +0000 (17:42 +0000)]
ar71xx: add default LED config for WiFi LEDs on the WNDR4300

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40476

10 years agoar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Gabor Juhos [Sat, 12 Apr 2014 17:42:35 +0000 (17:42 +0000)]
ar71xx: wndr4300: add LED for 2.4Ghz wifi interface

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40475

10 years agoar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
Gabor Juhos [Sat, 12 Apr 2014 17:42:34 +0000 (17:42 +0000)]
ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs

The bootloader does not initializes the output function
correctly for all LEDs. DO that from the board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40474

10 years agoar71xx: wndr4300: change 'orange' to 'amber' in LED color names
Gabor Juhos [Sat, 12 Apr 2014 17:42:33 +0000 (17:42 +0000)]
ar71xx: wndr4300: change 'orange' to 'amber' in LED color names

The hardware manual says amber so change the color part of
the LED names to reflect that. Also update the constant names.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40473

10 years agoar71xx: fix typos in TP-Link rssileds definition
Gabor Juhos [Sat, 12 Apr 2014 16:01:45 +0000 (16:01 +0000)]
ar71xx: fix typos in TP-Link rssileds definition

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/5109/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40472

10 years agoar71xx: add rssileds for Ubiquiti XM boards
Gabor Juhos [Sat, 12 Apr 2014 16:01:43 +0000 (16:01 +0000)]
ar71xx: add rssileds for Ubiquiti XM boards

Adds support for the received signal strength indicator LEDs of the
Bullet M, Nanostation M and Rocket M devices.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/5108/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40471

10 years agokernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed
Felix Fietkau [Sat, 12 Apr 2014 15:43:17 +0000 (15:43 +0000)]
kernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed

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

10 years agohostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
Felix Fietkau [Sat, 12 Apr 2014 14:28:34 +0000 (14:28 +0000)]
hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)

r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but
apparently did not provide a default value 0.

When that option's non-existing value is later evaluated in
/lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in
syslog if user has not set the wps_pbc_in_m1 option. The error materialises
only if user has enabled wps.
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number

Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3

Error is caused by line 282:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282

My patch sets the parameter's default value to 0, which does nothing. The
default might also be set a bit later in the function, but this felt like the
most clear place to do that.

Signed-off-by hnyman <hannu.nyman@iki.fi>

SVN-Revision: 40469

10 years agox86/net5501: remove broken flag
Gabor Juhos [Sat, 12 Apr 2014 12:05:18 +0000 (12:05 +0000)]
x86/net5501: remove broken flag

According to Christophe, the kernel boots on the Soekris net5501
board.

Reported-by: Christophe Prevotaux <cprevotaux@nltinc.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40468

10 years agokernel: update 3.10 to 3.10.36
Gabor Juhos [Sat, 12 Apr 2014 11:59:07 +0000 (11:59 +0000)]
kernel: update 3.10 to 3.10.36

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40467

10 years agoar71xx: fix image generation
Gabor Juhos [Sat, 12 Apr 2014 11:59:05 +0000 (11:59 +0000)]
ar71xx: fix image generation

Move the comments out from the shell script to fix build
breakage introduced in r40464.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40466

10 years agoar71xx: avoid spurious restarts caused by the watchdog on AR934x
Gabor Juhos [Sat, 12 Apr 2014 10:21:04 +0000 (10:21 +0000)]
ar71xx: avoid spurious restarts caused by the watchdog on AR934x

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40465