15.05/openwrt.git
12 years ago[package] kernel: enable kernel support for ALSA midi
Vasilis Tsiligiannis [Sat, 14 Jul 2012 20:10:57 +0000 (20:10 +0000)]
[package] kernel: enable kernel support for ALSA midi

Here is a newer version of the patch:

Enable the real ALSA midi interface (seq) in the kernel. The existing
rawmidi interface is still present. This allows for the alsa midi
utilities to work.

Signed-off-by: Adam Goode <adam@spicenitz.org>
[b_tsiligiannis: replaced $(LINUX_KMOD_SUFFIX) with .ko]
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32712 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] base-files: Modernize hotplug2 rules (#11368)
Vasilis Tsiligiannis [Sat, 14 Jul 2012 19:59:44 +0000 (19:59 +0000)]
[package] base-files: Modernize hotplug2 rules (#11368)

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

12 years agoath9k: add extra checks to reduce the amount of unnecessary rx dma related logspam
Felix Fietkau [Sat, 14 Jul 2012 17:48:49 +0000 (17:48 +0000)]
ath9k: add extra checks to reduce the amount of unnecessary rx dma related logspam

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

12 years agotools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x...
Felix Fietkau [Fri, 13 Jul 2012 23:18:15 +0000 (23:18 +0000)]
tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors

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

12 years agoath9k: fix 5 ghz frequency selection on ar934x devices with 25 mhz refclock
Felix Fietkau [Fri, 13 Jul 2012 23:18:11 +0000 (23:18 +0000)]
ath9k: fix 5 ghz frequency selection on ar934x devices with 25 mhz refclock

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

12 years ago[package] uhttpd: various changes
Jo-Philipp Wich [Fri, 13 Jul 2012 17:10:56 +0000 (17:10 +0000)]
[package] uhttpd: various changes

- remove unused variables
- simply ignore command line args which belong to not enabled features
- resolve peer address at accept() time, should solve (#11850)
- remove floating point operations where possible

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

12 years agonetifd: update to latest version, fixes wlan network state getting stuck on wifi...
Felix Fietkau [Thu, 12 Jul 2012 21:50:49 +0000 (21:50 +0000)]
netifd: update to latest version, fixes wlan network state getting stuck on wifi restarts, adds support for setting wlan device parameters such as mtu or txqueuelen

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

12 years agolibrpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
Felix Fietkau [Thu, 12 Jul 2012 16:24:01 +0000 (16:24 +0000)]
librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc

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

12 years agoath9k: fix selecting the second antenna on a single-stream device with diversity
Felix Fietkau [Thu, 12 Jul 2012 14:45:59 +0000 (14:45 +0000)]
ath9k: fix selecting the second antenna on a single-stream device with diversity

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

12 years agomac80211: fix an ap + sta mode regression that prevented the sta from connecting...
Felix Fietkau [Thu, 12 Jul 2012 14:14:57 +0000 (14:14 +0000)]
mac80211: fix an ap + sta mode regression that prevented the sta from connecting (#11847)

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

12 years agoar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
Gabor Juhos [Thu, 12 Jul 2012 13:38:40 +0000 (13:38 +0000)]
ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0

The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32683 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: add support for Edimax 3G-6200N
Gabor Juhos [Thu, 12 Jul 2012 13:29:46 +0000 (13:29 +0000)]
ramips: rt305x: add support for Edimax 3G-6200N

Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agogeneric: ocf: restore terminating entry of pci_id_table in hifnHIPP
Gabor Juhos [Thu, 12 Jul 2012 08:34:23 +0000 (08:34 +0000)]
generic: ocf: restore terminating entry of pci_id_table in hifnHIPP

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

12 years agoar71xx: select ATH79_DEV_M25P80 for the WRT400N board
Gabor Juhos [Thu, 12 Jul 2012 08:34:22 +0000 (08:34 +0000)]
ar71xx: select ATH79_DEV_M25P80 for the WRT400N board

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

12 years agoar71xx: airrouter power led support
Gabor Juhos [Thu, 12 Jul 2012 08:34:21 +0000 (08:34 +0000)]
ar71xx: airrouter power led support

This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

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

12 years agoar71xx: unifi reset button support
Gabor Juhos [Thu, 12 Jul 2012 08:34:20 +0000 (08:34 +0000)]
ar71xx: unifi reset button support

This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

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

12 years agoar71xx: airrouter reset button support
Gabor Juhos [Thu, 12 Jul 2012 08:34:18 +0000 (08:34 +0000)]
ar71xx: airrouter reset button support

This patch adds support for reset button to Ubiquiti Airrouter AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

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

12 years agoopenssl: enable the use of cryptodev digests
Luka Perkov [Wed, 11 Jul 2012 23:38:16 +0000 (23:38 +0000)]
openssl: enable the use of cryptodev digests

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

12 years agoocf: update to version 20120127
Luka Perkov [Wed, 11 Jul 2012 23:38:14 +0000 (23:38 +0000)]
ocf: update to version 20120127

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

12 years agomac80211: update brcmsmac patches
Hauke Mehrtens [Wed, 11 Jul 2012 22:18:09 +0000 (22:18 +0000)]
mac80211: update brcmsmac patches

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

12 years agokernel: bcma: update to version from wireless-testing tag master-2012-07-11
Hauke Mehrtens [Wed, 11 Jul 2012 22:17:05 +0000 (22:17 +0000)]
kernel: bcma: update to version from wireless-testing tag master-2012-07-11

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

12 years agoath9k: add a number of ar93xx eeprom related fixes / enhancements
Felix Fietkau [Wed, 11 Jul 2012 16:45:58 +0000 (16:45 +0000)]
ath9k: add a number of ar93xx eeprom related fixes / enhancements

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

12 years agoath9k: add missing part of the aggregation duration fix
Felix Fietkau [Wed, 11 Jul 2012 16:44:13 +0000 (16:44 +0000)]
ath9k: add missing part of the aggregation duration fix

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

12 years ago[include] nls.mk: fix build dependency on gettext (#11829)
Jo-Philipp Wich [Wed, 11 Jul 2012 10:05:00 +0000 (10:05 +0000)]
[include] nls.mk: fix build dependency on gettext (#11829)

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

12 years ago[package] mac80211: fix patch order (#11839, #11842)
Jo-Philipp Wich [Wed, 11 Jul 2012 09:59:08 +0000 (09:59 +0000)]
[package] mac80211: fix patch order (#11839, #11842)

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

12 years ago[include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes...
Jo-Philipp Wich [Wed, 11 Jul 2012 09:59:06 +0000 (09:59 +0000)]
[include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up

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

12 years ago[package] uhttpd: retry parsing the CGI header until the buffer space is exhausted
Jo-Philipp Wich [Wed, 11 Jul 2012 09:59:05 +0000 (09:59 +0000)]
[package] uhttpd: retry parsing the CGI header until the buffer space is exhausted

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

12 years ago[brcm63xx] remove bcm63xx_pci_register() call in livebox board
Florian Fainelli [Wed, 11 Jul 2012 09:15:26 +0000 (09:15 +0000)]
[brcm63xx] remove bcm63xx_pci_register() call in livebox board

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

12 years ago[brcm63xx] use physmap-flash on livebox (#8677)
Florian Fainelli [Wed, 11 Jul 2012 09:15:22 +0000 (09:15 +0000)]
[brcm63xx] use physmap-flash on livebox (#8677)

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

12 years ago[mcs814x] nuport-mac: check netif_receive_skb() return value
Florian Fainelli [Wed, 11 Jul 2012 08:29:01 +0000 (08:29 +0000)]
[mcs814x] nuport-mac: check netif_receive_skb() return value

We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

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

12 years agoath9k: fix some bugs related to txop limit handling and aggregation
Felix Fietkau [Wed, 11 Jul 2012 02:11:33 +0000 (02:11 +0000)]
ath9k: fix some bugs related to txop limit handling and aggregation

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

12 years agoath9k: disable hardware full sleep with active client mode interface until mac80211...
Felix Fietkau [Tue, 10 Jul 2012 23:42:30 +0000 (23:42 +0000)]
ath9k: disable hardware full sleep with active client mode interface until mac80211 IEEE80211_CONF_IDLE support has been fixed

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

12 years agoath9k: clean up / fix some initval related code
Felix Fietkau [Tue, 10 Jul 2012 01:13:15 +0000 (01:13 +0000)]
ath9k: clean up / fix some initval related code

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

12 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

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

12 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()

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

12 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()

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

12 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

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

12 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

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

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

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

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

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

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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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 <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32643 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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.

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

12 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.

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

12 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

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

12 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

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

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32636 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32635 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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
addresses.

For example:

  config dnsmasq:
[snip]
list address '/example.com/192.168.0.1'

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

Useful for overriding lookups to a range of DNS names.

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

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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@andy.id.au>
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

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

12 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 <gui@altermundi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32620 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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.

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

12 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 <gui@altermundi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32618 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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
firmware.

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

12 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

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

12 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.

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

12 years ago[package] hostapd: change wpa_supplicant.sh 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 wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup

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

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32613 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32612 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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 <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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 <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32610 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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

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

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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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 <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32600 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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)

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

12 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

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

12 years agocommit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043...
Travis Kemen [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

12 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

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

12 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 <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32593 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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.

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

12 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

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

12 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

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

12 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

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

12 years agomac80211: add support for AR9550
Gabor Juhos [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

12 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

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

12 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

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

12 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 <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 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

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

12 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

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

12 years ago[brcm63xx] refresh patches
Florian Fainelli [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

12 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

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

12 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)

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

12 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 http://patchwork.openwrt.org/patch/1810/

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

12 years agoinclude/image.mk: /tmp should have mode 1777
Jo-Philipp Wich [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

12 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 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