Commit Graph

7446 Commits

Author SHA1 Message Date
Steven Barth
2a94f67029 6in4: add support for native IPv6 prefix handling
SVN-Revision: 35171
2013-01-15 13:08:05 +00:00
Steven Barth
a1e92f6dd1 6relayd: add suitable default configuration
SVN-Revision: 35170
2013-01-15 13:08:00 +00:00
Steven Barth
859fd7f614 6distributed: Remove obsolete service (replaced by netifd)
SVN-Revision: 35169
2013-01-15 13:07:56 +00:00
Steven Barth
847cd984b9 base-files: add support for ipv6-prefixes in connection with netifd
SVN-Revision: 35168
2013-01-15 13:07:51 +00:00
Steven Barth
06890959d1 netifd: Introduce native IPv6 prefix-handling
SVN-Revision: 35167
2013-01-15 13:07:41 +00:00
Gabor Juhos
e959b45920 package/kernel: move input modules into a separate submenu
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35161
2013-01-14 18:18:03 +00:00
Felix Fietkau
f4802fa8bf kernel: make sure that packages are generated for built-in crypto modules to avoid dependency errors with kmod-crypto-core on 3.7
SVN-Revision: 35158
2013-01-14 17:09:16 +00:00
Florian Fainelli
10ef67ed21 kernel: avoid recursive dependency caused by kmod-i2c-mv64xxx
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35157
2013-01-14 17:03:45 +00:00
Jo-Philipp Wich
03a50b9087 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
SVN-Revision: 35155
2013-01-14 16:12:56 +00:00
Felix Fietkau
b8ee5a7a1c ath9k: fix a soft lockup on smp systems
SVN-Revision: 35152
2013-01-14 15:58:46 +00:00
Felix Fietkau
fca519e06d ath9k: remove a lock to fix a deadlock on hw reset
SVN-Revision: 35147
2013-01-14 09:51:53 +00:00
Felix Fietkau
58df48212c mac80211: fix monitor mode injection
SVN-Revision: 35145
2013-01-13 22:10:14 +00:00
Gabor Juhos
7695c8b049 mac80211: rt2x00: fix PCI eeprom patch
Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

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

