6 years agomac80211: update to latest version, fix tx gain patch
Felix Fietkau [Tue, 10 Jul 2012 00:21:25 +0000 (00:21 +0000)]
mac80211: update to latest version, fix tx gain patch

SVN-Revision: 32655

6 years agolibubox: update to latest version, fixes timer/process deletion on uloop_done()
Felix Fietkau [Mon, 9 Jul 2012 15:13:26 +0000 (15:13 +0000)]
libubox: update to latest version, fixes timer/process deletion on uloop_done()

SVN-Revision: 32654

6 years ago[mcs814x] fix typo on of_node_put()
Florian Fainelli [Mon, 9 Jul 2012 14:44:15 +0000 (14:44 +0000)]
[mcs814x] fix typo on of_node_put()

SVN-Revision: 32653

6 years ago[package] firewall: also set up nat reflection rules for redirects with proto all...
Jo-Philipp Wich [Mon, 9 Jul 2012 12:23:36 +0000 (12:23 +0000)]
[package] firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set

SVN-Revision: 32652

6 years ago[package] uhttpd: various fixes
Jo-Philipp Wich [Mon, 9 Jul 2012 00:08:20 +0000 (00:08 +0000)]
[package] uhttpd: various fixes

    - avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

SVN-Revision: 32651

6 years ago[tools] bison: fix errors in shipped
Jo-Philipp Wich [Sun, 8 Jul 2012 15:50:36 +0000 (15:50 +0000)]
[tools] bison: fix errors in shipped

Bison fails to build against glibc 2.16.x, the shipped attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

SVN-Revision: 32649

6 years ago[tools] m4: fix errors in shipped
Jo-Philipp Wich [Sun, 8 Jul 2012 15:28:44 +0000 (15:28 +0000)]
[tools] m4: fix errors in shipped

M4 fails to build against glibc 2.16.x, the shipped attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

SVN-Revision: 32648

6 years agoath9k: fix the ar9340 tx gain patch
Felix Fietkau [Sat, 7 Jul 2012 20:03:35 +0000 (20:03 +0000)]
ath9k: fix the ar9340 tx gain patch

SVN-Revision: 32647

6 years agoath9k: fix tx gain tables for ar934x
Felix Fietkau [Sat, 7 Jul 2012 17:34:33 +0000 (17:34 +0000)]
ath9k: fix tx gain tables for ar934x

SVN-Revision: 32646

6 years ago[package] libubox: bump to latest git head
Jo-Philipp Wich [Sat, 7 Jul 2012 16:49:17 +0000 (16:49 +0000)]
[package] libubox: bump to latest git head
 - uloop: prevent callback invocation for already removed descriptors
 - uloop: handle EPOLLHUP
 - blob, blobmsg: various changes

SVN-Revision: 32645

6 years ago[package] uhttpd: do not dispatch pipe error events, fixes use after free for cgi...
Jo-Philipp Wich [Sat, 7 Jul 2012 16:43:27 +0000 (16:43 +0000)]
[package] uhttpd: do not dispatch pipe error events, fixes use after free for cgi and lua scripts

SVN-Revision: 32644

6 years ago[brcm63xx] Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Florian Fainelli [Fri, 6 Jul 2012 22:10:37 +0000 (22:10 +0000)]
[brcm63xx] Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)

Signed-off-by: Álvaro Fernández Rojas <>
SVN-Revision: 32643

6 years ago[package] uhttpd: do not subscribe to epoll write events
Jo-Philipp Wich [Fri, 6 Jul 2012 17:29:25 +0000 (17:29 +0000)]
[package] uhttpd: do not subscribe to epoll write events
Watch child read pipe end for data instead of relying on socket write
notification to process cgi data, should lower cpu consumption during
requests on weaker devices.

SVN-Revision: 32640

6 years agoar71xx: swizzle address for PCI byte/word access on AR71xx
Gabor Juhos [Fri, 6 Jul 2012 16:33:12 +0000 (16:33 +0000)]
ar71xx: swizzle address for PCI byte/word access on AR71xx

Closes #11683.

SVN-Revision: 32639

6 years agoar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
Gabor Juhos [Fri, 6 Jul 2012 11:12:02 +0000 (11:12 +0000)]
ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board

SVN-Revision: 32638

6 years agoar71xx: merge new board patches into the generic patch
Gabor Juhos [Fri, 6 Jul 2012 11:12:01 +0000 (11:12 +0000)]
ar71xx: merge new board patches into the generic patch

