Commit Graph

7260 Commits (25475a095ec71f55826a5864e78e09c27031f179)

Author SHA1 Message Date
Steven Barth e7719bb4aa ipv6-support: Updated functionality * Add site-border feature again * Add option to always announce a default router
SVN-Revision: 34908
2012-12-28 12:02:22 +00:00
Steven Barth ce41e59030 6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused subprefixes
SVN-Revision: 34907
2012-12-28 12:02:17 +00:00
Steven Barth d6c955e39a 6relayd: Announce DNS search domain via DHCPv6
SVN-Revision: 34906
2012-12-28 12:02:12 +00:00
Felix Fietkau 662c1f16bb uci: update to latest version (adds list delete support), enable parallel build
SVN-Revision: 34899
2012-12-27 17:37:10 +00:00
Steven Barth 253d7345e1 ipv6-support: Remove site-border feature * was causing routing problems * will be reimplemented using firewall
SVN-Revision: 34898
2012-12-27 15:47:53 +00:00
Steven Barth 941f4ccd68 Remove site-border routing filter due to problems
SVN-Revision: 34897
2012-12-27 15:47:47 +00:00
Steven Barth 01059c8914 ipv6-support: * Automatically detect and propagate MTU from upstream interfaces * Add site-border feature (RFC 6204, ULA-4) * Fix a typo
SVN-Revision: 34896
2012-12-27 14:10:17 +00:00
Steven Barth 50a9fed238 6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand * Add commands to enable / disable a site-border
SVN-Revision: 34895
2012-12-27 14:10:12 +00:00
Steven Barth 4bab347e98 6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when using tunnels
SVN-Revision: 34894
2012-12-27 14:10:07 +00:00
Steven Barth f657787b52 base-files: Fix a typo in config_list_foreach
SVN-Revision: 34893
2012-12-27 14:10:01 +00:00
Jo-Philipp Wich ab6e2e6928 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.

SVN-Revision: 34875
2012-12-23 22:18:43 +00:00
Steven Barth 970adc9eb9 ipv6-support: Fix default RA settings for dnsmasq
SVN-Revision: 34873
2012-12-23 18:22:48 +00:00
Felix Fietkau a1e2b2ebe8 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
SVN-Revision: 34872
2012-12-23 10:59:57 +00:00
Felix Fietkau 9801f4687f opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
SVN-Revision: 34869
2012-12-22 19:31:37 +00:00
Felix Fietkau 7ed89e8542 dropbear: convert init script to procd
SVN-Revision: 34867
2012-12-22 18:56:13 +00:00
Felix Fietkau bbc6694d98 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
SVN-Revision: 34866
2012-12-22 18:56:09 +00:00
Felix Fietkau 6061734323 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.

SVN-Revision: 34865
2012-12-22 18:56:06 +00:00
Felix Fietkau b0c855253b libnl-tiny: add includedir to pkg-config cflags
SVN-Revision: 34864
2012-12-22 18:56:01 +00:00
Felix Fietkau 82bd58c793 dropbear: use network_get_device instead of scan_interfaces to get the device name
SVN-Revision: 34863
2012-12-22 18:55:57 +00:00
Steven Barth a4e656ef24 ipv6-support: Preliminary support for dnsmasq >=2.66
SVN-Revision: 34858
2012-12-22 13:00:53 +00:00
Steven Barth 2dbfffef68 6relayd: Fix detection of prefix changes
SVN-Revision: 34857
2012-12-22 13:00:49 +00:00
Steven Barth f36c3067c6 odhcp6c: Fix build on arch where char is unsigned
SVN-Revision: 34856
2012-12-22 13:00:45 +00:00
Steven Barth 970c5d97fe 6distributed: Improve prefix deprecation algorithm
SVN-Revision: 34855
2012-12-22 13:00:40 +00:00
Gabor Juhos fcf65bdee3 package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34844
2012-12-22 12:11:09 +00:00
John Crispin 6531546751 add OF binding
SVN-Revision: 34834
2012-12-21 20:03:49 +00:00
John Crispin bac5ef2a2f adsl firmware in wrong submenu
SVN-Revision: 34819
2012-12-21 13:47:30 +00:00
John Crispin 9a134fb7c0 minor cleanup for adsl firmware handling
SVN-Revision: 34818
2012-12-21 13:47:25 +00:00
John Crispin 346a8e5878 properly symlink the adsl firmware
SVN-Revision: 34817
2012-12-21 13:47:20 +00:00
Mirko Vogt 4cca5cd4fd 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.

SVN-Revision: 34815
2012-12-21 12:10:21 +00:00
Luka Perkov 65efd09b78 base-files: we don't need /etc/functions.sh symlink anymore
SVN-Revision: 34802
2012-12-20 15:15:30 +00:00
Mirko Vogt 4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh
SVN-Revision: 34794
2012-12-19 16:07:53 +00:00
Mirko Vogt 439a869090 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'.

SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
Mirko Vogt ec9ce7e089 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.

SVN-Revision: 34791
2012-12-19 16:07:42 +00:00
Jo-Philipp Wich 50983767b3 block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
SVN-Revision: 34784
2012-12-19 09:41:28 +00:00
John Crispin 3b79fe662a ltq-hcd usb fix high speed hub mode
Simple update for USB api changes.

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

SVN-Revision: 34770
2012-12-18 19:31:46 +00:00
Gabor Juhos 149b1c46c7 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>

SVN-Revision: 34752
2012-12-18 14:50:44 +00:00
Gabor Juhos ae97cc7d0f 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>

SVN-Revision: 34751
2012-12-18 14:50:43 +00:00
Felix Fietkau b9d314aee9 libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
SVN-Revision: 34746
2012-12-18 13:08:50 +00:00
Felix Fietkau bf34eeaea4 netifd: update to latest version, fixes interface error reporting for shell proto handlers
SVN-Revision: 34741
2012-12-17 22:24:31 +00:00
Felix Fietkau ba2286296e ncurses: fix build error in libncursesw
SVN-Revision: 34739
2012-12-17 15:11:47 +00:00
Felix Fietkau e1e00aed52 sierra-directip: delete, replaced by upstream drivers
SVN-Revision: 34738
2012-12-17 15:11:43 +00:00
Felix Fietkau 14281559e1 netifd: update to latest version, no longer needs the removed jshn_append() shell function
SVN-Revision: 34734
2012-12-17 14:57:15 +00:00
Jo-Philipp Wich 3339316fbe base-files: use json_is_a() in network.sh
SVN-Revision: 34733
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich e0ad41ead8 libubox: update to latest git head, introduces jshn json_is_a() helper
SVN-Revision: 34732
2012-12-17 13:07:38 +00:00
Jo-Philipp Wich 17acf9bf27 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
SVN-Revision: 34725
2012-12-16 20:17:18 +00:00
Felix Fietkau 1536f2be63 libubox: another jshn update, fixes array handling issues
SVN-Revision: 34723
2012-12-16 18:59:01 +00:00
Jo-Philipp Wich 1600ba99e4 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

SVN-Revision: 34722
2012-12-16 18:22:02 +00:00
Felix Fietkau 595b48be55 libubox: fix some jshn variable handling regressions
SVN-Revision: 34720
2012-12-16 17:05:46 +00:00
Felix Fietkau a7877699f7 libubox: update to latest version, adds jshn namespace support
SVN-Revision: 34718
2012-12-16 16:49:47 +00:00
Felix Fietkau 056d75049d 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>

SVN-Revision: 34716
2012-12-16 13:23:37 +00:00
John Crispin e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
2012-12-16 11:04:27 +00:00
Felix Fietkau b9d1bdb374 kernel: add a module for ipv6 gre
SVN-Revision: 34709
2012-12-15 21:59:56 +00:00
Felix Fietkau fba5be2dc5 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
SVN-Revision: 34705
2012-12-15 17:19:29 +00:00
Felix Fietkau 860c2e8116 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>

SVN-Revision: 34704
2012-12-15 17:19:24 +00:00
John Crispin 66daf1ef61 allow to load only 1 usb port on AR9 / VR9
SVN-Revision: 34700
2012-12-15 11:01:05 +00:00
John Crispin baae9d16e9 move voice packages
SVN-Revision: 34695
2012-12-15 02:00:45 +00:00
John Crispin 06c9170a7c move ltq-adsl-tool
SVN-Revision: 34694
2012-12-15 02:00:39 +00:00
John Crispin 1d0a9d0c04 move ltq-adsl
SVN-Revision: 34693
2012-12-15 02:00:33 +00:00
John Crispin c2738a9559 move ltq-ifxos
SVN-Revision: 34692
2012-12-15 02:00:26 +00:00
John Crispin 9b429a123d add ltq-ptm
SVN-Revision: 34690
2012-12-15 02:00:13 +00:00
John Crispin c2e2323e1d add ltq-deu
SVN-Revision: 34689
2012-12-15 02:00:05 +00:00
John Crispin 65d9ff5054 add ltq-hcd
SVN-Revision: 34688
2012-12-15 01:59:53 +00:00
John Crispin 240a3a38e1 fixes uboot dependency
SVN-Revision: 34686
2012-12-15 01:59:35 +00:00
John Crispin 12cfa40375 add crypto-pcompress
SVN-Revision: 34685
2012-12-15 01:59:29 +00:00
John Crispin 4583469413 make use of uapi directory wrapper
SVN-Revision: 34684
2012-12-15 01:59:19 +00:00
Gabor Juhos 86cd825c1f package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34679
2012-12-14 12:11:50 +00:00
Hauke Mehrtens 588b42a8b7 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>

