openwrt.git
8 years agoubox: update to git head
jow [Fri, 16 Aug 2013 13:14:21 +0000 (13:14 +0000)]
ubox: update to git head

- support mounting swap files from /etc/config/fstab
- support mounting swap partitions by label

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

8 years agoubox: update to git head
jow [Fri, 16 Aug 2013 11:18:39 +0000 (11:18 +0000)]
ubox: update to git head

- adds support for generic mount options

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

8 years agoprocd: update to git head
jow [Fri, 16 Aug 2013 09:29:37 +0000 (09:29 +0000)]
procd: update to git head

- terminates uloop after forking in service manager
- redirects stdio to /dev/null for services executed from procd

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

8 years agoRevert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
jow [Fri, 16 Aug 2013 09:29:31 +0000 (09:29 +0000)]
Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"

This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.

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

8 years ago[tools] xz: upgrade to 5.0.5
luka [Fri, 16 Aug 2013 00:19:21 +0000 (00:19 +0000)]
[tools] xz: upgrade to 5.0.5

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37797 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] mtools: upgrade to 4.0.18
luka [Fri, 16 Aug 2013 00:19:20 +0000 (00:19 +0000)]
[tools] mtools: upgrade to 4.0.18

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37796 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] mm-macros: upgrade to 0.9.6
luka [Fri, 16 Aug 2013 00:19:18 +0000 (00:19 +0000)]
[tools] mm-macros: upgrade to 0.9.6

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37795 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] cmake: upgrade to 2.8.11.2
luka [Fri, 16 Aug 2013 00:19:17 +0000 (00:19 +0000)]
[tools] cmake: upgrade to 2.8.11.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37794 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: merge upstream change to fix mesh rssi thresholds
nbd [Thu, 15 Aug 2013 13:57:11 +0000 (13:57 +0000)]
mac80211: merge upstream change to fix mesh rssi thresholds

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

8 years agoprocd: update to git head
jow [Thu, 15 Aug 2013 10:33:52 +0000 (10:33 +0000)]
procd: update to git head

- terminates uloop after forking in hotplug handler
- redirects stdio to /dev/null for processes executed from hotplug

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

8 years agokernel: fix a small #ifdef bug in the noncoherent dma check rework
nbd [Thu, 15 Aug 2013 09:29:53 +0000 (09:29 +0000)]
kernel: fix a small #ifdef bug in the noncoherent dma check rework

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

8 years agokernel: improve dma ops inlining patches
nbd [Thu, 15 Aug 2013 09:23:07 +0000 (09:23 +0000)]
kernel: improve dma ops inlining patches

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

8 years agouboot-envtools: add support for hornet-ub-x2
luka [Thu, 15 Aug 2013 00:57:48 +0000 (00:57 +0000)]
uboot-envtools: add support for hornet-ub-x2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37789 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for hornet-ub-x2
luka [Thu, 15 Aug 2013 00:57:47 +0000 (00:57 +0000)]
ar71xx: add support for hornet-ub-x2

The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37788 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocloog: upgrade to 0.18.0
luka [Wed, 14 Aug 2013 23:23:25 +0000 (23:23 +0000)]
cloog: upgrade to 0.18.0

Signed-off-by: Luka Perkov <lperkov@cisco.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37787 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoppl: upgrade to 1.0
luka [Wed, 14 Aug 2013 23:23:23 +0000 (23:23 +0000)]
ppl: upgrade to 1.0

Signed-off-by: Luka Perkov <lperkov@cisco.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37786 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: DIR-610-A1 Support
blogic [Wed, 14 Aug 2013 19:35:27 +0000 (19:35 +0000)]
ramips: DIR-610-A1 Support

http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37785 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix typo in network uci_defaults script
blogic [Wed, 14 Aug 2013 19:08:55 +0000 (19:08 +0000)]
ramips: fix typo in network uci_defaults script

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

8 years agoramips: dts file cleanup
blogic [Wed, 14 Aug 2013 19:08:44 +0000 (19:08 +0000)]
ramips: dts file cleanup

cleanup some inconsistencies in the dts files

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

8 years agoar71xx: fix TL-WR710N board detection
blogic [Wed, 14 Aug 2013 18:15:58 +0000 (18:15 +0000)]
ar71xx: fix TL-WR710N board detection

Fix for recognize TL-WR710N