SVN-Revision: 32637

6 years agouboot-envtools: OM2P LC support
Gabor Juhos [Fri, 6 Jul 2012 11:11:59 +0000 (11:11 +0000)]
uboot-envtools: OM2P LC support

Signed-off-by: Marek Lindner <>
SVN-Revision: 32636

6 years agoar71xx: OM2P LC sysupgrade patch
Gabor Juhos [Fri, 6 Jul 2012 11:11:58 +0000 (11:11 +0000)]
ar71xx: OM2P LC sysupgrade patch

Signed-off-by: Marek Lindner <>
SVN-Revision: 32635

6 years ago[package] iwinfo: properly deal with channels 7..12 on 5GHz
Jo-Philipp Wich [Fri, 6 Jul 2012 09:30:50 +0000 (09:30 +0000)]
[package] iwinfo: properly deal with channels 7..12 on 5GHz

SVN-Revision: 32634

6 years ago[package] iwinfo: find channel & frequency via nl80211 or hostapd instead of wext
Jo-Philipp Wich [Fri, 6 Jul 2012 01:00:14 +0000 (01:00 +0000)]
[package] iwinfo: find channel & frequency via nl80211 or hostapd instead of wext

SVN-Revision: 32630

6 years ago[mcs814x] call of_node_put() on ethernet node
Florian Fainelli [Thu, 5 Jul 2012 18:46:55 +0000 (18:46 +0000)]
[mcs814x] call of_node_put() on ethernet node

SVN-Revision: 32628

6 years ago[mcs814x] fix EPHY clock bit definition after r32489
Florian Fainelli [Thu, 5 Jul 2012 18:46:52 +0000 (18:46 +0000)]
[mcs814x] fix EPHY clock bit definition after r32489

SVN-Revision: 32627

6 years ago[mcs814x] give an unique partition identifier for dLAN USB Extender Combined partition
Florian Fainelli [Thu, 5 Jul 2012 18:46:48 +0000 (18:46 +0000)]
[mcs814x] give an unique partition identifier for dLAN USB Extender Combined partition

SVN-Revision: 32626

6 years agonetifd: update to latest version, fixes various issues related to interface alias...
Felix Fietkau [Thu, 5 Jul 2012 18:42:29 +0000 (18:42 +0000)]
netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network

SVN-Revision: 32625

6 years agopackage/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Jo-Philipp Wich [Thu, 5 Jul 2012 17:54:14 +0000 (17:54 +0000)]
package/dnsmasq: allow /etc/config/dhcp to specify --address arguments

Add a config list to the 'config dnsmasq' section to specify fixed DNS

For example:

  config dnsmasq:
list address '/'

will result in the argument '-A /' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -> "xappend", "-A" -> "--address"]

Signed-off-by: Jeremy Kerr <>
SVN-Revision: 32624

6 years agoAdd local TTL option to dnsmasq
Jo-Philipp Wich [Thu, 5 Jul 2012 17:46:32 +0000 (17:46 +0000)]
Add local TTL option to dnsmasq

-T, --local-ttl=<time>
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne <>
openwrt-devel mailing list

SVN-Revision: 32623

6 years agodropbear: set DEFAULT_PATH for non-interactive logins
Jo-Philipp Wich [Thu, 5 Jul 2012 16:44:05 +0000 (16:44 +0000)]
dropbear: set DEFAULT_PATH for non-interactive logins

Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

[jow: reapply with current patch level, fix inner patch, refresh]

Signed-off-by: Gui Iribarren <>
SVN-Revision: 32620

6 years agoRevert "dropbear: set DEFAULT_PATH for non-interactive logins"
Jo-Philipp Wich [Thu, 5 Jul 2012 16:34:52 +0000 (16:34 +0000)]
Revert "dropbear: set DEFAULT_PATH for non-interactive logins"

This reverts commit 9927e7918211a22ba5871cbccdcb3764d3872f91.

SVN-Revision: 32619

6 years agodropbear: set DEFAULT_PATH for non-interactive logins
Jo-Philipp Wich [Thu, 5 Jul 2012 16:33:07 +0000 (16:33 +0000)]
dropbear: set DEFAULT_PATH for non-interactive logins

Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

Signed-off-by: Gui Iribarren <>
SVN-Revision: 32618

6 years agoar71xx: set firmware version for the TL-WR2543N
Gabor Juhos [Thu, 5 Jul 2012 16:25:31 +0000 (16:25 +0000)]
ar71xx: set firmware version for the TL-WR2543N

