openwrt.git
11 years agomtd - remove partition table assumption when writing fis table
jow [Wed, 4 Jul 2012 11:56:25 +0000 (11:56 +0000)]
mtd - remove partition table assumption when writing fis table

When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomtd - add partition offset parameter
jow [Wed, 4 Jul 2012 11:37:53 +0000 (11:37 +0000)]
mtd - add partition offset parameter

The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32600 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested...
nbd [Wed, 4 Jul 2012 10:55:56 +0000 (10:55 +0000)]
ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)

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

11 years agomac80211: make channel bandwidth setting generic
thepeople [Wed, 4 Jul 2012 00:25:46 +0000 (00:25 +0000)]
mac80211: make channel bandwidth setting generic

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

11 years agocommit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043...
thepeople [Wed, 4 Jul 2012 00:09:18 +0000 (00:09 +0000)]
commit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043.html, fixed up for newer ath5k and added in more radios.

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

11 years agobcm63xx: bcm63xx-spi does not depend on spi-bitbang
jogo [Tue, 3 Jul 2012 21:42:17 +0000 (21:42 +0000)]
bcm63xx: bcm63xx-spi does not depend on spi-bitbang

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

11 years agobcm63xx: 96348A-122 improvements (Comtrend 5365)
jogo [Tue, 3 Jul 2012 21:42:15 +0000 (21:42 +0000)]
bcm63xx: 96348A-122 improvements (Comtrend 5365)

1) Improve WLAN button.
2) Add 96348A-122 image.

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

11 years agobcm63xx: fix second caldata address calculation
jogo [Tue, 3 Jul 2012 21:42:12 +0000 (21:42 +0000)]
bcm63xx: fix second caldata address calculation

thanks Noltari for spotting this.

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

11 years agobcm63xx: update patches to latest upstream versions
jogo [Tue, 3 Jul 2012 21:42:07 +0000 (21:42 +0000)]
bcm63xx: update patches to latest upstream versions

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

11 years agokernel: generic: spi: allow empty (un)prepare transfer
jogo [Tue, 3 Jul 2012 21:42:03 +0000 (21:42 +0000)]
kernel: generic: spi: allow empty (un)prepare transfer

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

11 years agoath9k: add a patch to make the hw queue length configurable via debugfs
nbd [Tue, 3 Jul 2012 21:00:47 +0000 (21:00 +0000)]
ath9k: add a patch to make the hw queue length configurable via debugfs

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

11 years agomac80211: add support for AR9550
juhosg [Tue, 3 Jul 2012 18:05:04 +0000 (18:05 +0000)]
mac80211: add support for AR9550

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

11 years ago[package] base-files: ensure that /sys is available during sysupgrade, some essential...
jow [Tue, 3 Jul 2012 15:43:43 +0000 (15:43 +0000)]
[package] base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it

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

11 years agoar71xx: improve MDIO busy wait code
juhosg [Tue, 3 Jul 2012 15:24:02 +0000 (15:24 +0000)]
ar71xx: improve MDIO busy wait code

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

11 years agoar71xx: remove the built-in MTD map of the ALL0258N
juhosg [Tue, 3 Jul 2012 15:24:01 +0000 (15:24 +0000)]
ar71xx: remove the built-in MTD map of the ALL0258N

Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain: sync eglibc headers/build split with uclibc changes
nbd [Tue, 3 Jul 2012 14:23:32 +0000 (14:23 +0000)]
toolchain: sync eglibc headers/build split with uclibc changes

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

11 years agotoolchain: fix libc headers dependency on kernel headers + minimal gcc
nbd [Tue, 3 Jul 2012 10:43:59 +0000 (10:43 +0000)]
toolchain: fix libc headers dependency on kernel headers + minimal gcc

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

11 years ago[brcm63xx] refresh patches
florian [Tue, 3 Jul 2012 09:45:46 +0000 (09:45 +0000)]
[brcm63xx] refresh patches

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

11 years agokernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
hauke [Mon, 2 Jul 2012 23:12:58 +0000 (23:12 +0000)]
kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02

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