SVN-Revision: 35143
2013-01-13 20:44:14 +00:00
Jo-Philipp Wich
9173312542 libnfnetlink: update to v1.0.1
SVN-Revision: 35142
2013-01-13 19:49:06 +00:00
Jo-Philipp Wich
195a00df16 ubus: update to git head, passes u64 blob types as doubles to Lua
SVN-Revision: 35141
2013-01-13 19:49:01 +00:00
Jo-Philipp Wich
e5548b03e5 netifd: update to git head, adds 64bit counters
SVN-Revision: 35140
2013-01-13 19:48:52 +00:00
Felix Fietkau
97578303ff ath9k: fix memory corruption issues on ar5416/ar91xx
SVN-Revision: 35139
2013-01-13 18:55:39 +00:00
Steven Barth
0cd21ca785 odhcp6c: Send RS on start
SVN-Revision: 35137
2013-01-13 18:06:24 +00:00
Steven Barth
f0df2006af odhcp6c: Add preliminary proto-handler
SVN-Revision: 35135
2013-01-13 17:35:09 +00:00
Steven Barth
b58a13cb2c ipv6-support: don't use disable_ipv6
SVN-Revision: 35134
2013-01-13 17:25:43 +00:00
Steven Barth
fde5b934fd 6relayd: Rewrite init-script logic
SVN-Revision: 35133
2013-01-13 17:25:38 +00:00
Felix Fietkau
cec8ed1882 add ustream-ssl, an ustream abstraction library for SSL stream sockets
SVN-Revision: 35131
2013-01-13 15:57:05 +00:00
Felix Fietkau
379b8258f5 libubox: update to latest version, adds small blobmsg enhancements and license fixes - package is now ISC/BSD-3c
SVN-Revision: 35128
2013-01-13 14:31:27 +00:00
Felix Fietkau
0f101497ac kernel: make kmod-ledtrig-usbdev depend on usb core support instead of selecting it
SVN-Revision: 35120
2013-01-12 13:21:08 +00:00
Felix Fietkau
27828be83a mac80211: fix enabling HT40-
SVN-Revision: 35096
2013-01-11 13:24:20 +00:00
Vasilis Tsiligiannis
674439299f base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 (#12781)
SVN-Revision: 35095
2013-01-11 13:20:51 +00:00
Felix Fietkau
a27167aa13 mac80211: add a fix for ht40 connections
SVN-Revision: 35094
2013-01-11 11:49:11 +00:00
Felix Fietkau
0d24c70a4b ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
SVN-Revision: 35089
2013-01-10 18:46:36 +00:00
Felix Fietkau
7762ff1135 ath9k: add some calibration fixes from wireless-testing
SVN-Revision: 35081
2013-01-10 14:09:50 +00:00
Florian Fainelli
9348998887 toolchain: fix libpthread package for musl based toolchains (#12651)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35069
2013-01-09 15:36:43 +00:00
Felix Fietkau
52b030cf16 ath9k: correct a logic error in the rx path fix
SVN-Revision: 35067
2013-01-09 15:16:52 +00:00
Felix Fietkau
ddbb25c6a7 mac80211, ath9k: merge some pending fixes from linux-wireless@
SVN-Revision: 35066
2013-01-09 12:56:25 +00:00
Felix Fietkau
5c9fd3b2d2 mac80211: update to 2013-01-07, add several ath9k stability fixes
SVN-Revision: 35063
2013-01-09 12:45:28 +00:00
Florian Fainelli
57d6e73143 kernel: add kmod-mvsdio MMC host controller for Marvell targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35061
2013-01-08 22:20:30 +00:00
Florian Fainelli
7e0c80bcb6 kernel: make kmod-of-i2c available for the mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35060
2013-01-08 22:20:25 +00:00
Florian Fainelli
85fbe13cf5 kernel: adjust orion/kirkwood packages to also build for mvebu target
Armada XP/370 boards share these hardware blocks with Orion and Kirkwood
SoCs.

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

SVN-Revision: 35059
2013-01-08 22:20:21 +00:00
Florian Fainelli
c38cb63808 kernel: add more SCTP related configuration symbols
These symbols are used by 3.8+ kernels

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

SVN-Revision: 35054
2013-01-08 22:18:23 +00:00
Felix Fietkau
3b27974c7a mac80211: apply network interface configuration for adhoc + wpa2
SVN-Revision: 35049
2013-01-07 21:12:33 +00:00
Florian Fainelli
ebc47a91eb ncurses: fix typo on INSTALL_LIBSTDCPP configuration symbol
Thanks to kyak for spotting this

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

SVN-Revision: 35047
2013-01-07 18:19:31 +00:00
Mirko Vogt
d73104d680 fix typo in Makefile
Thanks to Stefan Hellermann for pointing this out!

SVN-Revision: 35042
2013-01-07 17:11:15 +00:00
Felix Fietkau
539b5ac46d libubox: update to latest version, contains several uloop/ustream fixes
SVN-Revision: 35039
2013-01-07 15:25:03 +00:00
Mirko Vogt
12a6622bd9 This patch updates uboot-xburst from 2009.11 to 2012.10-rc2 - Ingenic SoC support went upstream
Summary:
* remove all files/* (since merged to upstream)
* patches on nand-spl, mmc and lcd driver

Thanks a lot to Xiangfu Liu!

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>

SVN-Revision: 35034
2013-01-07 14:10:01 +00:00
Vasilis Tsiligiannis
c86485210b zram-swap: Install init script with 0755 mode
SVN-Revision: 35033
2013-01-07 12:01:11 +00:00
Jo-Philipp Wich
cedbe66e9a kernel: fix kmod-ipsec load order (#12552)
SVN-Revision: 35032
2013-01-07 10:54:56 +00:00
Hauke Mehrtens
7223068536 zram-swap: make the zram init.d executable
SVN-Revision: 35028
2013-01-06 20:23:49 +00:00
Hauke Mehrtens
7a39e7860a compcache: remove package, use zram-swap instead
SVN-Revision: 35026
2013-01-06 17:14:53 +00:00
Hauke Mehrtens
bef592844b zram: add package to use compressed ram disk for swap
The busybox size is increased by 3.2KByte uncompressed on bcm47xx with
this commit.

This zram-swap automatically creates a zram device, a swap partition on
it and make the kernel swap pages to it.

Thank you Bastian Bittorf <bittorf@bluebottle.com> for idea and the
script.

SVN-Revision: 35025
2013-01-06 16:21:29 +00:00
Felix Fietkau
82b3e879d4 kernel: add a module for the isl1208 rtc
SVN-Revision: 35022
2013-01-06 15:09:43 +00:00
John Crispin
e6aac19237 fix regmap debloat patch
SVN-Revision: 35015
2013-01-05 00:20:05 +00:00
Felix Fietkau
ba21190710 mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS
I wanted to use some statistics from /sys/kernel/debug/ieee80211,
so I enabled PACKAGE_MAC80211_DEBUGFS.  But I could not use it,
because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit
hidden. After manually setting CONFIG_KERNEL_DEBUG_FS to y,
everything was fine. This patch automatically selects
CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set.

Additionally, the help text says "Say N unless you know you need this.",
but it's default y. This help text is copied verbatim from the
kernel's Kconfig and not true for us. So remove this part of the
help text

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35014
2013-01-04 17:41:23 +00:00
Felix Fietkau
3b4931ef4d uci: update to latest version, adds list delete, removes unused plugin support
SVN-Revision: 35013
2013-01-04 16:10:17 +00:00
Steven Barth
b077480a59 firewall: Add ULA site border for IPv6 traffic This prevents private traffic from leaking out to the internet
SVN-Revision: 35012
2013-01-04 15:59:28 +00:00
Jo-Philipp Wich
3b7882e775 iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
SVN-Revision: 35007
2013-01-04 14:08:08 +00:00
John Crispin
ff0c7a9ec9 don't depend on lua
Delete +lua from libiwinfo-lua.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35005
2013-01-04 09:32:06 +00:00
Hauke Mehrtens
e8c86dd070 mac80211: b43: add firmware for HT-PHY by default.
remove firmware for LP-Phy core rev 14, I have never seen such a device.

SVN-Revision: 35000
2013-01-03 18:52:08 +00:00
Felix Fietkau
96f3911981 kernel: move regmap bloat out of the kernel image if it is only being used in modules
SVN-Revision: 34999
2013-01-03 18:39:50 +00:00
Felix Fietkau
1dada293bf add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
SVN-Revision: 34998
2013-01-03 18:04:04 +00:00
Hauke Mehrtens
ac383f95a5 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.

SVN-Revision: 34996
2013-01-03 02:07:11 +00:00
Hauke Mehrtens
8f6bdcffa1 brcm47xx: build b44 as a module
SVN-Revision: 34994
2013-01-03 02:00:25 +00:00
Hauke Mehrtens
d8f1fa1e38 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>

SVN-Revision: 34992
2013-01-03 01:58:01 +00:00
Hauke Mehrtens
63ec34612c switch: improve error messages
This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34991
2013-01-03 01:57:19 +00:00
Hauke Mehrtens
25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Steven Barth
965afef317 ipv6-support: Update iteration * Add support for blocking forwarding while address assignments * Fix relay restarting function
SVN-Revision: 34985
2013-01-02 23:05:44 +00:00
Steven Barth
c7d9d7c952 odhcp6c: Add support for SNTP and SIP options
SVN-Revision: 34984
2013-01-02 23:05:39 +00:00
Steven Barth
4a2e55f30f 6relayd: Announce RDNSS and DNSSL via RA
SVN-Revision: 34983
2013-01-02 23:05:35 +00:00
Jo-Philipp Wich
1683a146f4 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
SVN-Revision: 34982
2013-01-02 19:10:29 +00:00
Felix Fietkau
8447af36e3 ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
SVN-Revision: 34979
2013-01-02 17:37:30 +00:00
Jo-Philipp Wich
70b0ef6322 sysupgrade: clarify online help
Fixes #12346.

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

SVN-Revision: 34975
2013-01-02 16:21:30 +00:00
Jo-Philipp Wich
58070b0083 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>

SVN-Revision: 34974
2013-01-02 16:21:26 +00:00
Jo-Philipp Wich
54c0b40427 dnsmasq: allow dhcp host entries without mac addresses (#11928)
SVN-Revision: 34971
2013-01-02 15:14:19 +00:00
Jo-Philipp Wich
c8a8f8fd55 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

SVN-Revision: 34970
2013-01-02 14:35:43 +00:00
John Crispin
a730e96569 Remove remaining etrax references
SVN-Revision: 34968
2013-01-02 11:28:11 +00:00
John Crispin
075ea0d52e fix typo in HFS kernel module
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

SVN-Revision: 34963
2013-01-02 10:29:45 +00:00
John Crispin
15e29f3d9b fixes libertas firmware install path
fixes #12712

SVN-Revision: 34961
2013-01-02 10:08:54 +00:00
John Crispin
12f36652e6 fix video modules package generation
The folder layout changed between 3.6 and 3.7

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

SVN-Revision: 34960
2013-01-02 09:43:07 +00:00
Steven Barth
7a25be66c3 6relayd: Detect changes of default routes for RAs
SVN-Revision: 34958
2013-01-01 21:41:37 +00:00
Steven Barth
def80bbecf ipv6-support: Remove unnecessary code
SVN-Revision: 34957
2013-01-01 21:41:32 +00:00
Gabor Juhos
cbc9dfc56a package/kernel: select crypto-sha256 for cifs on 3.7+
Based on a patch from #12711

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

SVN-Revision: 34956
2013-01-01 19:04:20 +00:00
Gabor Juhos
ab4ea8ad16 package/kernel: create separate package for the sha256 crypto module
Based on a patch from #12711

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

SVN-Revision: 34955
2013-01-01 19:04:17 +00:00
Steven Barth
4c09d5dde3 ipv6-support: Fix typo in dhcpv6-script * thanks to KarlHegbloom for reporting
SVN-Revision: 34940
2012-12-31 09:38:59 +00:00
Hauke Mehrtens
1d50d60fc0 rtc-rv5c386a: fix compilation for kernel >= 3.4
SVN-Revision: 34938
2012-12-30 15:32:53 +00:00
Hauke Mehrtens
190c566210 acx-mac80211: fix compilation
Some header files from mac80211 are now moved to the uapi dir.

SVN-Revision: 34937
2012-12-30 15:28:28 +00:00
Felix Fietkau
fc760260dd uci: disable parallel builds again, the lua<->libuci dependency is not safe
SVN-Revision: 34936
2012-12-30 14:58:37 +00:00
Steven Barth
b7c1f24f9b ipv6-support: Use more consistent default values
SVN-Revision: 34913
2012-12-29 10:12:31 +00:00
Felix Fietkau
b41d96e8b7 mac80211: refresh patches
SVN-Revision: 34911
2012-12-28 21:05:57 +00:00
Felix Fietkau
29d737a976 mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
SVN-Revision: 34910
2012-12-28 21:05:49 +00:00
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
Hauke Mehrtens
3365e2caf0 mac80211: brcmsmac: do a read after write when writing objmem to device.
SVN-Revision: 34570
2012-12-07 16:24:35 +00:00
Jo-Philipp Wich
16d0957a4e firewall: fix typo in reflection hotplug script
SVN-Revision: 34569
2012-12-07 13:08:28 +00:00
Steven Barth
63135142d8 6to4: Remove static radvd-integration * Please use the new ipv6-support package
SVN-Revision: 34567
2012-12-07 08:53:53 +00:00
Florian Fainelli
5679d5d1e1 mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34560
2012-12-06 22:40:45 +00:00
Steven Barth
82576f0ca3 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
SVN-Revision: 34542
2012-12-06 20:52:40 +00:00
Steven Barth
61e8c6b83b 6relayd: More RFC-compatibility and size reduction
SVN-Revision: 34541
2012-12-06 20:52:35 +00:00
Steven Barth
f14e1f1b1d 6distributed: Add compatibility with 6rd and 6to4
SVN-Revision: 34540
2012-12-06 20:52:30 +00:00
Jo-Philipp Wich
d221222907 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.

SVN-Revision: 34536
2012-12-06 18:17:21 +00:00
Felix Fietkau
94c1d77886 kernel: fix video-core build on 3.6+
SVN-Revision: 34533
2012-12-06 14:11:19 +00:00
Felix Fietkau
3e5940532d mac80211: clean up patches, replace patching config.mk with a generated sed expression
SVN-Revision: 34531
2012-12-06 14:11:09 +00:00
Florian Fainelli
85ce5212fe 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>

SVN-Revision: 34530
2012-12-05 18:05:04 +00:00
Florian Fainelli
eaa30e9776 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>

SVN-Revision: 34504
2012-12-05 14:58:54 +00:00
Florian Fainelli
da069ac466 linux-atm: fix typo introduced in r34502
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34503
2012-12-05 14:37:03 +00:00
Florian Fainelli
b459e36579 linux-atm: package each available atm debug tool individually
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34502
2012-12-05 14:18:08 +00:00