This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical

SVN-Revision: 32617

6 years agofirmware-utils/mktplinkfw: allow to specify firmware version
Gabor Juhos [Thu, 5 Jul 2012 16:25:29 +0000 (16:25 +0000)]
firmware-utils/mktplinkfw: allow to specify firmware version

SVN-Revision: 32616

6 years agoar71xx: make 2.4GHz wlan LED work on the WR2543N
Gabor Juhos [Thu, 5 Jul 2012 16:25:26 +0000 (16:25 +0000)]
ar71xx: make 2.4GHz wlan LED work on the WR2543N

Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615

6 years ago[package] hostapd: change to pass 64 byte hex psk unquoted and...
Jo-Philipp Wich [Thu, 5 Jul 2012 12:25:29 +0000 (12:25 +0000)]
[package] hostapd: change to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup

SVN-Revision: 32614

6 years agoar71xx: OM2P sysupgrade support
Gabor Juhos [Thu, 5 Jul 2012 08:26:57 +0000 (08:26 +0000)]
ar71xx: OM2P sysupgrade support

Signed-off-by: Marek Lindner <>
SVN-Revision: 32613

6 years agouboot-envtools: OM2P partition information
Gabor Juhos [Thu, 5 Jul 2012 08:26:55 +0000 (08:26 +0000)]
uboot-envtools: OM2P partition information

Signed-off-by: Marek Lindner <>
SVN-Revision: 32612

6 years agoar71xx: add support for the OpenMesh OM2P-LC board
Gabor Juhos [Thu, 5 Jul 2012 08:26:53 +0000 (08:26 +0000)]
ar71xx: add support for the OpenMesh OM2P-LC board

Patch-by: Marek Linder <>
SVN-Revision: 32611

6 years agopackage/om-watchdog: add om2p-lc support
Gabor Juhos [Thu, 5 Jul 2012 08:26:52 +0000 (08:26 +0000)]
package/om-watchdog: add om2p-lc support

Patch-by: Marek Linder <>
SVN-Revision: 32610

6 years agoar71xx: add profile and build image for the Atheros AP136 reference board
Gabor Juhos [Thu, 5 Jul 2012 08:26:51 +0000 (08:26 +0000)]
ar71xx: add profile and build image for the Atheros AP136 reference board

SVN-Revision: 32609

6 years agoar71xx: AP136 user-space support
Gabor Juhos [Thu, 5 Jul 2012 08:26:50 +0000 (08:26 +0000)]
ar71xx: AP136 user-space support

SVN-Revision: 32608

6 years agoar71xx: add initial support for the Qualcomm Atheros AP136 board
Gabor Juhos [Thu, 5 Jul 2012 08:26:48 +0000 (08:26 +0000)]
ar71xx: add initial support for the Qualcomm Atheros AP136 board

SVN-Revision: 32607

6 years agoar71xx: add initial support for the QCA955X SoCs
Gabor Juhos [Thu, 5 Jul 2012 08:26:47 +0000 (08:26 +0000)]
ar71xx: add initial support for the QCA955X SoCs

SVN-Revision: 32606

6 years agoar71xx: refactor PCI code to allow registering multiple PCI controllers
Gabor Juhos [Thu, 5 Jul 2012 08:26:45 +0000 (08:26 +0000)]
ar71xx: refactor PCI code to allow registering multiple PCI controllers

SVN-Revision: 32605

6 years agogeneric: ar8216: start aneg on each PHY of the AR8327
Gabor Juhos [Thu, 5 Jul 2012 08:26:39 +0000 (08:26 +0000)]
generic: ar8216: start aneg on each PHY of the AR8327

SVN-Revision: 32604

6 years ago[mcs814x] add missing interrupts properties to some device nodes
Florian Fainelli [Wed, 4 Jul 2012 19:37:11 +0000 (19:37 +0000)]
[mcs814x] add missing interrupts properties to some device nodes

SVN-Revision: 32603