http://patchwork.openwrt.org/patch/3946/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37782 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Fix factory image for DIR 505 A1
blogic [Wed, 14 Aug 2013 18:15:49 +0000 (18:15 +0000)]
ar71xx: Fix factory image for DIR 505 A1

Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.

http://patchwork.openwrt.org/patch/3945/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37781 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for dir810l and asus rp-n53
blogic [Wed, 14 Aug 2013 18:15:35 +0000 (18:15 +0000)]
ramips: add support for dir810l and asus rp-n53

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

8 years agoramips: various updates to the mt7620 dtsi file
blogic [Wed, 14 Aug 2013 18:15:26 +0000 (18:15 +0000)]
ramips: various updates to the mt7620 dtsi file

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

8 years agoramips: update v3.10 patches
blogic [Wed, 14 Aug 2013 18:15:15 +0000 (18:15 +0000)]
ramips: update v3.10 patches

Sync the patches with those sent upstream for v3.12.

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

8 years agofirewall: update to git head
jow [Wed, 14 Aug 2013 15:40:38 +0000 (15:40 +0000)]
firewall: update to git head

- uses "-j CT --notrack" instead of deprecated "-j NOTRACK"
- fixes support for rule sections with target "NOTRACK"

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

8 years agobuild: fix typo in mips16 changes
nbd [Wed, 14 Aug 2013 14:55:49 +0000 (14:55 +0000)]
build: fix typo in mips16 changes

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

8 years agodisable mips16 for a few packages that don't compile with it
nbd [Wed, 14 Aug 2013 14:29:15 +0000 (14:29 +0000)]
disable mips16 for a few packages that don't compile with it

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

8 years agopolarssl: disable mips16
nbd [Wed, 14 Aug 2013 13:02:36 +0000 (13:02 +0000)]
polarssl: disable mips16

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

8 years agoopenssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with...
nbd [Wed, 14 Aug 2013 13:02:33 +0000 (13:02 +0000)]
openssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with cflags directly

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

8 years agobuild: decouple the mips16 support flag from the toolchain
nbd [Wed, 14 Aug 2013 13:02:29 +0000 (13:02 +0000)]
build: decouple the mips16 support flag from the toolchain

Add the flags from package.mk instead, and leave libc and gcc
unaffected.

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

8 years agoocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize...
nbd [Wed, 14 Aug 2013 08:52:19 +0000 (08:52 +0000)]
ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible

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

8 years agoath9k: merge a few more cleanups/fixes
nbd [Tue, 13 Aug 2013 10:35:18 +0000 (10:35 +0000)]
ath9k: merge a few more cleanups/fixes

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

8 years agoath9k: reorganize patches
nbd [Tue, 13 Aug 2013 10:35:14 +0000 (10:35 +0000)]
ath9k: reorganize patches

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

8 years agoar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
nbd [Tue, 13 Aug 2013 10:35:10 +0000 (10:35 +0000)]
ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint

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

8 years agomac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed...
nbd [Tue, 13 Aug 2013 10:35:04 +0000 (10:35 +0000)]
mac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed-freq, fixed-bssid

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

8 years agokernel: add patch to inline mips dma mapping functions - reduces code size and improv...
nbd [Mon, 12 Aug 2013 17:26:08 +0000 (17:26 +0000)]
kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance

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

8 years agoar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
nbd [Mon, 12 Aug 2013 17:26:03 +0000 (17:26 +0000)]
ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint

256 entries is a bit excessive, even for gigabit speeds

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

8 years agoar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in...
nbd [Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)]
ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion

Improves ethernet performance, especially during bridging

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

8 years agortl8367: add support for configuring the VLAN FID
nbd [Mon, 12 Aug 2013 17:25:25 +0000 (17:25 +0000)]
rtl8367: add support for configuring the VLAN FID

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

8 years agoar71xx: fix typo
nbd [Mon, 12 Aug 2013 12:41:53 +0000 (12:41 +0000)]
ar71xx: fix typo

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

8 years agoar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no...
nbd [Mon, 12 Aug 2013 11:44:35 +0000 (11:44 +0000)]
ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done

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

8 years agoar71xx: ethernet: do not update the unused dev->last_rx field
nbd [Mon, 12 Aug 2013 11:44:31 +0000 (11:44 +0000)]
ar71xx: ethernet: do not update the unused dev->last_rx field

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

8 years agoar71xx: add missing return statement in ethernet mtu change op
nbd [Mon, 12 Aug 2013 11:44:28 +0000 (11:44 +0000)]
ar71xx: add missing return statement in ethernet mtu change op

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

