Commit Graph

9332 Commits (4f2ef2e11a53646e513ab4dbb9ea2867972bc35c)

Author SHA1 Message Date
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