openwrt/staging/ynezz.git
11 years agokernel: crashlog: Avoid out-of-bounds write
Felix Fietkau [Wed, 21 Aug 2013 20:59:25 +0000 (20:59 +0000)]
kernel: crashlog: Avoid out-of-bounds write

vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 37820

11 years agomalta: refresh configuration
Luka Perkov [Wed, 21 Aug 2013 00:36:53 +0000 (00:36 +0000)]
malta: refresh configuration

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

11 years agoinclude: introduce subtarget_platform CONFIG_TARGET
Luka Perkov [Wed, 21 Aug 2013 00:36:52 +0000 (00:36 +0000)]
include: introduce subtarget_platform CONFIG_TARGET

Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.

Example:

$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform

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

11 years agocrypto: add missing depends for crypto-manager
Luka Perkov [Wed, 21 Aug 2013 00:36:19 +0000 (00:36 +0000)]
crypto: add missing depends for crypto-manager

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

11 years agousbmode: update to latest version, includes fix from #14062
Felix Fietkau [Tue, 20 Aug 2013 18:25:20 +0000 (18:25 +0000)]
usbmode: update to latest version, includes fix from #14062

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

11 years agouboot-env: fix spurious esac within ramips uci-defaults
Luka Perkov [Mon, 19 Aug 2013 13:01:17 +0000 (13:01 +0000)]
uboot-env: fix spurious esac within ramips uci-defaults

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 37814

11 years agoupx: upgrade to 3.09
Luka Perkov [Mon, 19 Aug 2013 01:22:29 +0000 (01:22 +0000)]
upx: upgrade to 3.09

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

11 years agompc: upgrade to 1.0.1
Luka Perkov [Mon, 19 Aug 2013 01:22:25 +0000 (01:22 +0000)]
mpc: upgrade to 1.0.1

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

11 years agokernel: add back missing declaration in the MIPS DMA patch that broke octeon
Felix Fietkau [Sun, 18 Aug 2013 05:49:57 +0000 (05:49 +0000)]
kernel: add back missing declaration in the MIPS DMA patch that broke octeon

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

11 years agokernel: drop dead pwm code
Luka Perkov [Sun, 18 Aug 2013 01:25:41 +0000 (01:25 +0000)]
kernel: drop dead pwm code

The files have last been used with 2.6.x kernel.

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

11 years agokernel: drop dead glamo code
Luka Perkov [Sun, 18 Aug 2013 01:25:40 +0000 (01:25 +0000)]
kernel: drop dead glamo code

The code is not used since the s3c24xx target was removed.

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

11 years agokernel: replace local m25p80 patches with upstream submission
Luka Perkov [Sat, 17 Aug 2013 23:54:41 +0000 (23:54 +0000)]
kernel: replace local m25p80 patches with upstream submission

http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

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

11 years agokernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
Luka Perkov [Sat, 17 Aug 2013 22:29:05 +0000 (22:29 +0000)]
kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch

The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

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

11 years agoscons: upgrade to 2.3.0
Luka Perkov [Sat, 17 Aug 2013 18:39:35 +0000 (18:39 +0000)]
scons: upgrade to 2.3.0

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

11 years agokernel: drop 110-fix_mtd_include.patch
Luka Perkov [Sat, 17 Aug 2013 17:09:41 +0000 (17:09 +0000)]
kernel: drop 110-fix_mtd_include.patch

Kernel builds just fine without this patch so we can just remove it.

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

11 years agobroadcom-diag: remove BUFFALO_UNKNOWN
Hauke Mehrtens [Sat, 17 Aug 2013 13:43:07 +0000 (13:43 +0000)]
broadcom-diag: remove BUFFALO_UNKNOWN

This was itriggered by to many non buffalo devices

This closes #14043.

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

11 years agobrcm47xx: fix typo in Broadcom-bgmac-b43 profile name
Hauke Mehrtens [Sat, 17 Aug 2013 13:41:22 +0000 (13:41 +0000)]
brcm47xx: fix typo in Broadcom-bgmac-b43 profile name

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37803

11 years agobroadcom-wl: Add 'N' mode support to broadcom-wl
Hauke Mehrtens [Sat, 17 Aug 2013 13:38:30 +0000 (13:38 +0000)]
broadcom-wl: Add 'N' mode support to broadcom-wl

This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37802