8 years agokernel: remove imx-sdma-fw because of license issues
luka [Mon, 12 Aug 2013 10:48:05 +0000 (10:48 +0000)]
kernel: remove imx-sdma-fw because of license issues

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37755 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: use kmod-imx-sdma-fw-imx6 by default
luka [Sun, 11 Aug 2013 15:10:44 +0000 (15:10 +0000)]
imx6: use kmod-imx-sdma-fw-imx6 by default

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37754 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add imx-sdma-fw package
luka [Sun, 11 Aug 2013 15:10:42 +0000 (15:10 +0000)]
kernel: add imx-sdma-fw package

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37753 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: fix sdma
luka [Sun, 11 Aug 2013 15:10:38 +0000 (15:10 +0000)]
imx6: fix sdma

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37752 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: mark as broken, many packages do not compile with it
nbd [Sat, 10 Aug 2013 19:16:46 +0000 (19:16 +0000)]
musl: mark as broken, many packages do not compile with it

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

8 years agox86: Fix CONFIG_X86_GRUB_SERIAL=""
nbd [Sat, 10 Aug 2013 18:35:29 +0000 (18:35 +0000)]
x86: Fix CONFIG_X86_GRUB_SERIAL=""

With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37749 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
nbd [Sat, 10 Aug 2013 15:31:38 +0000 (15:31 +0000)]
ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value

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

8 years agoath9k: fix an rx descriptor processing race condition
nbd [Sat, 10 Aug 2013 14:00:33 +0000 (14:00 +0000)]
ath9k: fix an rx descriptor processing race condition

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

8 years agomcs814x: enable POSIX file locking
florian [Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)]
mcs814x: enable POSIX file locking

opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37745 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: fix typo in version number
nbd [Thu, 8 Aug 2013 20:45:15 +0000 (20:45 +0000)]
hostapd: fix typo in version number

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

8 years agohostapd: fix ubus reconnect handling
nbd [Thu, 8 Aug 2013 20:45:12 +0000 (20:45 +0000)]
hostapd: fix ubus reconnect handling

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

8 years agoubus: update to latest version, fixes a bug in reconnect after ubusd dies
nbd [Thu, 8 Aug 2013 20:45:09 +0000 (20:45 +0000)]
ubus: update to latest version, fixes a bug in reconnect after ubusd dies

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

8 years agohostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support
nbd [Thu, 8 Aug 2013 16:24:50 +0000 (16:24 +0000)]
hostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support

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

8 years agohostapd: update to latest version (20130707)
nbd [Thu, 8 Aug 2013 16:04:19 +0000 (16:04 +0000)]
hostapd: update to latest version (20130707)

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

8 years agoinclude: cmake: pass toolchain directory to default root find path as well
jow [Wed, 7 Aug 2013 13:54:51 +0000 (13:54 +0000)]
include: cmake: pass toolchain directory to default root find path as well

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

8 years agohostapd: Settings for DAE/CoA server
nbd [Tue, 6 Aug 2013 18:55:30 +0000 (18:55 +0000)]
hostapd: Settings for DAE/CoA server

hostapd supports "Dynamic Authorization Extensions", making it possible
to forcibly disconnect a user by sending it a RADIUS "Disconnect-Request"
packet.

I've added three new variables to enable setting of the
"radius_das_client" and "radius_das_port" variables in the hostapd
configuration, which enable these extensions.

* dae_client - IP of the client that can send disconnect requests
* dae_secret - shared secret for DAE packets

These are combined into the "radius_das_client" option in hostapd.conf
To enable the server, both dae_client and dae_secret must be set.

* dae_port - optional, default value is 3799 as specified in RFC 5176

Signed-off-by: Martijn van de Streek <martijn@vandestreek.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37734 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Fix WDS/WEP usage
nbd [Tue, 6 Aug 2013 17:59:12 +0000 (17:59 +0000)]
hostapd: Fix WDS/WEP usage

WEP in WDS is currently broken in hostapd. Add a patch
to fix the issue.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37733 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Handle concurrent AP/STA beaconing properly
nbd [Tue, 6 Aug 2013 17:59:09 +0000 (17:59 +0000)]
mac80211: Handle concurrent AP/STA beaconing properly