6 years agomtd - remove partition table assumption when writing fis table
Jo-Philipp Wich [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 <>
SVN-Revision: 32601

6 years agomtd - add partition offset parameter
Jo-Philipp Wich [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 <>
SVN-Revision: 32600

6 years agoar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested...
Felix Fietkau [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)

SVN-Revision: 32599

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

SVN-Revision: 32596

6 years agocommit patch from
Travis Kemen [Wed, 4 Jul 2012 00:09:18 +0000 (00:09 +0000)]
commit patch from, fixed up for newer ath5k and added in more radios.

SVN-Revision: 32595

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

SVN-Revision: 32594

6 years agobcm63xx: 96348A-122 improvements (Comtrend 5365)
Jonas Gorski [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 <>
SVN-Revision: 32593

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

thanks Noltari for spotting this.

SVN-Revision: 32592

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

SVN-Revision: 32591

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

SVN-Revision: 32590

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

SVN-Revision: 32589

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

SVN-Revision: 32588

6 years ago[package] base-files: ensure that /sys is available during sysupgrade, some essential...
Jo-Philipp Wich [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

SVN-Revision: 32587

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

SVN-Revision: 32586

6 years agoar71xx: remove the built-in MTD map of the ALL0258N
Gabor Juhos [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 <>
SVN-Revision: 32585

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

SVN-Revision: 32584

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

SVN-Revision: 32582

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

SVN-Revision: 32581

6 years agokernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
Hauke Mehrtens [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

SVN-Revision: 32580

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

SVN-Revision: 32576

6 years ago[package] netifd: repair dhcp client id option
Jo-Philipp Wich [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

SVN-Revision: 32573

6 years agoinclude/ /tmp should have mode 1777
Jo-Philipp Wich [Sun, 1 Jul 2012 11:48:54 +0000 (11:48 +0000)]
include/ /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 <>
SVN-Revision: 32572

6 years ago[package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options
Jo-Philipp Wich [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 and

SVN-Revision: 32570

6 years agopackage/dnsmasq: permit UCI configuration of --dhcp-fqdn option
Jo-Philipp Wich [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 <>
SVN-Revision: 32569

6 years ago[PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config section
Jo-Philipp Wich [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 <>
SVN-Revision: 32568

6 years agoFix extroot by UUID
Jo-Philipp Wich [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.


Signed-off-by: Jaroslaw Swierczynski <>
SVN-Revision: 32567

6 years agokernel/modules: load pppol2tp after pppox
Jo-Philipp Wich [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 <>
SVN-Revision: 32562

6 years agoconfig: tag parallel build options with high build breakage probability with a BROKEN...
Felix Fietkau [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

SVN-Revision: 32559

6 years agouClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
Felix Fietkau [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

SVN-Revision: 32558

6 years agouClibc: split the package into the main directory and the headers/ and utils/ subdire...
Felix Fietkau [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

SVN-Revision: 32557

6 years agotoolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid...
Felix Fietkau [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

SVN-Revision: 32556

6 years agotoolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes...
Felix Fietkau [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

SVN-Revision: 32555

6 years agotoolchain/gcc: fix installing the toolchain after removing the toolchain dir without...
Felix Fietkau [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

SVN-Revision: 32554

6 years agotoolchain: keep the initial gcc around for later uclibc rebuilds
Felix Fietkau [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.

SVN-Revision: 32553

6 years ago[package] base-files: implement network_get_dnsserver() and network_get_dnssearch...
Jo-Philipp Wich [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/

SVN-Revision: 32531

6 years agoath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380...
Felix Fietkau [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)

SVN-Revision: 32528

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

SVN-Revision: 32527

6 years ago[package] base-files: only consider enabled default routes when finding the wan iface...
Jo-Philipp Wich [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)

SVN-Revision: 32525

6 years ago[package] netifd: update to current git head, exposes enabled state, mtu and metric...
Jo-Philipp Wich [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

SVN-Revision: 32524

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

SVN-Revision: 32522

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

SVN-Revision: 32521

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

SVN-Revision: 32520

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

SVN-Revision: 32518

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

SVN-Revision: 32517

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

SVN-Revision: 32516

6 years agoath9k: remove the queue length limiting patch, the approach was experimental, not...
Felix Fietkau [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

SVN-Revision: 32515

6 years agokernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Felix Fietkau [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,

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.

SVN-Revision: 32514

6 years agobase-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
Felix Fietkau [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

SVN-Revision: 32513

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

SVN-Revision: 32512

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

SVN-Revision: 32511

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

SVN-Revision: 32510

6 years agoath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix...
Felix Fietkau [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

SVN-Revision: 32509

6 years agoath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinati...
Felix Fietkau [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

SVN-Revision: 32508

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

SVN-Revision: 32507

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

SVN-Revision: 32506

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

SVN-Revision: 32505