Commit Graph

9557 Commits (8359109069cefd1764c219925f7d9ac16855ad67)

Author SHA1 Message Date
Felix Fietkau 1691223d48 kernel: move regmap bloat out of the kernel image if it is only being used in modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:39:50 +00:00
Felix Fietkau d774dfa969 add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:04:04 +00:00
Hauke Mehrtens 48aaa4ce65 broadcom-diag: add diag support for Linksys E1000 V1
This adds diag leds/buttons support for Linksys E1000 V1. It worked on
my router, however it may need some tweaking by people more familiar
with openwrt and c to make it fit for commiting.

Thank you hhm for this patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:07:11 +00:00
Hauke Mehrtens 207fa73846 brcm47xx: build b44 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:00:25 +00:00
Hauke Mehrtens c16de866d5 switch: ROBO Switch Gigabit MII Support
I wrote this patch some time ago because I had a need for one of the
Gigabit ports (Linksys E3000) to be forced to 100FD.  This is based
on the robocfg sources included w/ the RT-N16 sources from ASUS.
Since work is progressing on a BGMAC driver that could be included in
OpenWRT, this may be useful to someone else.

In testing, forcing the speed to 10/100 or 1000 worked fine; however,
when trying to force full-duplex mode, the result was always
half-duplex.  I was not able to isolate the source of the problem
(this patch, driver or H/W limitation).  The only way I could get it
to work was to set the port to Auto, but then only advertise 100FD
(not included in this patch).

I have a modified version of the robocfg package as well, I'd have to
clean it up a little first (remove the full-duplex hack) before
submitting it if there is interest.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:58:01 +00:00
Hauke Mehrtens 477d74b42b switch: improve error messages
This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:57:19 +00:00
Hauke Mehrtens 880dc8381a brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:53:30 +00:00
Steven Barth e1c79f5058 ipv6-support: Update iteration
* Add support for blocking forwarding while address assignments
* Fix relay restarting function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:44 +00:00
Steven Barth 1e7f1c6ab7 odhcp6c: Add support for SNTP and SIP options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:39 +00:00
Steven Barth 8ed0bcabf0 6relayd: Announce RDNSS and DNSSL via RA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:35 +00:00
Jo-Philipp Wich 5dcb273a97 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:29 +00:00
Felix Fietkau 00b8e3793b ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 17:37:30 +00:00
Jo-Philipp Wich ec20bc2d5d sysupgrade: clarify online help
Fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 16:21:30 +00:00
Jo-Philipp Wich 21df4e7130 sysupgrade: do not require an extra argument after --restore-backup
Neither --create-backup nor --restore-backup need an image name (following
the backup filename). Treat them in uniform way.