Use the "start_disabled" option in hostapd that was added
in the earlier patch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37732 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Refresh patches
nbd [Tue, 6 Aug 2013 17:59:05 +0000 (17:59 +0000)]
hostapd: Refresh patches

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37731 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Add an option to disable beaconing
nbd [Tue, 6 Aug 2013 17:59:02 +0000 (17:59 +0000)]
hostapd: Add an option to disable beaconing

Add a patch for hostapd that introduces a config option
"start_disabled" which can be used to bring up an AP
interface with beaconing disabled. This is useful in
a Repeater-AP setup where the Repeater AP has to start
beaconing only after the WDS link has been established.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37730 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix TD-W8970 image generation to work with the new tool
blogic [Tue, 6 Aug 2013 16:25:45 +0000 (16:25 +0000)]
lantiq: fix TD-W8970 image generation to work with the new tool

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

8 years agofirmware-utils: add a tool TP-Link v2 image generation
blogic [Tue, 6 Aug 2013 16:25:35 +0000 (16:25 +0000)]
firmware-utils: add a tool TP-Link v2 image generation

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37726 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: remove v2 support
blogic [Tue, 6 Aug 2013 16:25:24 +0000 (16:25 +0000)]
firmware-utils: remove v2 support

we will use gabors patch instead

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

8 years agofirmware-utils: fix segfault introduced by v2 changes
blogic [Tue, 6 Aug 2013 14:32:50 +0000 (14:32 +0000)]
firmware-utils: fix segfault introduced by v2 changes

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37724 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: remove duplicate dir505 entry from board detection code
blogic [Tue, 6 Aug 2013 14:12:02 +0000 (14:12 +0000)]
ar71xx: remove duplicate dir505 entry from board detection code

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

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

8 years agolantiq: add support for tplink images to .../image/Makefile
blogic [Tue, 6 Aug 2013 12:31:25 +0000 (12:31 +0000)]
lantiq: add support for tplink images to .../image/Makefile

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

8 years agolantiq: make the split patch recognize the tplink header
blogic [Tue, 6 Aug 2013 12:31:20 +0000 (12:31 +0000)]
lantiq: make the split patch recognize the tplink header

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

8 years agolantiq: fix TDW8970.dts commandline and partition name
blogic [Tue, 6 Aug 2013 12:31:16 +0000 (12:31 +0000)]
lantiq: fix TDW8970.dts commandline and partition name

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

8 years agolantiq: add tplink header id to sysupgrade and fix a comment
blogic [Tue, 6 Aug 2013 12:31:10 +0000 (12:31 +0000)]
lantiq: add tplink header id to sysupgrade and fix a comment

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

8 years agofirmware-utils: add support for TDW8970 to mktplinkfw
blogic [Tue, 6 Aug 2013 12:31:06 +0000 (12:31 +0000)]
firmware-utils: add support for TDW8970 to mktplinkfw

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

8 years agofirmware-utils: add v2 header support to firmware-utils
blogic [Tue, 6 Aug 2013 12:30:52 +0000 (12:30 +0000)]
firmware-utils: add v2 header support to firmware-utils

only image build works. inspect and md5 checksum support are not implemented yet

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

8 years agoath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream...
nbd [Tue, 6 Aug 2013 10:31:10 +0000 (10:31 +0000)]
ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)

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

8 years agomac80211: refresh a patch that was using the wrong patch style
nbd [Tue, 6 Aug 2013 10:31:06 +0000 (10:31 +0000)]
mac80211: refresh a patch that was using the wrong patch style

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

8 years agomac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
nbd [Tue, 6 Aug 2013 10:31:02 +0000 (10:31 +0000)]
mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)

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

8 years agoath9k: add some more fixes for the tx queueing rework
nbd [Tue, 6 Aug 2013 10:30:58 +0000 (10:30 +0000)]
ath9k: add some more fixes for the tx queueing rework

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

8 years agolantiq: add (incomplete) support for Aztech GR7000
luka [Tue, 6 Aug 2013 10:17:16 +0000 (10:17 +0000)]
lantiq: add (incomplete) support for Aztech GR7000

*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rtlwifi depends on PCI or USB support in the Kconfig file
hauke [Mon, 5 Aug 2013 21:57:48 +0000 (21:57 +0000)]
mac80211: rtlwifi depends on PCI or USB support in the Kconfig file

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

8 years agokernel: add some missing config symbols
florian [Mon, 5 Aug 2013 20:58:05 +0000 (20:58 +0000)]
kernel: add some missing config symbols

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37710 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix DMA error when BCM4331 is connected to BCM4706
hauke [Mon, 5 Aug 2013 16:17:05 +0000 (16:17 +0000)]
kernel: fix DMA error when BCM4331 is connected to BCM4706