11 years ago[package] 6to4: fix ifname resolving for adv_interface option (#11796)
jow [Mon, 2 Jul 2012 12:14:50 +0000 (12:14 +0000)]
[package] 6to4: fix ifname resolving for adv_interface option (#11796)

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

11 years ago[package] netifd: repair dhcp client id option
jow [Sun, 1 Jul 2012 12:43:14 +0000 (12:43 +0000)]
[package] netifd: repair dhcp client id option
Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id,
change the dhcp protocol script accordingly and filter all colons from the id while we're at it.
This change supersedes http://patchwork.openwrt.org/patch/1810/

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

11 years agoinclude/image.mk: /tmp should have mode 1777
jow [Sun, 1 Jul 2012 11:48:54 +0000 (11:48 +0000)]
include/image.mk: /tmp should have mode 1777

On the off chance that the root filesystem's /tmp is used directly as a
temporary directory instead of having a tmpfs mounted over it, it should have
the sticky bit set.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options
jow [Sun, 1 Jul 2012 11:32:46 +0000 (11:32 +0000)]
[package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options
 - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf
 - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname
These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/

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

11 years agopackage/dnsmasq: permit UCI configuration of --dhcp-fqdn option
jow [Sun, 1 Jul 2012 11:32:45 +0000 (11:32 +0000)]
package/dnsmasq: permit UCI configuration of --dhcp-fqdn option

This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config section
jow [Sun, 1 Jul 2012 11:32:29 +0000 (11:32 +0000)]
[PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config section

dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoFix extroot by UUID
jow [Sun, 1 Jul 2012 11:06:32 +0000 (11:06 +0000)]
Fix extroot by UUID

Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32567 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel/modules: load pppol2tp after pppox
jow [Sun, 1 Jul 2012 10:34:45 +0000 (10:34 +0000)]
kernel/modules: load pppol2tp after pppox

l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32562 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoconfig: tag parallel build options with high build breakage probability with a BROKEN...
nbd [Sat, 30 Jun 2012 21:44:12 +0000 (21:44 +0000)]
config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them

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

11 years agouClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
nbd [Sat, 30 Jun 2012 21:44:09 +0000 (21:44 +0000)]
uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam

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

11 years agouClibc: split the package into the main directory and the headers/ and utils/ subdire...
nbd [Sat, 30 Jun 2012 21:44:05 +0000 (21:44 +0000)]
uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support

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

11 years agotoolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid...
nbd [Sat, 30 Jun 2012 21:43:59 +0000 (21:43 +0000)]
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying

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

11 years agotoolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes...
nbd [Sat, 30 Jun 2012 18:12:23 +0000 (18:12 +0000)]
toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup

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

11 years agotoolchain/gcc: fix installing the toolchain after removing the toolchain dir without...
nbd [Sat, 30 Jun 2012 18:12:19 +0000 (18:12 +0000)]
toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild

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

11 years agotoolchain: keep the initial gcc around for later uclibc rebuilds
nbd [Sat, 30 Jun 2012 18:12:15 +0000 (18:12 +0000)]
toolchain: keep the initial gcc around for later uclibc rebuilds

testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

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

11 years ago[package] base-files: implement network_get_dnsserver() and network_get_dnssearch...
jow [Fri, 29 Jun 2012 19:04:11 +0000 (19:04 +0000)]
[package] base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh

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

11 years agoath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380...
nbd [Fri, 29 Jun 2012 17:59:39 +0000 (17:59 +0000)]
ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)

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

11 years agoeglibc: work around a broken configure test to fix compile errors on x86
nbd [Fri, 29 Jun 2012 16:19:48 +0000 (16:19 +0000)]
eglibc: work around a broken configure test to fix compile errors on x86

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

11 years ago[package] base-files: only consider enabled default routes when finding the wan iface...
jow [Fri, 29 Jun 2012 11:58:35 +0000 (11:58 +0000)]
[package] base-files: only consider enabled default routes when finding the wan iface (#11774)

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

11 years ago[package] netifd: update to current git head, exposes enabled state, mtu and metric...
jow [Fri, 29 Jun 2012 11:42:15 +0000 (11:42 +0000)]
[package] netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes

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

11 years ago[brcm63xx] fix watchdog and rng drivers section mismatch (#11767)
florian [Fri, 29 Jun 2012 09:07:54 +0000 (09:07 +0000)]
[brcm63xx] fix watchdog and rng drivers section mismatch (#11767)

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

11 years agotools: sdcc depends on bison
nbd [Fri, 29 Jun 2012 00:32:43 +0000 (00:32 +0000)]
tools: sdcc depends on bison

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

11 years agoar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
nbd [Thu, 28 Jun 2012 16:05:08 +0000 (16:05 +0000)]
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)

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

11 years agotoolchain: enable gdb by default
nbd [Thu, 28 Jun 2012 14:32:11 +0000 (14:32 +0000)]
toolchain: enable gdb by default

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

11 years agoath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
nbd [Thu, 28 Jun 2012 00:34:19 +0000 (00:34 +0000)]
ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB

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

11 years agoath9k: update the ar934x initvals
nbd [Wed, 27 Jun 2012 22:32:56 +0000 (22:32 +0000)]
ath9k: update the ar934x initvals

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

11 years agoath9k: remove the queue length limiting patch, the approach was experimental, not...
nbd [Wed, 27 Jun 2012 22:32:51 +0000 (22:32 +0000)]
ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required

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

11 years agokernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
nbd [Wed, 27 Jun 2012 22:32:47 +0000 (22:32 +0000)]
kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)

Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

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

11 years agobase-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
nbd [Wed, 27 Jun 2012 22:32:44 +0000 (22:32 +0000)]
base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)

A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

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

11 years ago[brcm63xx] fix SPI clock frequency selection
florian [Wed, 27 Jun 2012 22:14:50 +0000 (22:14 +0000)]
[brcm63xx] fix SPI clock frequency selection

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

11 years agoath9k: improve ani behavior during scanning
nbd [Wed, 27 Jun 2012 12:45:00 +0000 (12:45 +0000)]
ath9k: improve ani behavior during scanning

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

11 years agoath9k: more ani fixes
nbd [Wed, 27 Jun 2012 02:15:25 +0000 (02:15 +0000)]
ath9k: more ani fixes

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

11 years agoath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix...
nbd [Wed, 27 Jun 2012 01:29:56 +0000 (01:29 +0000)]
ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases

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

11 years agoath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinati...
nbd [Wed, 27 Jun 2012 01:23:17 +0000 (01:23 +0000)]
ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices

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

11 years agoath9k: reject invalid antenna mask configurations
nbd [Wed, 27 Jun 2012 01:10:18 +0000 (01:10 +0000)]
ath9k: reject invalid antenna mask configurations

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

11 years agonetifd: update to latest version, fixes bridge member interface settings
nbd [Tue, 26 Jun 2012 23:34:07 +0000 (23:34 +0000)]
netifd: update to latest version, fixes bridge member interface settings

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

11 years ago[package] broadcom-wl: fix WDS hotplug for multiple networks
jow [Tue, 26 Jun 2012 15:43:09 +0000 (15:43 +0000)]
[package] broadcom-wl: fix WDS hotplug for multiple networks

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

11 years ago[package] linux-atm: remove defunct ipoa protocol support
jow [Tue, 26 Jun 2012 15:40:03 +0000 (15:40 +0000)]
[package] linux-atm: remove defunct ipoa protocol support

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

11 years ago[package] base-files: allow wireless ifaces to be part of multiple networks
jow [Tue, 26 Jun 2012 15:25:33 +0000 (15:25 +0000)]
[package] base-files: allow wireless ifaces to be part of multiple networks

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

11 years ago[tools] sdcc: enable packihx, required by firmwarehotplug
jow [Tue, 26 Jun 2012 08:30:38 +0000 (08:30 +0000)]
[tools] sdcc: enable packihx, required by firmwarehotplug

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

11 years agoscripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially...
nbd [Mon, 25 Jun 2012 00:27:03 +0000 (00:27 +0000)]
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems

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

11 years agokernel: add missing config symbol
nbd [Sun, 24 Jun 2012 20:21:27 +0000 (20:21 +0000)]
kernel: add missing config symbol

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

11 years agoath9k: fix a dynamic WEP related regression
nbd [Sat, 23 Jun 2012 17:30:45 +0000 (17:30 +0000)]
ath9k: fix a dynamic WEP related regression

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

11 years agoath9k: merge a patch for improving ad-hoc mode performance
nbd [Sat, 23 Jun 2012 17:30:40 +0000 (17:30 +0000)]
ath9k: merge a patch for improving ad-hoc mode performance

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

11 years agoramips: mac address detection for Fonera 2.0n
acinonyx [Sat, 23 Jun 2012 13:58:29 +0000 (13:58 +0000)]
ramips: mac address detection for Fonera 2.0n

Detect and apply MAC address of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[mcs814x] provide an early ioremap cookie of the system configuration register
florian [Sat, 23 Jun 2012 11:03:50 +0000 (11:03 +0000)]
[mcs814x] provide an early ioremap cookie of the system configuration register

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

11 years ago[mcs814x] group SYSDBG register defines in mcs814x.h
florian [Sat, 23 Jun 2012 11:03:45 +0000 (11:03 +0000)]
[mcs814x] group SYSDBG register defines in mcs814x.h

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

11 years ago[mcs814x] make hardware.h a forward inclusion of mcs814x.h
florian [Sat, 23 Jun 2012 11:03:40 +0000 (11:03 +0000)]
[mcs814x] make hardware.h a forward inclusion of mcs814x.h

mach/hardware.h is soon to be removed by upstream kernel

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

11 years ago[mcs814x] remove platform specific initialization from ethernet driver
florian [Sat, 23 Jun 2012 11:03:35 +0000 (11:03 +0000)]
[mcs814x] remove platform specific initialization from ethernet driver

Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

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

11 years ago[mcs814x] regroup interrupt controller register definitions in hardware.h
florian [Sat, 23 Jun 2012 11:03:29 +0000 (11:03 +0000)]
[mcs814x] regroup interrupt controller register definitions in hardware.h

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

11 years ago[package] ppp: the pptp buffering option is not supported anymore, remove it
jow [Thu, 21 Jun 2012 19:41:47 +0000 (19:41 +0000)]
[package] ppp: the pptp buffering option is not supported anymore, remove it

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

11 years ago[mcs814x] remove handle_irq callback in board-mcs8140-dt.c
florian [Thu, 21 Jun 2012 12:20:47 +0000 (12:20 +0000)]
[mcs814x] remove handle_irq callback in board-mcs8140-dt.c

This should have been removed in r32470.

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

11 years ago[mcs814x] fix USB led triggers
florian [Wed, 20 Jun 2012 21:58:00 +0000 (21:58 +0000)]
[mcs814x] fix USB led triggers

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

11 years ago[mcs814x] use generic uci defaults functions
florian [Wed, 20 Jun 2012 21:57:56 +0000 (21:57 +0000)]
[mcs814x] use generic uci defaults functions

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

11 years ago[mcs814x] remove uselss cache invalidations
florian [Wed, 20 Jun 2012 21:57:53 +0000 (21:57 +0000)]
[mcs814x] remove uselss cache invalidations

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

11 years ago[mcs814x] improve ethernet driver debugging
florian [Wed, 20 Jun 2012 21:57:49 +0000 (21:57 +0000)]
[mcs814x] improve ethernet driver debugging

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

11 years ago[mcs814x] do not use MULTI_IRQ_HANDLER it is bogus on our platform
florian [Wed, 20 Jun 2012 21:57:45 +0000 (21:57 +0000)]
[mcs814x] do not use MULTI_IRQ_HANDLER it is bogus on our platform

This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

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

11 years ago[target/xburst] verified to work - remove broken flag
mirko [Wed, 20 Jun 2012 19:04:35 +0000 (19:04 +0000)]
[target/xburst] verified to work - remove broken flag

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

11 years agotoolchain: move eglibc-files from base-files to toolchain, it is packaged as part...
nbd [Wed, 20 Jun 2012 13:45:01 +0000 (13:45 +0000)]
toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package

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

11 years agoadd and export HOSTCC_NOCACHE
blogic [Wed, 20 Jun 2012 07:48:47 +0000 (07:48 +0000)]
add and export HOSTCC_NOCACHE

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

11 years ago[x86] Fix sysupgrade for squashfs, jffs2 and ext4 images
acinonyx [Tue, 19 Jun 2012 22:36:53 +0000 (22:36 +0000)]
[x86] Fix sysupgrade for squashfs, jffs2 and ext4 images

* use 'fsync' with 'dd' for image writing
* save config to boot partition

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

11 years ago[package] busybox: Enable ibs, obs and conv options on 'dd'
acinonyx [Tue, 19 Jun 2012 22:34:49 +0000 (22:34 +0000)]
[package] busybox: Enable ibs, obs and conv options on 'dd'

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

11 years ago[package] ppp: annotate most patches with description and S-o-b
jow [Tue, 19 Jun 2012 17:03:24 +0000 (17:03 +0000)]
[package] ppp: annotate most patches with description and S-o-b

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

11 years ago[mcs814x] add Moschip MSC814x support
florian [Tue, 19 Jun 2012 14:48:56 +0000 (14:48 +0000)]
[mcs814x] add Moschip MSC814x support

This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

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

11 years agoar71xx: create profile and build image for the TL-WDR4300 board
juhosg [Tue, 19 Jun 2012 11:51:20 +0000 (11:51 +0000)]
ar71xx: create profile and build image for the TL-WDR4300 board

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

11 years agoar71xx: add user space support for the TL-WDR4300
juhosg [Tue, 19 Jun 2012 11:51:18 +0000 (11:51 +0000)]
ar71xx: add user space support for the TL-WDR4300

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

11 years agoar71xx: add support for the TL-WDR4300 board
juhosg [Tue, 19 Jun 2012 11:51:17 +0000 (11:51 +0000)]
ar71xx: add support for the TL-WDR4300 board

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

11 years agoar71xx: refresh patches
juhosg [Tue, 19 Jun 2012 11:51:15 +0000 (11:51 +0000)]
ar71xx: refresh patches

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

11 years agoar71xx: make AR8327 LEDs working on the DB120 board
juhosg [Tue, 19 Jun 2012 10:44:17 +0000 (10:44 +0000)]
ar71xx: make AR8327 LEDs working on the DB120 board

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

11 years agogeneric: ar8216: allow to configure AR8327 LEDs via platform data
juhosg [Tue, 19 Jun 2012 10:44:16 +0000 (10:44 +0000)]
generic: ar8216: allow to configure AR8327 LEDs via platform data

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

11 years agoar71xx: remove superfluous include of asm/mach-ath79/pci.h
juhosg [Tue, 19 Jun 2012 10:13:43 +0000 (10:13 +0000)]
ar71xx: remove superfluous include of asm/mach-ath79/pci.h

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

11 years agoar71xx: add a common function to configure USB power GPIOs
juhosg [Tue, 19 Jun 2012 10:13:41 +0000 (10:13 +0000)]
ar71xx: add a common function to configure USB power GPIOs

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

11 years agoar71xx: correctly detect NETGEAR WNDRMAC
juhosg [Tue, 19 Jun 2012 10:13:38 +0000 (10:13 +0000)]
ar71xx: correctly detect NETGEAR WNDRMAC

This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32453 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
juhosg [Tue, 19 Jun 2012 10:13:37 +0000 (10:13 +0000)]
ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC

This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32452 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotools/e2fsprogs: don't build e4defrag
juhosg [Tue, 19 Jun 2012 09:52:18 +0000 (09:52 +0000)]
tools/e2fsprogs: don't build e4defrag

Compilation fails on older systems due to missing syscalls, and the
e4defrag tool is not used by the build-system anyway.

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

11 years agoramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
juhosg [Tue, 19 Jun 2012 09:52:15 +0000 (09:52 +0000)]
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router

This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w

Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32450 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix linux 3.5 compatibility
nbd [Tue, 19 Jun 2012 00:59:19 +0000 (00:59 +0000)]
mac80211: fix linux 3.5 compatibility

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

11 years agomac80211: fix AP multi-BSSID support (#11698)
nbd [Tue, 19 Jun 2012 00:53:20 +0000 (00:53 +0000)]
mac80211: fix AP multi-BSSID support (#11698)

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

11 years agoar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedw...
nbd [Tue, 19 Jun 2012 00:22:04 +0000 (00:22 +0000)]
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)

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

11 years agoar71xx: add support for reading the MAC address from OTP ROM on AR933x
nbd [Tue, 19 Jun 2012 00:21:58 +0000 (00:21 +0000)]
ar71xx: add support for reading the MAC address from OTP ROM on AR933x

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

11 years agozlib fix for btrfs
jow [Mon, 18 Jun 2012 23:59:57 +0000 (23:59 +0000)]
zlib fix for btrfs

Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32444 3c298f89-4303-0410-b956-a3cf2f4a3e73