Mostly fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 16:21:26 +00:00
Jo-Philipp Wich 64324ccfca dnsmasq: allow dhcp host entries without mac addresses (#11928)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 15:14:19 +00:00
Jo-Philipp Wich 090f7dbbad lldpd: various enhancements
- introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name
	- set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox"
	- introduce "option lldp_description" to override the automatically generated description

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 14:35:43 +00:00
John Crispin d1c1b7bdd8 Remove remaining etrax references
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 11:28:11 +00:00
John Crispin 88f49b517b [kernel] fix typo in HFS kernel module
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 10:29:45 +00:00
John Crispin 4fd71cb4c3 [mac80211] fixes libertas firmware install path
fixes #12712

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 10:08:54 +00:00
John Crispin 4cb8191681 [kernel] fix video modules package generation
The folder layout changed between 3.6 and 3.7

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 09:43:07 +00:00
Steven Barth c1e3448510 6relayd: Detect changes of default routes for RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:37 +00:00
Steven Barth 269ae87c6f ipv6-support: Remove unnecessary code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:32 +00:00
Gabor Juhos 8d62993e1f package/kernel: select crypto-sha256 for cifs on 3.7+
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 19:04:20 +00:00
Gabor Juhos d92a67bfa5 package/kernel: create separate package for the sha256 crypto module
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 19:04:17 +00:00
Steven Barth d87be0cd09 ipv6-support: Fix typo in dhcpv6-script
* thanks to KarlHegbloom for reporting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-31 09:38:59 +00:00
Hauke Mehrtens b3759e07e0 rtc-rv5c386a: fix compilation for kernel >= 3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 15:32:53 +00:00
Hauke Mehrtens acbd0b6c21 acx-mac80211: fix compilation
Some header files from mac80211 are now moved to the uapi dir.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 15:28:28 +00:00
Felix Fietkau a50e37f61d uci: disable parallel builds again, the lua<->libuci dependency is not safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 14:58:37 +00:00
Steven Barth fc35fadc1b ipv6-support: Use more consistent default values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 10:12:31 +00:00
Felix Fietkau 52db048af3 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:57 +00:00
Felix Fietkau ff6fdc0f9b mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:49 +00:00
Steven Barth 7bd61ec3c9 ipv6-support: Updated functionality
* Add site-border feature again
* Add option to always announce a default router

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:22 +00:00
Steven Barth fc3fe40330 6distributed: Add null-route for delegated prefix
* Fixes forwarding loops for unused subprefixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:17 +00:00
Steven Barth d9720b53f1 6relayd: Announce DNS search domain via DHCPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:12 +00:00
Felix Fietkau 29e5082560 uci: update to latest version (adds list delete support), enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 17:37:10 +00:00
Steven Barth 1f93761a65 ipv6-support: Remove site-border feature
* was causing routing problems
* will be reimplemented using firewall

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:53 +00:00
Steven Barth 97f157187d Remove site-border routing filter due to problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:47 +00:00
Steven Barth 81dbe78117 ipv6-support:
* Automatically detect and propagate MTU from upstream interfaces
* Add site-border feature (RFC 6204, ULA-4)
* Fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:17 +00:00
Steven Barth 969eddef42 6distributed: feature update
* Add feature to decrease IPv6-specific MTU on-demand
* Add commands to enable / disable a site-border

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:12 +00:00
Steven Barth 5d14d45927 6relayd: Advertise IPv6-specific MTU instead of generic
* Fixes announced MTU when using tunnels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:07 +00:00
Steven Barth 625d2318ae base-files: Fix a typo in config_list_foreach
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:01 +00:00
Jo-Philipp Wich a6a3bd8d57 base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 22:18:43 +00:00
Steven Barth dd4befa7e2 ipv6-support: Fix default RA settings for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:22:48 +00:00
Felix Fietkau 1c2e2fe906 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 10:59:57 +00:00
Felix Fietkau da6849d9ab opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:31:37 +00:00
Felix Fietkau dd07d18592 dropbear: convert init script to procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:13 +00:00
Felix Fietkau d8c3a7ef19 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:09 +00:00
Felix Fietkau 56e6c5df09 procd: add initial implementation
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:06 +00:00
Felix Fietkau 16e46a4dd8 libnl-tiny: add includedir to pkg-config cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:01 +00:00
Felix Fietkau eca53dd739 dropbear: use network_get_device instead of scan_interfaces to get the device name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:55:57 +00:00
Steven Barth 0e4a0f7b38 ipv6-support: Preliminary support for dnsmasq >=2.66
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:53 +00:00
Steven Barth 70a28cb7bb 6relayd: Fix detection of prefix changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:49 +00:00
Steven Barth c350703d01 odhcp6c: Fix build on arch where char is unsigned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:45 +00:00
Steven Barth 497a2434ad 6distributed: Improve prefix deprecation algorithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:40 +00:00
Gabor Juhos 7fe8ed80bf package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:09 +00:00
John Crispin d417c0b4fe [gpio-button-hotplug] add OF binding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:49 +00:00
John Crispin 211751d6f9 [lantiq] adsl firmware in wrong submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:30 +00:00
John Crispin 3ac632e1dd [lantiq] minor cleanup for adsl firmware handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:25 +00:00
John Crispin a07a9a8200 [lantiq] properly symlink the adsl firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:20 +00:00
Mirko Vogt 1a59d79237 [package/base-files] hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 12:10:21 +00:00
Luka Perkov b0eb2879af [package] base-files: we don't need /etc/functions.sh symlink anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 15:15:30 +00:00
Mirko Vogt 4f4f7ca182 merge /lib/functions/boot.sh and /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:53 +00:00
Mirko Vogt fd18877418 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
Mirko Vogt 667779e4f8 change prefix for util-linux binaries from / to /usr
The prefix / causes executables like mount, umount, etc. to be placed
in /bin /sbin which therewith replace the busybox symlinks.
mount and umount e.g. are linked again libmount.so.

This is e.g. fatal during a sysupgrade, where /bin/mount,
/bin/umount, etc. but not libmount.so get copied into a ramdisk
which will result in non working executables within the ramdisk.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:42 +00:00
Jo-Philipp Wich 6d12ce8a24 block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 09:41:28 +00:00
John Crispin ab19d67c09 ltq-hcd usb fix high speed hub mode
Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 19:31:46 +00:00
Gabor Juhos b52a4171cc ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:44 +00:00
Gabor Juhos 9958bb049f kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:43 +00:00
Felix Fietkau 76bae84957 libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 13:08:50 +00:00
Felix Fietkau be621b6356 netifd: update to latest version, fixes interface error reporting for shell proto handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 22:24:31 +00:00
Felix Fietkau d28fdf7e93 ncurses: fix build error in libncursesw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:47 +00:00
Felix Fietkau 68e9783897 sierra-directip: delete, replaced by upstream drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:43 +00:00
Felix Fietkau 59de6c0111 netifd: update to latest version, no longer needs the removed jshn_append() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 14:57:15 +00:00
Jo-Philipp Wich 2e6a28720c base-files: use json_is_a() in network.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich ed8ca02154 libubox: update to latest git head, introduces jshn json_is_a() helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 13:07:38 +00:00
Jo-Philipp Wich 8b39aa4636 base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 20:17:18 +00:00
Felix Fietkau 72280d14cc libubox: another jshn update, fixes array handling issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 18:59:01 +00:00
Jo-Philipp Wich b1c39b2c14 base-files: various enhancements to network.sh
- support reading inactive gateways and DNS information in
	  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
	  by passing "true" as optional last argument
	- internally cache fetched values to speed up subsequent accesses to the same
	  data, introduce network_flush_cache() to clear them
	- add some inline function documentation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 18:22:02 +00:00
Felix Fietkau 8389e38c46 libubox: fix some jshn variable handling regressions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 17:05:46 +00:00
Felix Fietkau 5943a6d8c3 libubox: update to latest version, adds jshn namespace support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 16:49:47 +00:00
Felix Fietkau 511f2b5f6d wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 13:23:37 +00:00
John Crispin 631fa2c18c [include] fixes uapi helper define
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 11:04:27 +00:00
Felix Fietkau 5f136d1d2b kernel: add a module for ipv6 gre
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 21:59:56 +00:00
Felix Fietkau 692ebc4524 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:29 +00:00
Felix Fietkau a9600d7cae netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:24 +00:00
John Crispin 53ccbdf3f1 [lantiq] allow to load only 1 usb port on AR9 / VR9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 11:01:05 +00:00
John Crispin 8b01a37718 [lantiq] move voice packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:45 +00:00
John Crispin cc2dee64f0 [lantiq] move ltq-adsl-tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:39 +00:00
John Crispin 2218caeed3 [lantiq] move ltq-adsl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:33 +00:00
John Crispin bb0a7ef4d8 [lantiq] move ltq-ifxos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:26 +00:00
John Crispin cf52d3d0c8 [lantiq] add ltq-ptm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:13 +00:00
John Crispin 1e83d38b96 [lantiq] add ltq-deu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:05 +00:00
John Crispin 0c60875d34 [lantiq] add ltq-hcd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:53 +00:00
John Crispin 39d02a1398 [lantiq] fixes uboot dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:35 +00:00
John Crispin 98f385de49 [kernel] add crypto-pcompress
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:29 +00:00
John Crispin 599eec46ae [ppp] make use of uapi directory wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:19 +00:00
Gabor Juhos 74ee635064 package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 12:11:50 +00:00
Hauke Mehrtens 111262207d broadcom-wl: Pass physical address to wl_attach
wl_attach expects a physical address, as it performs the mapping internally.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:55:49 +00:00
Felix Fietkau 7d67b79951 netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 16:14:41 +00:00
Felix Fietkau 5ee3e74ec9 build: only install packages for selected variants, fixes building multiple variant selections in one tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 13:07:01 +00:00
Hauke Mehrtens e26a7dcc11 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:09:55 +00:00
Gabor Juhos a38aced958 base-files: add mtd_find_chardev helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 16:49:50 +00:00
Mirko Vogt 02c0c5873b Revert "remove function find_mtd_part() from /lib/functions.sh"
Reverting commit 34641.
Function find_mtd_part() is needed by some scripts deployed
for certain targets but not including boot.sh after all.
Still, all this certainly needs some love.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 13:41:56 +00:00
Mirko Vogt fcdaf31751 remove function find_mtd_part() from /lib/functions.sh
Since all scripts using this function include /lib/functions/boot.sh -
where this function is defined as well - it can be dropped
from /lib/functions.sh. Also avoids further confusion about this
function being declared and defined in two different places.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 12:38:31 +00:00
Gabor Juhos 64dc67c44a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 17:49:11 +00:00
Steven Barth 381b57a6ea ipv6-support: Make ULA addresses secondary
* Deprecates ULA prefixes when there are other public prefixes
* Fixes issues with clients using incorrect source addresses

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:37 +00:00
Steven Barth 91b24ac85b 6distributed: Add support for secondary addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:32 +00:00
Steven Barth 01ae10e8da 6relayd: Fix announcement of deprecated prefixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:27 +00:00
Gabor Juhos 6ff2a66a2f mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 14:16:23 +00:00
Gabor Juhos 515fa69f8f mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 23:21:02 +00:00
Florian Fainelli 1d24cf3f90 package/kernel: enable CONFIG_SND_SOC_DMAENGINE_PCM in sound-soc-core
This is required for 3.6+ kernels and some sound SoC modules.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:32 +00:00
Florian Fainelli 39dd073880 package/kernel: snd-soc-core depends on regmap
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:15 +00:00
Florian Fainelli ae840bef98 package/kernel: package kmod-input-matrixkmap
This is required by some keyboard drivers in 3.6+

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:06 +00:00
Felix Fietkau c0ef7ab7ce kernel: include the xfrm_algo module on 3.6+ (fixes #12552)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 18:49:30 +00:00
Felix Fietkau 722553af77 mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 18:29:17 +00:00
Steven Barth c88dfafb1e ipv6-support: Add support for NPT status tracking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:46:59 +00:00
Steven Barth 06cba95902 6distributed: add status-call for luci-integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:46:54 +00:00
Felix Fietkau 04d293ebae b43: fix tx path skb leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:43:01 +00:00
Gabor Juhos 23fe7d4e4f mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:15 +00:00
Gabor Juhos f7b644774f mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:13 +00:00
Felix Fietkau ed9c523990 ath5k: fix skb leaks (should fix #12199)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:42:34 +00:00
Felix Fietkau f7a9482416 mac80211: fix setting txpower (#12594)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:09 +00:00
Felix Fietkau b418474e27 iw: sync with nl80211.h to fix setting antenna gain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:06 +00:00
Felix Fietkau ec9496391e ath9k: improve signal strength / channel noise reporting accuracy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:02 +00:00
Felix Fietkau af2a7d18d1 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:58 +00:00
Felix Fietkau 469e1c3a80 mac80211: merge fix for carl9170 upstream regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:54 +00:00
Steven Barth 03819fd978 ipv6-support: Next iteration
* Make ula_prefix a global option
* Add preliminary support for NAT (Linux >= 3.7, ip6tables >= 1.4.17)
* Minor fixes for prefix fallback

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 13:54:22 +00:00
Steven Barth ae5c745c07 6distributed: Correctly handle duplicate prefixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 13:32:30 +00:00
Steven Barth be0ee748d3 6relayd: Always send NA with hop-limit 255
* thanks risa2000 for investigating

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 12:33:28 +00:00
Hauke Mehrtens 0ef1d5d758 mac80211: do not build mwifiex driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 18:10:14 +00:00
Felix Fietkau 6ec11910ca mac80211: update to wireless-testing 2012-12-06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:46:04 +00:00
Hauke Mehrtens 104526605c mac80211: brcmsmac: do a read after write when writing objmem to device.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:24:35 +00:00
Jo-Philipp Wich 1309ba379e firewall: fix typo in reflection hotplug script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 13:08:28 +00:00
Steven Barth 387fdc15a7 6to4: Remove static radvd-integration
* Please use the new ipv6-support package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 08:53:53 +00:00
Florian Fainelli 0e99db6d76 mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:45 +00:00
Steven Barth e20634512b ipv6-support: next iteration
* Introduce mode 6rd
* Introduce mode 6to4
* Fix announcement of DNS-Servers received from DHCPv6
* Fix some corner-cases in relaying behaviour

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:40 +00:00
Steven Barth 555733dc19 6relayd: More RFC-compatibility and size reduction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:35 +00:00
Steven Barth e8d86f1a8e 6distributed: Add compatibility with 6rd and 6to4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:30 +00:00
Jo-Philipp Wich 5308e09135 ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)
Since the switch to netifd, proto handlers may always set the defaultroute
and provide dns server addresses, netifd will decide in the generic code
path whether the announced values are masked or not.

Additionally protocol handlers should not modify the routing tables themselves
and prevent any launched services from doing so.

Remove the additional defaultroute and peerdns option handling from the ppp.sh
protocol handler and rely on netifd to mask or not mask the values.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 18:17:21 +00:00
Felix Fietkau f5754d8095 kernel: fix video-core build on 3.6+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:19 +00:00
Felix Fietkau aaf2783f6c mac80211: clean up patches, replace patching config.mk with a generated sed expression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:09 +00:00
Florian Fainelli b43862ba7b libiconv-full: add clause to Makefile to actually install iconv
At present, if you select the iconv utility it will be built but not
installed. This patch adds the clauses necessary to the Makefile to
actually install iconv.

Signed-off-by: Mike Brady <mikebrady@eircom.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 18:05:04 +00:00
Florian Fainelli eebdec56b1 linux-atm: put all packages into their own submenus
Now that we package individual tools as well, the list of ATM tools is
pretty big to deserve its own submenu.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:58:54 +00:00
Florian Fainelli 489c3ed133 linux-atm: fix typo introduced in r34502
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:37:03 +00:00
Florian Fainelli cdcf1f1393 linux-atm: package each available atm debug tool individually
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:08 +00:00
Felix Fietkau ce739282b4 netifd: update to latest version, fixes resolv.conf writes on interface setting changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 13:28:56 +00:00
Florian Fainelli 46e32ed7fa dropbear: update to 2012.55 and refresh patches
Upstream has a few code cleanups, more eagerly burns sensitive memory and
includes the fix for CVE-2012-0920. Full changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

Local changes:
- Removed PKG_MULTI which is no longer in options.h (even before 2011.54)
- Merged DO_HOST_LOOKUP into 120-openwrt_options.patch
- Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS)
- Removed 400-CVE-2012-0920.patch which is included in 2012.55

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:40:17 +00:00
Florian Fainelli 7e47109379 linux-atm: create atm-debug-tools package
Instead of commenting the inclusion of some binaries, just make them
available using a new package "atm-debug-tools."

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:24 +00:00
Florian Fainelli ae346cafa2 linux-atm: factor common descriptions
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:21 +00:00
Jo-Philipp Wich b0ab057b72 firewall: extend nat reflection support
- use comment match to keep track of per-network rules
	- setup reflection for any interface which is part of a masqueraded zone, not just "wan"
	- delete per-network reflection rules if network is brought down

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 15:24:21 +00:00
Felix Fietkau c9250641c4 mac80211, hostapd: Fix macfilter for multi bssid setups
Previously only the first macfilter configuration would have been used
on all interfaces. However, the configuration was always done per vif
already. Hence, move the macfilter setup into hostapd.sh where and
create one mac list file per vif.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 12:06:40 +00:00
Mirko Vogt f456e95ddd Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 12:46:57 +00:00
Steven Barth 70d19c877a ipv6-support: Second Iteration
* mode 'downstream' renamed to 'router'
* mode 'upstream' renamed to 'dhcpv6'
* mode 'relay' added
* cleanups and minor bugfixes in state handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 09:18:53 +00:00
Steven Barth 0789334c3c netifd: empty hotplug handler removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 07:20:44 +00:00
Gabor Juhos 7faa98983a mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:39 +00:00
Gabor Juhos 523556378b mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:37 +00:00
Steven Barth 8be018013d 6distributed: Poll for ubus to come up (fix race)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 19:06:48 +00:00
Felix Fietkau a2cd55ec72 libubox: update to latest version, fixes blob/blobmsg endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:50:39 +00:00
Hauke Mehrtens 19d0fc1c10 broadcom-wl: get the mmio address directly from the struct if bcma is used.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:07:43 +00:00
Gabor Juhos 0e27bbf8b9 Make teql hotplug script run sooner
In particular, it wants to run before the ntpclient script. Which may
block for a long time attempting to do DNS lookups for NTP servers. In
my case, that would have *worked* if the new device had been added to
teql first, rather than timing out.

This was effectively causing a huge delay between an interface coming
up, and routing actually starting to work.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:03 +00:00
Jo-Philipp Wich 6acaf2e470 package: use file_copy to deploy files/ in the package/install phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:38 +00:00
Florian Fainelli b2e588b1c6 [package] kernel: remove references to TARGET_ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:51 +00:00
Steven Barth f82b5ce453 ipv6-support: Add conffiles section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:33:17 +00:00
Steven Barth 83e4d3209b ipv6-support: Add new IPv6-support meta-package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:28 +00:00
Steven Barth d9c6bfbf8e odhcp6c: Add new embedded DHCPv6 client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:23 +00:00
Steven Barth 513fd1b52a 6distributed: add local IPv6 prefix distributor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:18 +00:00
Steven Barth 53241a5e18 6relayd: Fix some RFC 6204 compatibility issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:14 +00:00
Steven Barth 13a478551d Remove old IPv6 sysctl-config (deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:09 +00:00
Steven Barth aa193c1117 Remove default sysctl-entry for IPv6 here (races)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:04 +00:00
Luka Perkov e1af779da1 [boot] uboot-kirkwood: build in $(BUILD_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 01:04:37 +00:00
Jo-Philipp Wich 2883f9c19c gettext-full: use shipped libxml for the host build, fixes lzma references from creeping in on certain distributions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-28 21:02:53 +00:00
Jo-Philipp Wich 19cfe5300b trace-cmd: lazily evaluate extra plugins list, fixes stray build errors causing by missing operands to cp if the package was never built yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:08:42 +00:00
Jo-Philipp Wich 11df5c8068 grub2: fix another case of gnulib failing under gnu libc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-26 16:03:40 +00:00
Hauke Mehrtens 42adbc07a1 broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d.
* load the nvram just one time into the own buffer, also when there is
  more than one device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 20:11:15 +00:00
Gabor Juhos 2a55c53a47 base-files: add support for the morse LED trigger
Write "delay" and "message" options to their respective files,
allowing Morse code message configuration through UCI.
The delay (dit length) defaults to 150ms (about 8 words per minute,
suitable for beginners).

Signed-off-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 17:20:49 +00:00
Florian Fainelli b2336ec05a [package] modules: remove obsolete comment (#12514)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 11:41:07 +00:00
Florian Fainelli 86438fe65e [package] iptables: fix typo in iptables musl patch after r34313
Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 11:40:59 +00:00
Florian Fainelli 24cc4007ce [buildroot] add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
Florian Fainelli ee048e8c32 [package] iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:23 +00:00
Florian Fainelli be55423704 [package] linux-atm: add portability fixes
Spotted while building against musl libc.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:19 +00:00
Florian Fainelli 356acc1661 [package] busybox: fix arping applet building on musl
musl-libc is more strict about missing includes.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:14 +00:00
Florian Fainelli 331832ea11 [package] netfid: fix build on musl
AF_INET* is provided by sys/socket.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:10 +00:00
Florian Fainelli d7ee83152b [package] busybox: define musl specificities in platform.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:06 +00:00
Florian Fainelli 66fc4eb6d5 [package] base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:02 +00:00
Florian Fainelli 77ef686521 [package] busybox: change the date -k patch to be more portable
Not all libcs have support for tm_gmtoff which is only available for BSD
compatibility, and guarded with __USE_BSD defines, use __tm_gmtoff otherwise.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:01:58 +00:00
Florian Fainelli 3d41c1d126 [package] grub2: accept the linux-musl* tuple
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:01:53 +00:00
Luka Perkov f7ba578269 [boot] uboot-lantiq: add new package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 18:16:05 +00:00
Luka Perkov 2153755fc6 [boot] uboot-kirkwood: update to 2012.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 21:16:04 +00:00
Jonas Gorski 971a80da10 package: kernel: make crypto kmods always visible
Don't hide crypo submodules unless crypo-core is selected.

Fixes kmods depending on crypto modules being unselectable
until crypto core is selected (like ext4 on 3.6 or mac80211).

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 11:55:18 +00:00
Florian Fainelli 5410eb0e09 [package] hostapd: include sys/stat.h for a struct stat definition
Some libcs need this header to be explicitely included (e.g: musl)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:06 +00:00
Florian Fainelli c7b5d2b21a [package] mtd: do not include error.h
We do not use anything from it, and it is not available with all libcs.
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:02 +00:00
Florian Fainelli 7a7bfbf471 [package] valgrind: re-categorize from utils to devel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:58 +00:00
Florian Fainelli 75add71bb9 [toolchain] libthread-db: fix libthread_db.so installation.
libthread_db.so.$(LIBC_SO_VERSION) is only valid for uClibc, (e)glibc just
provides libthread_db.so.1.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:55 +00:00
Florian Fainelli 12658b104a [package] gdb: recategorize from utils to devel in menuconfig
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:51 +00:00
John Crispin be2b7fab8c [linux-atm] actually deploy atmarp and atmarpd and not just their libtool wrapper
due to a small error in the atm-tools package we are not deploying
atmarp/atmarpd but instead the (useless) libtool-wrappers.

Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 06:07:23 +00:00
Gabor Juhos e71db9dfd9 mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:09 +00:00
Gabor Juhos d830c243a0 mac80211/rt2x00: support Rt3352 with external PA
This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:08 +00:00
Florian Fainelli 58f1a4677b [package] gdb: fix debugging of MIPS(el) applications
GDB previously failed with the following:

root@OpenWrt:/# gdb busybox
[snip]
(gdb) r
Starting program: /bin/busybox
GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 14:38:02 +00:00
Florian Fainelli 0f572a0877 [package] gdb: add missing zlib dependency
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 14:37:22 +00:00
Hauke Mehrtens a47fb21bf8 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +00:00