SVN-Revision: 34671
2012-12-13 18:55:49 +00:00
Felix Fietkau b85c8a6361 netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
SVN-Revision: 34664
2012-12-13 16:14:41 +00:00
Felix Fietkau 64f0b22052 build: only install packages for selected variants, fixes building multiple variant selections in one tree
SVN-Revision: 34656
2012-12-13 13:07:01 +00:00
Hauke Mehrtens 3a4a6cfd64 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
SVN-Revision: 34652
2012-12-13 00:09:55 +00:00
Gabor Juhos 1552af3131 base-files: add mtd_find_chardev helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34648
2012-12-12 16:49:50 +00:00
Mirko Vogt ee17703371 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.

SVN-Revision: 34642
2012-12-12 13:41:56 +00:00
Mirko Vogt 1521cdda0f 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.

SVN-Revision: 34641
2012-12-12 12:38:31 +00:00
Gabor Juhos a6112c3e8a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

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

SVN-Revision: 34637
2012-12-11 17:49:11 +00:00
Steven Barth 8d9564af1b ipv6-support: Make ULA addresses secondary * Deprecates ULA prefixes when there are other public prefixes * Fixes issues with clients using incorrect source addresses
SVN-Revision: 34630
2012-12-11 16:56:37 +00:00
Steven Barth 8546f8a401 6distributed: Add support for secondary addresses
SVN-Revision: 34629
2012-12-11 16:56:32 +00:00
Steven Barth 14273e1120 6relayd: Fix announcement of deprecated prefixes
SVN-Revision: 34628
2012-12-11 16:56:27 +00:00
Gabor Juhos 1a000cfcef mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34627
2012-12-11 14:16:23 +00:00
Gabor Juhos 51f59a4f53 mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34624
2012-12-10 23:21:02 +00:00
Florian Fainelli b7f026680a 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>

SVN-Revision: 34618
2012-12-10 21:05:32 +00:00
Florian Fainelli 157cccaa6b package/kernel: snd-soc-core depends on regmap
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34616
2012-12-10 21:05:15 +00:00
Florian Fainelli 7685458982 package/kernel: package kmod-input-matrixkmap
This is required by some keyboard drivers in 3.6+

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

SVN-Revision: 34614
2012-12-10 21:05:06 +00:00
Felix Fietkau 1820e8566e kernel: include the xfrm_algo module on 3.6+ (fixes #12552)
SVN-Revision: 34611
2012-12-10 18:49:30 +00:00
Felix Fietkau b8757c644f mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
SVN-Revision: 34610
2012-12-10 18:29:17 +00:00
Steven Barth faba477274 ipv6-support: Add support for NPT status tracking
SVN-Revision: 34609
2012-12-10 16:46:59 +00:00
Steven Barth cd76023e97 6distributed: add status-call for luci-integration
SVN-Revision: 34608
2012-12-10 16:46:54 +00:00
Felix Fietkau e3128792fe b43: fix tx path skb leaks
SVN-Revision: 34607
2012-12-10 16:43:01 +00:00
Gabor Juhos dfd718d13d mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34606
2012-12-10 15:46:15 +00:00
Gabor Juhos 0739a2bb9c mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34605
2012-12-10 15:46:13 +00:00
Felix Fietkau 19fc506333 ath5k: fix skb leaks (should fix #12199)
SVN-Revision: 34603
2012-12-10 15:42:34 +00:00
Felix Fietkau cb9c63048d mac80211: fix setting txpower (#12594)
SVN-Revision: 34594
2012-12-10 13:51:09 +00:00
Felix Fietkau 01513b7c8b iw: sync with nl80211.h to fix setting antenna gain
SVN-Revision: 34593
2012-12-10 13:51:06 +00:00
Felix Fietkau 8d15b064e0 ath9k: improve signal strength / channel noise reporting accuracy
SVN-Revision: 34592
2012-12-10 13:51:02 +00:00
Felix Fietkau 45a0216593 mac80211: refresh patches
SVN-Revision: 34591
2012-12-10 13:50:58 +00:00
Felix Fietkau 77c14b1a99 mac80211: merge fix for carl9170 upstream regression
SVN-Revision: 34590
2012-12-10 13:50:54 +00:00
Steven Barth a07ddb955f 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
SVN-Revision: 34586
2012-12-09 13:54:22 +00:00
Steven Barth 57d853ffc4 6distributed: Correctly handle duplicate prefixes
SVN-Revision: 34585
2012-12-09 13:32:30 +00:00
Steven Barth eeeb59e451 6relayd: Always send NA with hop-limit 255 * thanks risa2000 for investigating
SVN-Revision: 34584
2012-12-09 12:33:28 +00:00
Hauke Mehrtens a087cde13e mac80211: do not build mwifiex driver
SVN-Revision: 34573
2012-12-07 18:10:14 +00:00
Felix Fietkau 6716ba9aad mac80211: update to wireless-testing 2012-12-06
SVN-Revision: 34571
2012-12-07 16:46:04 +00:00