11 years agoubox: update to git head
Jo-Philipp Wich [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

SVN-Revision: 37801

11 years agoubox: update to git head
Jo-Philipp Wich [Fri, 16 Aug 2013 11:18:39 +0000 (11:18 +0000)]
ubox: update to git head

- adds support for generic mount options

SVN-Revision: 37800

11 years agoprocd: update to git head
Jo-Philipp Wich [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

SVN-Revision: 37799

11 years agoRevert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
Jo-Philipp Wich [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.

SVN-Revision: 37798

11 years agoxz: upgrade to 5.0.5
Luka Perkov [Fri, 16 Aug 2013 00:19:21 +0000 (00:19 +0000)]
xz: upgrade to 5.0.5

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

11 years agomtools: upgrade to 4.0.18
Luka Perkov [Fri, 16 Aug 2013 00:19:20 +0000 (00:19 +0000)]
mtools: upgrade to 4.0.18

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

11 years agomm-macros: upgrade to 0.9.6
Luka Perkov [Fri, 16 Aug 2013 00:19:18 +0000 (00:19 +0000)]
mm-macros: upgrade to 0.9.6

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

11 years agocmake: upgrade to 2.8.11.2
Luka Perkov [Fri, 16 Aug 2013 00:19:17 +0000 (00:19 +0000)]
cmake: upgrade to 2.8.11.2

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

11 years agomac80211: merge upstream change to fix mesh rssi thresholds
Felix Fietkau [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>
SVN-Revision: 37793

11 years agoprocd: update to git head
Jo-Philipp Wich [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

SVN-Revision: 37792

11 years agokernel: fix a small #ifdef bug in the noncoherent dma check rework
Felix Fietkau [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>
SVN-Revision: 37791

11 years agokernel: improve dma ops inlining patches
Felix Fietkau [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>
SVN-Revision: 37790

11 years agouboot-envtools: add support for hornet-ub-x2
Luka Perkov [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>
SVN-Revision: 37789

11 years agoar71xx: add support for hornet-ub-x2
Luka Perkov [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>
SVN-Revision: 37788

11 years agocloog: upgrade to 0.18.0
Luka Perkov [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>
SVN-Revision: 37787

11 years agoppl: upgrade to 1.0
Luka Perkov [Wed, 14 Aug 2013 23:23:23 +0000 (23:23 +0000)]
ppl: upgrade to 1.0

Signed-off-by: Luka Perkov <lperkov@cisco.com>
SVN-Revision: 37786

11 years agoramips: DIR-610-A1 Support
John Crispin [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>
SVN-Revision: 37785

11 years agoramips: fix typo in network uci_defaults script
John Crispin [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>
SVN-Revision: 37784

11 years agoramips: dts file cleanup
John Crispin [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>
SVN-Revision: 37783

11 years agoar71xx: fix TL-WR710N board detection
John Crispin [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>
SVN-Revision: 37782

11 years agoar71xx: Fix factory image for DIR 505 A1
John Crispin [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>
SVN-Revision: 37781

11 years agoramips: add support for dir810l and asus rp-n53
John Crispin [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>
SVN-Revision: 37780

11 years agoramips: various updates to the mt7620 dtsi file
John Crispin [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>
SVN-Revision: 37779

11 years agoramips: update v3.10 patches
John Crispin [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>
SVN-Revision: 37778

11 years agofirewall: update to git head
Jo-Philipp Wich [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"

SVN-Revision: 37777

11 years agobuild: fix typo in mips16 changes
Felix Fietkau [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>
SVN-Revision: 37776

11 years agodisable mips16 for a few packages that don't compile with it
Felix Fietkau [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>
SVN-Revision: 37773

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

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

11 years agoopenssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with...
Felix Fietkau [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>
SVN-Revision: 37771

11 years agobuild: decouple the mips16 support flag from the toolchain
Felix Fietkau [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>
SVN-Revision: 37770

11 years agoocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize...
Felix Fietkau [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>
SVN-Revision: 37769

11 years agoath9k: merge a few more cleanups/fixes
Felix Fietkau [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>
SVN-Revision: 37767

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

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

11 years agoar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
Felix Fietkau [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>
SVN-Revision: 37765

11 years agomac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed...
Felix Fietkau [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>
SVN-Revision: 37764

11 years agokernel: add patch to inline mips dma mapping functions - reduces code size and improv...
Felix Fietkau [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>
SVN-Revision: 37763

11 years agoar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
Felix Fietkau [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>
SVN-Revision: 37762

11 years agoar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in...
Felix Fietkau [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>
SVN-Revision: 37761

11 years agortl8367: add support for configuring the VLAN FID
Felix Fietkau [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>
SVN-Revision: 37760

11 years agoar71xx: fix typo
Felix Fietkau [Mon, 12 Aug 2013 12:41:53 +0000 (12:41 +0000)]
ar71xx: fix typo

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

11 years agoar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no...
Felix Fietkau [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>
SVN-Revision: 37758

11 years agoar71xx: ethernet: do not update the unused dev->last_rx field
Felix Fietkau [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>
SVN-Revision: 37757

11 years agoar71xx: add missing return statement in ethernet mtu change op
Felix Fietkau [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>
SVN-Revision: 37756

11 years agokernel: remove imx-sdma-fw because of license issues
Luka Perkov [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>
SVN-Revision: 37755

11 years agoimx6: use kmod-imx-sdma-fw-imx6 by default
Luka Perkov [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>
SVN-Revision: 37754

11 years agokernel: add imx-sdma-fw package
Luka Perkov [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>
SVN-Revision: 37753

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

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

11 years agomusl: mark as broken, many packages do not compile with it
Felix Fietkau [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>
SVN-Revision: 37750

11 years agox86: Fix CONFIG_X86_GRUB_SERIAL=""
Felix Fietkau [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>
SVN-Revision: 37749

11 years agoar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Felix Fietkau [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>
SVN-Revision: 37748

11 years agoath9k: fix an rx descriptor processing race condition
Felix Fietkau [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>
SVN-Revision: 37746

11 years agomcs814x: enable POSIX file locking
Florian Fainelli [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>
SVN-Revision: 37745

11 years agohostapd: fix typo in version number
Felix Fietkau [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>
SVN-Revision: 37742

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

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

11 years agoubus: update to latest version, fixes a bug in reconnect after ubusd dies
Felix Fietkau [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>
SVN-Revision: 37740

11 years agohostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support
Felix Fietkau [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>
SVN-Revision: 37739

11 years agohostapd: update to latest version (20130707)
Felix Fietkau [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>
SVN-Revision: 37738

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

SVN-Revision: 37737

11 years agohostapd: Settings for DAE/CoA server
Felix Fietkau [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>
SVN-Revision: 37734

11 years agohostapd: Fix WDS/WEP usage
Felix Fietkau [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>
SVN-Revision: 37733

11 years agomac80211: Handle concurrent AP/STA beaconing properly
Felix Fietkau [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>
SVN-Revision: 37732

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

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 37731

11 years agohostapd: Add an option to disable beaconing
Felix Fietkau [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>
SVN-Revision: 37730

11 years agolantiq: fix TD-W8970 image generation to work with the new tool
John Crispin [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>
SVN-Revision: 37727

11 years agofirmware-utils: add a tool TP-Link v2 image generation
John Crispin [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>
SVN-Revision: 37726

11 years agofirmware-utils: remove v2 support
John Crispin [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>
SVN-Revision: 37725

11 years agofirmware-utils: fix segfault introduced by v2 changes
John Crispin [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>
SVN-Revision: 37724

11 years agoar71xx: remove duplicate dir505 entry from board detection code
John Crispin [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>
SVN-Revision: 37723

11 years agolantiq: add support for tplink images to .../image/Makefile
John Crispin [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>
SVN-Revision: 37722

11 years agolantiq: make the split patch recognize the tplink header
John Crispin [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>
SVN-Revision: 37721

11 years agolantiq: fix TDW8970.dts commandline and partition name
John Crispin [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>
SVN-Revision: 37720

11 years agolantiq: add tplink header id to sysupgrade and fix a comment
John Crispin [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>
SVN-Revision: 37719

11 years agofirmware-utils: add support for TDW8970 to mktplinkfw
John Crispin [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>
SVN-Revision: 37718

11 years agofirmware-utils: add v2 header support to firmware-utils
John Crispin [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>
SVN-Revision: 37717

11 years agoath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream...
Felix Fietkau [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>
SVN-Revision: 37716

11 years agomac80211: refresh a patch that was using the wrong patch style
Felix Fietkau [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>
SVN-Revision: 37715

11 years agomac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
Felix Fietkau [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>
SVN-Revision: 37714

11 years agoath9k: add some more fixes for the tx queueing rework
Felix Fietkau [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>
SVN-Revision: 37713

11 years agolantiq: add (incomplete) support for Aztech GR7000
Luka Perkov [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>
SVN-Revision: 37712

11 years agomac80211: rtlwifi depends on PCI or USB support in the Kconfig file
Hauke Mehrtens [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>
SVN-Revision: 37711

11 years agokernel: add some missing config symbols
Florian Fainelli [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>
SVN-Revision: 37710

11 years agokernel: fix DMA error when BCM4331 is connected to BCM4706
Hauke Mehrtens [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>
SVN-Revision: 37709