openwrt.git
9 years agoiwinfo: fix secondary radios being misreported as ralink device
jow [Fri, 25 Jul 2014 14:36:43 +0000 (14:36 +0000)]
iwinfo: fix secondary radios being misreported as ralink device

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41829 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: prevent spurious 20/40 mhz channel bandwidth switches if noscan is enabled
nbd [Fri, 25 Jul 2014 14:29:58 +0000 (14:29 +0000)]
hostapd: prevent spurious 20/40 mhz channel bandwidth switches if noscan is enabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41828 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: merge a few WDS-AP related fixes (#14756, #16802)
nbd [Fri, 25 Jul 2014 14:24:03 +0000 (14:24 +0000)]
mac80211: merge a few WDS-AP related fixes (#14756, #16802)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41827 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: continue scanning even if temporary mac cannot be changed
jow [Fri, 25 Jul 2014 14:11:50 +0000 (14:11 +0000)]
iwinfo: continue scanning even if temporary mac cannot be changed

So far iwinfo aborted a wifi scan attempt if the mac of the spawned
interface could not be changed. Change the code to try anyway - this
should fix wifi scanning on RaLink devices.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41826 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: Fix some race-conditions in interface handling
cyrus [Thu, 24 Jul 2014 22:05:19 +0000 (22:05 +0000)]
netifd: Fix some race-conditions in interface handling

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

9 years agoimagebuilder: fix typo that copied grub to the wrong folder
blogic [Thu, 24 Jul 2014 15:46:12 +0000 (15:46 +0000)]
imagebuilder: fix typo that copied grub to the wrong folder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41824 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosoftwires: redesign dhcp(v6) provisioning
cyrus [Thu, 24 Jul 2014 14:17:41 +0000 (14:17 +0000)]
softwires: redesign dhcp(v6) provisioning

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41823 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[mac80211]: package the mwifiex-pcie driver
kaloz [Thu, 24 Jul 2014 10:18:06 +0000 (10:18 +0000)]
[mac80211]: package the mwifiex-pcie driver

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41820 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: annotate bridge multicast backport patch with upstream commits
nbd [Thu, 24 Jul 2014 09:19:37 +0000 (09:19 +0000)]
kernel: annotate bridge multicast backport patch with upstream commits

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41819 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, enables bridge multicast querier and fixes...
nbd [Thu, 24 Jul 2014 09:13:04 +0000 (09:13 +0000)]
netifd: update to the latest version, enables bridge multicast querier and fixes interface reload issues with wifi

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41818 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: backport upstream bridge multicast snooping fixes
nbd [Thu, 24 Jul 2014 09:12:59 +0000 (09:12 +0000)]
kernel: backport upstream bridge multicast snooping fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41817 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: don't lose downstream routes for managed PD
cyrus [Wed, 23 Jul 2014 21:14:56 +0000 (21:14 +0000)]
odhcpd: don't lose downstream routes for managed PD

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

9 years agoath9k: fix a long standing aggregation related tx lockup
nbd [Wed, 23 Jul 2014 13:44:44 +0000 (13:44 +0000)]
ath9k: fix a long standing aggregation related tx lockup

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41815 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[ar71xx]: add support for the archer c5
kaloz [Wed, 23 Jul 2014 12:47:25 +0000 (12:47 +0000)]
[ar71xx]: add support for the archer c5

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[ar71xx]: refresh patches
kaloz [Wed, 23 Jul 2014 11:46:42 +0000 (11:46 +0000)]
[ar71xx]: refresh patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41812 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix gpio mapping on MZK-750DHP
blogic [Wed, 23 Jul 2014 07:49:54 +0000 (07:49 +0000)]
ramips: fix gpio mapping on MZK-750DHP

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41811 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
blogic [Wed, 23 Jul 2014 07:49:50 +0000 (07:49 +0000)]
ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41810 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix LED configuration for HiWiFi-HC6361.
blogic [Wed, 23 Jul 2014 07:46:07 +0000 (07:46 +0000)]
ar71xx: fix LED configuration for HiWiFi-HC6361.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41809 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: revert NDP relay rewrite (performance issue still fixed)
cyrus [Tue, 22 Jul 2014 21:52:20 +0000 (21:52 +0000)]
odhcpd: revert NDP relay rewrite (performance issue still fixed)

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

9 years agomac80211: b43: update b43 to version master-2014-07-22
hauke [Tue, 22 Jul 2014 21:42:07 +0000 (21:42 +0000)]
mac80211: b43: update b43 to version master-2014-07-22

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41805 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update bcma and ssb to version master-2014-07-22
hauke [Tue, 22 Jul 2014 21:40:41 +0000 (21:40 +0000)]
kernel: update bcma and ssb to version master-2014-07-22

This is a backport of bcma and ssb from wireless-tesing/master tag
master-2014-07-22.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41804 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix a null pointer deref when querying station info when rate control is...
nbd [Tue, 22 Jul 2014 19:05:19 +0000 (19:05 +0000)]
mac80211: fix a null pointer deref when querying station info when rate control is not initialized (#17061)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41801 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add a profile for AWM003
blogic [Tue, 22 Jul 2014 09:58:21 +0000 (09:58 +0000)]
ramips: add a profile for AWM003

same as AWM002 but with 64mb RAM

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41797 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: fix typo in ubus integration (thanks Markus Stenberg)
cyrus [Mon, 21 Jul 2014 21:57:15 +0000 (21:57 +0000)]
odhcpd: fix typo in ubus integration (thanks Markus Stenberg)

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

9 years agoar71xx: fix WAN MAC setup on dir-825-c1
blogic [Mon, 21 Jul 2014 19:26:54 +0000 (19:26 +0000)]
ar71xx: fix WAN MAC setup on dir-825-c1

Changeset 38690 broke the WAN MAC setup. Here's the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41795 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Register reset button on UBNT AirGW
blogic [Mon, 21 Jul 2014 19:26:50 +0000 (19:26 +0000)]
ar71xx: Register reset button on UBNT AirGW

The airGateway has a reset button connected to GPIO 12, so we should use it.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41794 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Fix GL.iNet WLAN LED
blogic [Mon, 21 Jul 2014 19:26:46 +0000 (19:26 +0000)]
ar71xx: Fix GL.iNet WLAN LED

LED script expects WLAN LED to be "gl-connect:red:wlan".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41793 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/linux/*/image/Makefile: eliminate more LINUX_DIR users
blogic [Mon, 21 Jul 2014 18:42:11 +0000 (18:42 +0000)]
target/linux/*/image/Makefile: eliminate more LINUX_DIR users

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41792 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/linux/*/image/Makefile: use new dts path variable
blogic [Mon, 21 Jul 2014 18:42:06 +0000 (18:42 +0000)]
target/linux/*/image/Makefile: use new dts path variable

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41791 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimagebuilder: copy dts folder
blogic [Mon, 21 Jul 2014 18:42:00 +0000 (18:42 +0000)]
imagebuilder: copy dts folder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41790 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude/image.mk: add a path variable for the dts folder
blogic [Mon, 21 Jul 2014 18:41:56 +0000 (18:41 +0000)]
include/image.mk: add a path variable for the dts folder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41789 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
blogic [Mon, 21 Jul 2014 18:41:52 +0000 (18:41 +0000)]
ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq-dsl: add 2 ugly workarounds for the IB to work
blogic [Mon, 21 Jul 2014 18:41:46 +0000 (18:41 +0000)]
lantiq-dsl: add 2 ugly workarounds for the IB to work

the IB tries to run the enable target on all init.d scripts.
It fails when including the dsl_control helper. Check for existence
prior to the include.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41787 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: Send RS with source link-layer address if possible
cyrus [Mon, 21 Jul 2014 10:11:09 +0000 (10:11 +0000)]
odhcp6c: Send RS with source link-layer address if possible

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

9 years agokernel: refresh 3.10 patches
blogic [Sun, 20 Jul 2014 17:31:15 +0000 (17:31 +0000)]
kernel: refresh 3.10 patches

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41777 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update to 3.10.49
blogic [Sun, 20 Jul 2014 17:31:11 +0000 (17:31 +0000)]
kernel: update to 3.10.49
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: create profile and build image for the OpenMesh OM5P board
blogic [Sun, 20 Jul 2014 17:31:05 +0000 (17:31 +0000)]
ar71xx: create profile and build image for the OpenMesh OM5P board

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41775 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/uboot-envtools: add OpenMesh OM5P support
blogic [Sun, 20 Jul 2014 17:31:00 +0000 (17:31 +0000)]
package/uboot-envtools: add OpenMesh OM5P support

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41774 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/om-watchdog: add OpenMesh OM5P support
blogic [Sun, 20 Jul 2014 17:30:56 +0000 (17:30 +0000)]
package/om-watchdog: add OpenMesh OM5P support

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41773 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: enable sysupgrade for the OpenMesh OM5P
blogic [Sun, 20 Jul 2014 17:30:52 +0000 (17:30 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41772 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts/om-fwupgradecfg-gen.sh: add support for the OM5P
blogic [Sun, 20 Jul 2014 17:30:48 +0000 (17:30 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41771 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add user-space support for the OpenMesh OM5P
blogic [Sun, 20 Jul 2014 17:30:44 +0000 (17:30 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41770 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add kernel support for the OpenMesh OM5P board
blogic [Sun, 20 Jul 2014 17:30:32 +0000 (17:30 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P board

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41769 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix mac address partitions on ASL-26555
blogic [Sun, 20 Jul 2014 17:30:28 +0000 (17:30 +0000)]
ramips: fix mac address partitions on ASL-26555

ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41768 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add RB91x boards to uci-defaults 02_network
blogic [Sun, 20 Jul 2014 17:30:24 +0000 (17:30 +0000)]
ar71xx: add RB91x boards to uci-defaults 02_network

The default case in 02_network is inappropriate for the MikroTik RouterBOARD 91x boards because they do not have a WAN port, so don't bother setting the non-existent eth1 interface as the WAN port.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41767 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Add UBNT airGateway support
blogic [Sun, 20 Jul 2014 17:30:17 +0000 (17:30 +0000)]
ar71xx: Add UBNT airGateway support

This patch adds support for the Ubiquiti Networks airGateway.

Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel:
  https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41766 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoorion: Update kernel to 3.10.44
hauke [Sun, 20 Jul 2014 09:42:14 +0000 (09:42 +0000)]
orion: Update kernel to 3.10.44

Update the kernel of the orion target to version 3.10.44.
Refresh orion config and patches to match the changes in the kernel

Tested on WRT350N-v2 device.

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
[run make kernel_oldconfig, fold a01-dt2-fixes-for-3.3.patch into dt2-setup.c,
 make dt2-setup.c compile, fix harddisk subprofile]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41765 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86: add back a line accidentally removed in r41763
nbd [Sun, 20 Jul 2014 08:20:14 +0000 (08:20 +0000)]
x86: add back a line accidentally removed in r41763

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41764 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select...
nbd [Sun, 20 Jul 2014 08:18:50 +0000 (08:18 +0000)]
x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41763 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[mac80211]: fix typo
kaloz [Sat, 19 Jul 2014 20:14:49 +0000 (20:14 +0000)]
[mac80211]: fix typo

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41762 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agousbmode: update to latest git and also update the device database
blogic [Sat, 19 Jul 2014 16:57:09 +0000 (16:57 +0000)]
usbmode: update to latest git and also update the device database

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41761 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: implement support for abritary netmasks
jow [Sat, 19 Jul 2014 16:30:47 +0000 (16:30 +0000)]
firewall: implement support for abritary netmasks

Properly parse and pass arbritary netmasks to iptables, this allows
specifying ranges like '::c23f:eff:fe7a:a094/::ffff:ffff:ffff:ffff' to
match the host part of an IPv6 address regardless of the currently active
IPv6 prefix.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41760 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[ar71xx]: extract and fixup the board.bin on the archer
kaloz [Sat, 19 Jul 2014 13:20:14 +0000 (13:20 +0000)]
[ar71xx]: extract and fixup the board.bin on the archer

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[mac80211]: allow ath10k to initialize using the board.bin contents
kaloz [Sat, 19 Jul 2014 13:18:59 +0000 (13:18 +0000)]
[mac80211]: allow ath10k to initialize using the board.bin contents

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41756 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopxa: add support for kernel 3.10
hauke [Fri, 18 Jul 2014 20:45:49 +0000 (20:45 +0000)]
pxa: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41737 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocobalt: add support for kernel 3.10
hauke [Fri, 18 Jul 2014 19:03:16 +0000 (19:03 +0000)]
cobalt: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41736 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, fixes hotplug firmware loading issues
nbd [Fri, 18 Jul 2014 14:42:18 +0000 (14:42 +0000)]
procd: update to the latest version, fixes hotplug firmware loading issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41735 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolzo: enable parallel build
nbd [Fri, 18 Jul 2014 14:42:15 +0000 (14:42 +0000)]
lzo: enable parallel build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41734 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: mtd: allow partial block erase
nbd [Fri, 18 Jul 2014 14:36:38 +0000 (14:36 +0000)]
kernel: mtd: allow partial block erase

This fixes error erasing partial mtd partition which does not start on
eraseblock boundary and allows using fconfig to configure redboot on
devices such as the Gateworks Cambria.

Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41733 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, adds a small validation fix
nbd [Fri, 18 Jul 2014 11:45:42 +0000 (11:45 +0000)]
netifd: update to the latest version, adds a small validation fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41731 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoqos-scripts: convert to procd
nbd [Fri, 18 Jul 2014 11:25:07 +0000 (11:25 +0000)]
qos-scripts: convert to procd

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41730 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolzo: Update to version 2.08
hauke [Thu, 17 Jul 2014 22:06:04 +0000 (22:06 +0000)]
lzo: Update to version 2.08

lzo: Update to 2.08, fixes CVE-2014-4607

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41707 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix switch detection with kernel 3.14
hauke [Thu, 17 Jul 2014 20:34:18 +0000 (20:34 +0000)]
brcm47xx: fix switch detection with kernel 3.14

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41706 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: rewrite NDP proxy feature
cyrus [Thu, 17 Jul 2014 19:11:17 +0000 (19:11 +0000)]
odhcpd: rewrite NDP proxy feature

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

9 years agokernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
nbd [Thu, 17 Jul 2014 16:44:04 +0000 (16:44 +0000)]
kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling

Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41702 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: update macroses names
nbd [Thu, 17 Jul 2014 16:36:55 +0000 (16:36 +0000)]
atheros: update macroses names

Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips,
use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips,
and use AR231X_ prefix for common macroses.

This patch should not cause any functional changes, only make clear
which macros is common and which macros is specific.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41701 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[uart]: pass only physical I/O mem address to 8250 driver
nbd [Thu, 17 Jul 2014 16:36:52 +0000 (16:36 +0000)]
atheros[uart]: pass only physical I/O mem address to 8250 driver

Pass only physical address to 8250 serial port driver and set flag to
remap I/O memory inside the driver. Also fix AR5312 UART base address
definition, which seems specified already mapped.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41700 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[uart]: use 32-bit aligned I/O
nbd [Thu, 17 Jul 2014 16:36:49 +0000 (16:36 +0000)]
atheros[uart]: use 32-bit aligned I/O

Use 32-bit aligned I/O and update base UART address (remove +3 offset).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41699 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar231x-eth]: pass PHY I/O memory via device resources
nbd [Thu, 17 Jul 2014 16:36:46 +0000 (16:36 +0000)]
atheros[ar231x-eth]: pass PHY I/O memory via device resources

Pass PHY I/O memory region via platform resources and remap them
unconditionally.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41698 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar231x-eth]: pass phys address of I/O memory via platform res
nbd [Thu, 17 Jul 2014 16:36:43 +0000 (16:36 +0000)]
atheros[ar231x-eth]: pass phys address of I/O memory via platform res

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41697 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: simplify gpiolib realization
nbd [Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)]
atheros: simplify gpiolib realization

Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
 * Remove valid_mask field
 * Remove ar231x_gpio_chip structure
 * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
 * Fix count of AR5312 GPIOs
 * Simplify gpio_chip methods realization

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41696 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: use irq_set_chained_handler()
nbd [Thu, 17 Jul 2014 16:36:36 +0000 (16:36 +0000)]
atheros: use irq_set_chained_handler()

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41695 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: simplify AR2315 misc IRQ (un)masking
nbd [Thu, 17 Jul 2014 16:36:33 +0000 (16:36 +0000)]
atheros: simplify AR2315 misc IRQ (un)masking

Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41694 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: rename some interrupt control handlers
nbd [Thu, 17 Jul 2014 16:36:30 +0000 (16:36 +0000)]
atheros: rename some interrupt control handlers

Rename interrupt control handlers to be consistent with operation names
and add IRQ chips names.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41693 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: move AR2315 misc IRQ dispatching to separate function
nbd [Thu, 17 Jul 2014 16:36:26 +0000 (16:36 +0000)]
atheros: move AR2315 misc IRQ dispatching to separate function

Align code with AR5312 realization.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41692 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: pass UART IRQ number via function argument
nbd [Thu, 17 Jul 2014 16:36:23 +0000 (16:36 +0000)]
atheros: pass UART IRQ number via function argument

UART IRQ number could be different for different SoCs, so make them
configurable.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41691 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar231x-eth]: move driver to atheros subdirectory
nbd [Thu, 17 Jul 2014 16:36:19 +0000 (16:36 +0000)]
atheros[ar231x-eth]: move driver to atheros subdirectory

Move driver code to respective vendor subdirectory and fix config
symbol name.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41690 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar231x-eth]: update MAC and PHY reset method
nbd [Thu, 17 Jul 2014 16:36:16 +0000 (16:36 +0000)]
atheros[ar231x-eth]: update MAC and PHY reset method

Pass reset_set and reset_clear callback functions pointers via
platform_data instead of reset register address.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41689 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar2315-wdt]: update I/O handling
nbd [Thu, 17 Jul 2014 16:36:13 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: update I/O handling

 * Pass iomem and IRQ via platform device resources
 * Remap iomem and use iowrite32 accessor function

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41688 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar2315-wdt]: update interrupt handling
nbd [Thu, 17 Jul 2014 16:36:10 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: update interrupt handling

Acknowledge watchdog interrupt in arch irq dispatcher and remove odd
watchdog enable call from probe function.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41687 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: use correct address space and pointer type for register access
nbd [Thu, 17 Jul 2014 16:36:07 +0000 (16:36 +0000)]
atheros: use correct address space and pointer type for register access

Make sparse happy :)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41686 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar2315-wdt]: rename config symbol
nbd [Thu, 17 Jul 2014 16:36:03 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: rename config symbol

Rename config symbol to AR2315_WDT to avoid confusion with other Atheros
SoCs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41685 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros[ar2315-wdt]: update initialization
nbd [Thu, 17 Jul 2014 16:35:59 +0000 (16:35 +0000)]
atheros[ar2315-wdt]: update initialization

 * update driver id to be consistent with other ar231x drivers
 * remove odd module_{init,exit}
 * add module metadata (description, name, etc.)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41684 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, enables igmp snooping by default
nbd [Thu, 17 Jul 2014 14:55:17 +0000 (14:55 +0000)]
netifd: update to the latest version, enables igmp snooping by default

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41683 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoqos-scripts: fix ingress packet marking with ifb
nbd [Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)]
qos-scripts: fix ingress packet marking with ifb

Split connection mark into two parts:

The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.

For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41682 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: soc wmac eeprom cleanup
blogic [Thu, 17 Jul 2014 10:55:31 +0000 (10:55 +0000)]
ramips: soc wmac eeprom cleanup

Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoep93xx: add support for kernel 3.10
hauke [Wed, 16 Jul 2014 21:29:16 +0000 (21:29 +0000)]
ep93xx: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41679 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add CONFIG_I2C_AU1550 config option
hauke [Wed, 16 Jul 2014 20:45:20 +0000 (20:45 +0000)]
kernel: add CONFIG_I2C_AU1550 config option

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41678 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add new b43 config option to issue rebuild
hauke [Wed, 16 Jul 2014 20:30:30 +0000 (20:30 +0000)]
mac80211: add new b43 config option to issue rebuild

With this patch mac80211 will be rebuild when one of these config
options was changed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41677 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: b43: fix PHY_G support.
hauke [Wed, 16 Jul 2014 20:28:08 +0000 (20:28 +0000)]
mac80211: b43: fix PHY_G support.

I missed adding B43_PHY_G to .local-symbols, without this it will not
be added to autoconf.h

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41676 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: fix crash on parsing mtd (#15807)
nbd [Wed, 16 Jul 2014 18:57:23 +0000 (18:57 +0000)]
iwinfo: fix crash on parsing mtd (#15807)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41675 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibubox: update to the latest version, fixes a jshn parsing error (#17128)
nbd [Wed, 16 Jul 2014 18:35:25 +0000 (18:35 +0000)]
libubox: update to the latest version, fixes a jshn parsing error (#17128)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41674 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: add a fix for tx pending frame accounting, fixes some tx hang issues
nbd [Wed, 16 Jul 2014 18:26:21 +0000 (18:26 +0000)]
ath9k: add a fix for tx pending frame accounting, fixes some tx hang issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41673 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: fix board_id/boardname for VGV7519
blogic [Wed, 16 Jul 2014 11:36:02 +0000 (11:36 +0000)]
lantiq: fix board_id/boardname for VGV7519

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41672 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: re-add 0041-lzma-fixup.patch to uboot
blogic [Wed, 16 Jul 2014 10:43:44 +0000 (10:43 +0000)]
lantiq: re-add 0041-lzma-fixup.patch to uboot

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41671 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoau1000: remove linux 3.6 support
nbd [Wed, 16 Jul 2014 06:55:19 +0000 (06:55 +0000)]
au1000: remove linux 3.6 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41670 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoau1000: update to kernel 3.10.44
hauke [Tue, 15 Jul 2014 22:03:10 +0000 (22:03 +0000)]
au1000: update to kernel 3.10.44

This was tested by Bruno Randolf on au1000 (MTX-1)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41669 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: b43: backport b43 patches from wireless testing
hauke [Tue, 15 Jul 2014 21:58:03 +0000 (21:58 +0000)]
mac80211: b43: backport b43 patches from wireless testing

This brings b43 up to wireless-testing/master master-2014-07-15

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41668 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: remove kmod-bgmac from profile
hauke [Tue, 15 Jul 2014 21:57:13 +0000 (21:57 +0000)]
brcm47xx: remove kmod-bgmac from profile

bgmac will be compiled into the kernel since r41594.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41667 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix LEDs on WRT54GL 1.1
hauke [Tue, 15 Jul 2014 21:54:38 +0000 (21:54 +0000)]
brcm47xx: fix LEDs on WRT54GL 1.1

Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41666 3c298f89-4303-0410-b956-a3cf2f4a3e73