The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

8 years agoramips: re-implement PCI mux
juhosg [Mon, 5 Aug 2013 12:49:19 +0000 (12:49 +0000)]
ramips: re-implement PCI mux

Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37708 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: allow to build Seama firmware images with arbitrary size
juhosg [Mon, 5 Aug 2013 12:35:22 +0000 (12:35 +0000)]
ramips: allow to build Seama firmware images with arbitrary size

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37707 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add usb modules to dir 505 profile
blogic [Mon, 5 Aug 2013 11:08:30 +0000 (11:08 +0000)]
ar71xx: add usb modules to dir 505 profile

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

8 years agoocteon: add a few missing symbols to the kernel config file
blogic [Mon, 5 Aug 2013 10:42:09 +0000 (10:42 +0000)]
octeon: add a few missing symbols to the kernel config file

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

8 years agolantiq: several a803 related fixes
blogic [Mon, 5 Aug 2013 10:42:00 +0000 (10:42 +0000)]
lantiq: several a803 related fixes

based on work from Matti Laasko that he posted in the wiki

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

8 years agoar71xx: add support for dir 505 a1
blogic [Mon, 5 Aug 2013 10:41:48 +0000 (10:41 +0000)]
ar71xx: add support for dir 505 a1

this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

8 years agogpio-button-hotplug: debounce the initial button state, the first reads at boot time...
nbd [Mon, 5 Aug 2013 10:32:13 +0000 (10:32 +0000)]
gpio-button-hotplug: debounce the initial button state, the first reads at boot time might be wrong

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

8 years agoubus: fix typo
nbd [Mon, 5 Aug 2013 10:08:04 +0000 (10:08 +0000)]
ubus: fix typo

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

8 years agoubus: change section/category to base, libs
nbd [Mon, 5 Aug 2013 10:07:33 +0000 (10:07 +0000)]
ubus: change section/category to base, libs

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

8 years agomac80211: fix rt2x00 dependency
juhosg [Mon, 5 Aug 2013 09:24:19 +0000 (09:24 +0000)]
mac80211: fix rt2x00 dependency

The current dependency prevents building of the
rt2800{pci,usb} drivers for RT3883. Change the
dependency to fix this.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37699 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rt2x00: fix LED polarity patch
juhosg [Mon, 5 Aug 2013 09:09:41 +0000 (09:09 +0000)]
mac80211: rt2x00: fix LED polarity patch

The patch causes compiler warning ...

  <...>/drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_init_eeprom':
  <...>/drivers/net/wireless/rt2x00/rt2800lib.c:5971:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

... and runtime errors on PCI/USB devices:

  [   11.810000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
  [   11.830000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
  [   11.880000] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x01ff0001
  [   12.080000] usb 1-1: reset high-speed USB device number 2 using ehci-platform
  [   12.250000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detecte
  [   12.300000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 000f detected
  [   12.350000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x1a93b47
  [   12.430000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47
  [   12.480000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37698 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
juhosg [Mon, 5 Aug 2013 09:09:40 +0000 (09:09 +0000)]
mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb

Closes #13951.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37697 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix tl-wa901nd buttons code
juhosg [Mon, 5 Aug 2013 09:09:39 +0000 (09:09 +0000)]
ar71xx: fix tl-wa901nd buttons code

This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ubnt unifi outdoor register gpio button
juhosg [Mon, 5 Aug 2013 09:09:37 +0000 (09:09 +0000)]
ar71xx: ubnt unifi outdoor register gpio button

This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37695 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86: change /dev/console to tty to fix job control
blogic [Sun, 4 Aug 2013 17:05:33 +0000 (17:05 +0000)]
x86: change /dev/console to tty to fix job control

Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37693 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add rtlwifi drivers
jogo [Sun, 4 Aug 2013 15:32:36 +0000 (15:32 +0000)]
mac80211: add rtlwifi drivers

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
   usb dependencies, backport upstream fixes for Kconfig
   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37687 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: sync usb chipidea with upstream
luka [Sun, 4 Aug 2013 14:20:15 +0000 (14:20 +0000)]
imx6: sync usb chipidea with upstream

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37686 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: make the module reloc pacth work on mips64
blogic [Sun, 4 Aug 2013 13:54:42 +0000 (13:54 +0000)]
generic: make the module reloc pacth work on mips64

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