Commit Graph

8159 Commits (9af6a5a88f01a940451f22bd0dee21fba8d0ba83)

Author SHA1 Message Date
Jonas Gorski 4f7ad789e4 polarssl: update to 1.2.6
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36396
2013-04-23 09:22:02 +00:00
Jonas Gorski 6ddfe0590c ncurses: update to 5.9
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36395
2013-04-23 09:21:59 +00:00
Jonas Gorski d1d01636b3 libnl: update to 3.2.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36394
2013-04-23 09:21:57 +00:00
Jonas Gorski 49799d344d kernel: add kmod-mcp23s08 package
Package up the Microchip MCP23S08 I/O expander driver. Needed on the
CalAmp LMU5000 board.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
[jogo@openwrt.org: fix subject]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36393
2013-04-23 09:21:55 +00:00
Steven Barth 4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth 17b8c0c7b8 netifd: Improve IPv6-ULA assignment handling
SVN-Revision: 36383
2013-04-22 19:40:06 +00:00
Steven Barth c96c05d549 odhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix exclusion * Fix reconfigure-support and reconfigure authentication * Set maximum retransmission timeout for solicitations to 2h * Fix a segfault when parsing IA_PD in advertise messages
SVN-Revision: 36382
2013-04-22 19:40:01 +00:00
Steven Barth 1e78c3e297 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
SVN-Revision: 36381
2013-04-22 19:39:55 +00:00
Jo-Philipp Wich f99a208b4f uci: update to git head
- fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

SVN-Revision: 36377
2013-04-22 14:52:28 +00:00
Felix Fietkau 62244d73ae hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36376
2013-04-22 13:24:48 +00:00
Felix Fietkau df10e201eb mac80211: rework mac address allocation
If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36353
2013-04-17 15:36:57 +00:00
Felix Fietkau 96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau 6d3c6e3053 busybox: remove old no-MMU hackery
SVN-Revision: 36350
2013-04-17 15:36:26 +00:00
Jo-Philipp Wich e66a4af8c3 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
SVN-Revision: 36348
2013-04-17 11:34:39 +00:00
Felix Fietkau 023105284f ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36344
2013-04-16 10:53:02 +00:00
Jo-Philipp Wich 25ffe0446c iwinfo: print info of all existing wireless ifaces when cli is called without arguments
SVN-Revision: 36339
2013-04-15 15:00:16 +00:00
Felix Fietkau eb10581ce3 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36338
2013-04-15 14:49:52 +00:00
Felix Fietkau 099e3d8183 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36336
2013-04-15 14:21:45 +00:00
Felix Fietkau ff57fd06eb libubox: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36335
2013-04-15 13:55:05 +00:00
Felix Fietkau fb79dbfb7b mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36334
2013-04-15 13:54:42 +00:00
Luka Perkov b591e15f36 This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 36313
2013-04-11 16:04:31 +00:00
Felix Fietkau 87395ec919 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36311
2013-04-10 21:17:33 +00:00
Felix Fietkau a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
2013-04-10 13:26:08 +00:00
Felix Fietkau e01a24f4f8 mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36305
2013-04-10 13:11:33 +00:00
Felix Fietkau 88c418bc75 qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36294
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich 7ca7bc501e iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
SVN-Revision: 36292
2013-04-09 14:37:55 +00:00
John Crispin 04dcd12c91 add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36284
2013-04-09 14:19:13 +00:00
John Crispin f13ae9965c add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36282
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich f90f025f20 netifd: fix route / route6 regression (#13303)
SVN-Revision: 36281
2013-04-09 12:21:12 +00:00
Steven Barth 3abc915522 Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
2013-04-09 12:12:30 +00:00
Steven Barth 2c087dc785 Remove obsoleted ipv6-support meta-package
SVN-Revision: 36279
2013-04-09 09:45:51 +00:00
Steven Barth ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Felix Fietkau c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
2013-04-07 22:05:45 +00:00
Felix Fietkau 3a0e6c06e9 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36266
2013-04-07 22:05:41 +00:00
Felix Fietkau b5a27f260b mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36265
2013-04-07 22:05:36 +00:00
Gabor Juhos 38b4865a68 package/kernel: only include i2c-of if CONFIG_OF enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36227
2013-04-06 16:55:25 +00:00
Gabor Juhos bf57f33f02 kernel: Allow talitos crypto hw module selection
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36224
2013-04-06 12:41:06 +00:00
Florian Fainelli f223d0927e openssl: Pass in any TARGET_ASFLAGS
Packages not picking up the regular TARGET_AS need their openwrt
Makefiles tweaked. For a basic build, that's just openssl.

This depends on patch 1/5.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36201
2013-04-05 12:36:09 +00:00
Steven Barth 35d716fbbb netifd: Bump to latest version * Fix a memory corruption when updating IPv6 prefixes * Fix route sorting order (nbd) * Add support for ip rules (jow) * Implement support for route / route6 table attribute (jow)
SVN-Revision: 36196
2013-04-05 12:28:06 +00:00
Felix Fietkau dda4da0104 ubus: update to latest version, fixes a crash on reconnect
SVN-Revision: 36195
2013-04-04 20:04:52 +00:00
John Crispin 04d80710a9 add a helper that allows loading the eeprom from a MTD partition pointed to by a phandle
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36194
2013-04-04 14:57:43 +00:00
Steven Barth 0393e52623 netifd: Rewrite IPv6 prefix assignment * Add ip6hint option to specify assigned subprefixes * Add preliminary support for RFC 6603 prefix exclusion
SVN-Revision: 36193
2013-04-03 17:08:21 +00:00
John Crispin 1c8d2aec18 unbreak i2c-mv64xxx dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36192
2013-04-03 12:58:06 +00:00
John Crispin 8baf097b84 fix borken of-i2c dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36191
2013-04-03 12:51:12 +00:00
John Crispin 9b3b0473ae fix eglibc compile
add librt dependency/link flag to procd when using eglibc thanks to jow for the help

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 36188
2013-04-03 10:01:10 +00:00
John Crispin ab31b36b6e revert patch that renames the worker thread as it seems to cause an oops
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36185
2013-04-03 10:00:59 +00:00
John Crispin 30ee3ef24e add cdc-mbim module
http://patchwork.openwrt.org/patch/3370/

Signed-off-by: Rusink Rusinkoff <rzrusink@gmail.com>

SVN-Revision: 36184
2013-04-03 10:00:55 +00:00
John Crispin 219313833a Add INA2XX current sensor module.
This is a I2C current/voltage/power sensor.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36182
2013-04-03 10:00:44 +00:00
John Crispin 7852c48ffd add lm92 kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36181
2013-04-03 10:00:40 +00:00
John Crispin 62b5098b35 add pcf857x kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36180
2013-04-03 10:00:36 +00:00
John Crispin c9254f5b5d make OF_I2C build as part of i2c-core
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36179
2013-04-03 10:00:32 +00:00
John Crispin 97adfa35c0 several patches to make OF work on rt2x00
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36178
2013-04-03 10:00:29 +00:00
John Crispin b4487f1e35 add RT5350 wifi support
MTK/Ralink Acked replied and says we can merge this patch under the GPL.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Tested-by: Michel Stempin <michel.stempin@wanadoo.fr>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36177
2013-04-03 10:00:25 +00:00
Felix Fietkau 8ca79490a5 libpcap: get rid of some bloat introduced by the update
SVN-Revision: 36151
2013-04-01 21:07:39 +00:00
Felix Fietkau 5a13c60771 libpcap: update to 1.3.0
Disabled canusb by setting ac_cv_header_libusb_1_0_libusb_h to no in
Makefile.  Upstream configure script ignores --disable-canusb.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36150
2013-04-01 21:07:34 +00:00
Felix Fietkau 71e9171717 openvpn: enable password save support (#13245)
SVN-Revision: 36144
2013-04-01 10:02:43 +00:00
Felix Fietkau c3db030502 valgrind: update to v3.8.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36143
2013-04-01 09:53:34 +00:00
Jonas Gorski 7e0b5d15c6 mac80211: backport some upstream mwl8k fixes
SVN-Revision: 36134
2013-03-27 12:39:52 +00:00
Jonas Gorski 574bab45ac base-files: firstboot: only ask for confirmation on TTY
Also allow '-y' to force the reset.

SVN-Revision: 36133
2013-03-27 12:39:42 +00:00
Steven Barth eedf9e72f9 odhcp6c: Fix a race-condition in RA-handling
Thanks to Markus Stenberg for investigating and providing a fix

SVN-Revision: 36132
2013-03-26 13:39:17 +00:00
Jo-Philipp Wich 6bddf226d3 base-files: move sysctl init after boot
SVN-Revision: 36131
2013-03-26 10:02:58 +00:00
Jo-Philipp Wich 7aace3ee3e base-files: fix bad start index in previous commit
SVN-Revision: 36130
2013-03-25 18:45:23 +00:00
Jo-Philipp Wich acca7eadc4 package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface.
SVN-Revision: 36129
2013-03-25 18:43:30 +00:00
Steven Barth 5a9c2c77b4 iptables: don't use --enable-ipv6 if IPv6 is disabled
SVN-Revision: 36125
2013-03-25 11:22:12 +00:00
Steven Barth 6529cf6cea odhcp6c: minor bug fixes
SVN-Revision: 36123
2013-03-25 10:58:48 +00:00
Hauke Mehrtens 5ee44cbcaf mac80211: download file with firmware for brcmsmac
This fixes #13144.

SVN-Revision: 36114
2013-03-24 00:54:30 +00:00
Hauke Mehrtens 72b5d58a2a mac80211: update brcmsmac ap patches
SVN-Revision: 36113
2013-03-24 00:53:15 +00:00
Florian Fainelli 513de712f9 base-files: also apply r36107 to files.old
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36112
2013-03-23 12:44:10 +00:00
Jo-Philipp Wich 6fa1b5346e firewall3: update to git head
* fixes parsing of src/dest '*'
	* fixes parsing of proto 'all'

SVN-Revision: 36111
2013-03-22 14:10:29 +00:00
Florian Fainelli 3810cc0f46 base-files: sysupgrade fail with eglibc
With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36107
2013-03-22 10:06:06 +00:00
Jo-Philipp Wich 76d1c0a067 firewall3: update to git head
* fixes port remapping rules (#13217)

SVN-Revision: 36100
2013-03-21 14:25:17 +00:00
Hauke Mehrtens c9544f4af0 kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098
2013-03-20 21:59:24 +00:00
Steven Barth 261be7b8f3 netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

SVN-Revision: 36095
2013-03-20 13:49:39 +00:00
Steven Barth eeb88a1df3 odhcp6c: Fix metric for on-link prefix routes
SVN-Revision: 36094
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich 6fbd824e9b firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

SVN-Revision: 36092
2013-03-19 16:18:05 +00:00
Jo-Philipp Wich 03cb7986fc firewall3: update to git head
- support network names in per-zone 'masq_src', 'masq_dest' and 'subnet' options (#13197)
	- do not allow src_mac option for SNAT rules

SVN-Revision: 36090
2013-03-19 13:54:34 +00:00
Felix Fietkau 31876c193a hostapd: fix build errors on supplicant-only builds
SVN-Revision: 36085
2013-03-18 16:11:32 +00:00
Steven Barth 3ebdd3b330 odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
SVN-Revision: 36083
2013-03-18 07:24:49 +00:00
Felix Fietkau 2167101c90 hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

SVN-Revision: 36081
2013-03-17 20:47:18 +00:00
Florian Fainelli b48e5f2111 kernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3
Most sound SoC driver enable it and rely it on to properly work.

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

SVN-Revision: 36072
2013-03-17 19:46:00 +00:00
Florian Fainelli a5e7687e12 kernel: load regmap modules after kmod-lib-lzo
Otherwise regmap-core will not be able to lookup the lzo exported
symbols.

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

SVN-Revision: 36069
2013-03-17 19:45:42 +00:00
Felix Fietkau 7e83385028 ubus: update to latest version, fixes a bug in notify return code handling
SVN-Revision: 36068
2013-03-17 17:43:47 +00:00
Felix Fietkau 541344b93e mac80211: merge a few minstrel_ht performance improvements
SVN-Revision: 36056
2013-03-16 16:11:43 +00:00
Felix Fietkau e3bdc13980 busybox: fix disabling /sbin/init and logread if procd is used as init
SVN-Revision: 36054
2013-03-16 01:25:42 +00:00
Felix Fietkau 132a54f646 mac80211: merge a fix for a race condition on station removal
SVN-Revision: 36053
2013-03-15 22:29:27 +00:00
Felix Fietkau 3fa31714b9 ath9k: add a fix to reduce the number of spurious tx hang detections
SVN-Revision: 36040
2013-03-15 15:22:06 +00:00
Felix Fietkau cf7abda745 ath9k: fix issues with disabling rx/tx antennas
SVN-Revision: 36035
2013-03-15 13:58:47 +00:00
Felix Fietkau 84069f8534 uhttpd: update to latest version, fixes an occasional crash on CGI scripts
SVN-Revision: 36034
2013-03-15 13:43:55 +00:00
Luka Perkov fe24afe37f uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36033
2013-03-15 01:36:53 +00:00
John Crispin 4bcc3cd7b2 fix up the mount options to match what openwrt had before using procd as pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36032
2013-03-14 18:44:03 +00:00
John Crispin ada74b8732 sysupgrade was broken as procd was getting killed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36031
2013-03-14 18:43:58 +00:00
John Crispin c876ae5e0f add vdsl firmware loader/cutter
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36025
2013-03-14 18:43:29 +00:00
John Crispin ef93053696 add vdsl mei driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36024
2013-03-14 18:43:23 +00:00
John Crispin ae30b0c511 add vdsl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36023
2013-03-14 18:43:18 +00:00
John Crispin 23c3aa997b add vdsl userland app
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36022
2013-03-14 18:43:13 +00:00
John Crispin 977bb0c843 make DEU work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36021
2013-03-14 18:43:07 +00:00
John Crispin ab33bbaf4c make lib-ifxos work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36020
2013-03-14 18:43:02 +00:00
John Crispin cd40e47a48 make hcd driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36019
2013-03-14 18:42:57 +00:00
John Crispin d0fe00d8b2 make ptm drivers work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36018
2013-03-14 18:42:52 +00:00
John Crispin d87598e8ae make atm driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36017
2013-03-14 18:42:47 +00:00
John Crispin 7db53fc00f make adsl work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36016
2013-03-14 18:42:43 +00:00
John Crispin 511a25b734 make adsl mei driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36015
2013-03-14 18:42:38 +00:00
Jo-Philipp Wich 54f9f47a28 firewall3: update to git head
* Introduce "option reload" for includes to specify whether includes should be processed on reload (e.g. when tapping into internal chains)
 * Allow "network" and "device" commands while firewall is running (to make them usable in includes)

SVN-Revision: 36009
2013-03-14 15:29:43 +00:00
Florian Fainelli 32f3b1e358 mac80211: backport required changes to support 3.9-rc kernels
SVN-Revision: 36007
2013-03-14 14:45:36 +00:00
John Crispin 2070c91672 fix date and dependency
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36006
2013-03-13 18:29:08 +00:00
John Crispin 16b84af05e make init and logread depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36005
2013-03-13 18:11:31 +00:00
John Crispin fce3deddff use new button scheme
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36004
2013-03-13 18:11:25 +00:00
John Crispin f43b7934d2 make basefiles aware of procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36003
2013-03-13 18:11:19 +00:00
John Crispin 32ebaf0cec update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36001
2013-03-13 18:11:07 +00:00
Jo-Philipp Wich 9faa312dbb firewall3: update to git head
* Adds support for emitting hotplug events when creating and clearing zones (fixes miniupnpd)
 * Make NAT reflection direction configurable
 * Map init script stop action to flush
 * Map init script reload action to reload
 * Respect init script disabled state in hotplug handler

SVN-Revision: 35998
2013-03-13 15:46:30 +00:00
Felix Fietkau e29424e0c8 ubus: update to latest version
SVN-Revision: 35997
2013-03-13 15:45:41 +00:00
Felix Fietkau 033664a588 libubox: update to latest version, adds libjson-script
SVN-Revision: 35996
2013-03-13 15:44:08 +00:00
John Crispin 7e1c5b0be8 ltq-atm: update sock api
update sock api in lantiq atm driver

The ltq-atm driver provides its own replacement for net/atm/common.c:alloc_tx(),
defined in ltq_atm.c:atm_alloc_tx().
The read of sk_wmem_alloc is done in the wrong way, starting with commit
2b85a34e911bf483c27cfdd124aeb1605145dc80 in linux mainline it has to be
done through a specific wrapper.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>

SVN-Revision: 35991
2013-03-12 13:53:01 +00:00
John Crispin d0ddec11bb fixes mbssid on ralink hardware
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35986
2013-03-12 13:52:20 +00:00
Felix Fietkau 9ddc45bc3f hostapd: fix client reassociation after too many ACK failures
SVN-Revision: 35973
2013-03-12 00:19:25 +00:00
Jo-Philipp Wich 8c7ed1cb7b firewall3: update to git head
* Fixes compilation against eglibc
 * Fixes tracking logic when selectively restarting IPv4 or IPv6 firewall
 * Fixes tracking logic for user chains by differentiating between reloads and restarts
 * Introduces per-zone user chains {input,output,forwarding,prerouting,postrouting}_$zone_rule
 * Supports legacy "tcpudp" protocol notation again

SVN-Revision: 35969
2013-03-11 20:52:20 +00:00
Hauke Mehrtens 281e12abae mac80211: b43: increase number of rx slots to 256 again.
SVN-Revision: 35944
2013-03-10 20:24:15 +00:00
Hauke Mehrtens 681769d0c0 mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption.
SVN-Revision: 35913
2013-03-09 20:01:55 +00:00
Jo-Philipp Wich e259ecad7e Revert "firewall3: update to git head"
This reverts commit 89969fa333c90fdb217b7289272f3427add107de.

SVN-Revision: 35904
2013-03-08 19:52:18 +00:00
Jo-Philipp Wich 50213fc354 firewall3: update to git head
- introduce per-zone user chains
	- support legacy "tcpudp" protocol notation

SVN-Revision: 35903
2013-03-08 15:27:33 +00:00
Steven Barth 39a001dc69 odhcp6c: various bugfixes * Don't prematurely send RENEW / REBIND when T1 or T2 is > 1 day * Add "norelease" option to not send a RELEASE when stopping
SVN-Revision: 35902
2013-03-08 07:04:38 +00:00
Felix Fietkau 1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Steven Barth 62ea398cd8 iptables: Add missing IPv6 builtin modules
SVN-Revision: 35898
2013-03-07 08:48:41 +00:00
Steven Barth 9779b0b88c iptables: redo update to 1.4.18 with old linking-behaviour
SVN-Revision: 35896
2013-03-06 17:05:34 +00:00
Steven Barth bacd71648b Revert "iptables: update to 1.4.18" due to toolchain-issue: binaries cause segfaults when stripped on ar71xx
SVN-Revision: 35894
2013-03-06 12:55:48 +00:00
Felix Fietkau c3faa6be75 hostapd: include the madwifi headers in the package directory to avoid compile breakage if the madwifi build fails
SVN-Revision: 35893
2013-03-05 22:06:30 +00:00
Steven Barth d023a08753 iptables: update to 1.4.18
SVN-Revision: 35892
2013-03-05 20:51:57 +00:00
Felix Fietkau 15e0ff9322 mac80211: add another minstrel_ht performance improvement
SVN-Revision: 35890
2013-03-05 14:32:31 +00:00
Jo-Philipp Wich d75c632de6 firewall3: add default config and firewall.user
SVN-Revision: 35889
2013-03-05 13:45:09 +00:00
Felix Fietkau fa1749e668 hostapd: update to git version 2013-03-02
SVN-Revision: 35887
2013-03-04 17:16:38 +00:00
Luka Perkov 6337803d65 uboot-env: wzr-600dhp uses wzr-hp-ag300h name
SVN-Revision: 35866
2013-03-03 21:59:35 +00:00
Gabor Juhos 7f0cc47d85 hotplug2: restore accidentally deleted patch
Without the 170-non_fatal_include.patch hotplug2 throws this:

  Unable to include '/etc/hotplug2-platform.rules'
  Syntax error (/etc/hotplug2-common.rules, line 9): Syntax error: Internal parser error.
  Unable to include '/etc/hotplug2-common.rules'
  Syntax error (/etc/hotplug2-init.rules, line 3): Syntax error: Internal parser error.

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

SVN-Revision: 35863
2013-03-03 17:05:05 +00:00
Felix Fietkau b58bd6e881 hotplug2: fix a memory leak and wrong variables leaking into the fork worker process (#12436, maybe also #12765)
SVN-Revision: 35857
2013-03-03 13:56:36 +00:00
Felix Fietkau 51e008284d hotplug2: merge worker related fixes into one patch
SVN-Revision: 35856
2013-03-03 13:56:32 +00:00
Felix Fietkau b3e73f3a95 mac80211: merge some more minstrel_ht performance improvements
SVN-Revision: 35848
2013-03-03 12:05:33 +00:00
Felix Fietkau 5f079aacd7 mac80211: merge minstrel_ht rate control performance improvements
SVN-Revision: 35847
2013-03-02 21:00:58 +00:00
Felix Fietkau 23f460abb6 mac80211: another fix for monitor mode handling (fixes #13071)
SVN-Revision: 35846
2013-03-02 18:07:02 +00:00
Jo-Philipp Wich 89be702bff firewall3: update to git head, introduces support for "enabled" option
SVN-Revision: 35845
2013-03-02 17:09:33 +00:00
Luka Perkov 107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Steven Barth c81945e979 6relayd: Fix illegal memory accesses Spurious errors when receiving netlink-messages lead to unhandled errors which caused SIGBUS. Thanks to tdavis for debugging
SVN-Revision: 35836
2013-02-28 16:37:20 +00:00
Steven Barth 50b7fa217a 6relayd: various fixes cap preferred and valid lifetimes at more reasonable limits decrease memory usage (remove unnecessary book-keeping)
SVN-Revision: 35835
2013-02-28 14:57:19 +00:00
Jo-Philipp Wich 886ce188bf xtables-addons: fix packaging of iptaccount
SVN-Revision: 35831
2013-02-28 10:58:12 +00:00
Jo-Philipp Wich 557c047f71 firewall3: clear contnrack table on flush, set policies to drop during rule reload
SVN-Revision: 35820
2013-02-27 14:09:37 +00:00
Felix Fietkau 43d6e5c585 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
SVN-Revision: 35819
2013-02-26 21:52:59 +00:00
Florian Fainelli bfcbabdf15 ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35811
2013-02-26 16:40:07 +00:00
Florian Fainelli f880c4992d toolchain: mark unavailable packages for musl libc
And make librt be an empty stub for musl libc.

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

SVN-Revision: 35810
2013-02-26 16:40:02 +00:00
Florian Fainelli a2abc43104 gdb: do not depend on libthread-db when using musl libc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35809
2013-02-26 16:39:59 +00:00
Felix Fietkau 325cb65009 rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
SVN-Revision: 35806
2013-02-26 15:14:32 +00:00
Steven Barth a90b6f7d90 6relayd: Fix config behaviour for rewrite_dns_addr option
SVN-Revision: 35804
2013-02-26 12:50:52 +00:00
Steven Barth 32ac53821f 6relayd: compatibility with broken IPv6 devices * Announce ULA as deprecated if other addresses are available * Allow the announced DNS-server to be overwritten
SVN-Revision: 35803
2013-02-26 12:42:53 +00:00
Felix Fietkau f1bde82f00 ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
SVN-Revision: 35785
2013-02-25 19:53:31 +00:00
Hauke Mehrtens 26e9830eac broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh

This closes #12930.

SVN-Revision: 35767
2013-02-24 18:01:06 +00:00
Hauke Mehrtens 58eea9dc28 broadcom-diag: add support for e3200 v1
Hex values in nvram seem to be uppercase on my e3200 device.

Define one power led and two buttons (reset/wps).

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35766
2013-02-24 17:57:28 +00:00
Hauke Mehrtens c3563fbea6 broadcom-diag: Detection of WNDR3400v1
nvram variable "boardtype" is unique for now.
-button gpio were taken from nvram.
-led information was taken from dd-wrt
( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c )

I hope that I changed the values correctly.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35765
2013-02-24 17:56:00 +00:00
Hauke Mehrtens 49ff283df8 broadcom-diag: use new in kernel board detection code
SVN-Revision: 35764
2013-02-24 17:55:09 +00:00
Hauke Mehrtens 2754907a13 mac80211: brcmsmac: add ap mode support
This does not work very well. I did not got this running in 5GHz mode and it was not very fast.

SVN-Revision: 35763
2013-02-24 01:11:20 +00:00
Felix Fietkau 414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
2013-02-24 01:00:39 +00:00
Felix Fietkau 7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
2013-02-23 18:02:49 +00:00
Felix Fietkau 6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
2013-02-23 17:41:58 +00:00
Felix Fietkau dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
2013-02-23 12:48:14 +00:00
Jonas Gorski 53771fb8ee mac80211: update linux-firmware to latest revision
Fixes mwl8k AP mode for 88e8366.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35758
2013-02-23 12:13:18 +00:00
Felix Fietkau 6fbfeca6ef mac80211: select relayfs if ath9k debugfs is enabled
SVN-Revision: 35757
2013-02-23 12:12:39 +00:00
Jonas Gorski c730da325a package/kernel: i2c: don't skip built-in modules
Don't skip build-in modules when generating i2c kmod packages, to allow
empty packages to be generated for satisfying dependencies.

Closes #12259.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35755
2013-02-23 11:30:30 +00:00
Felix Fietkau 3b1fa12cb9 mac80211: disable building the wil6210 driver
SVN-Revision: 35754
2013-02-23 01:40:24 +00:00
Felix Fietkau e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Felix Fietkau c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
2013-02-22 20:11:55 +00:00
Felix Fietkau d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
2013-02-22 16:10:15 +00:00
Jo-Philipp Wich 92062542e2 firewall: fix logging rule regression (#12999)
SVN-Revision: 35745
2013-02-22 13:45:20 +00:00
Jo-Philipp Wich 4fb2cd18c1 firewall3: add support for shell script and iptables-restore style includes
SVN-Revision: 35744
2013-02-22 12:45:38 +00:00
Steven Barth a7b262dc0a netifd: only update resolv.conf.auto if changed This avoids logspam under certain conditions.
SVN-Revision: 35743
2013-02-22 08:56:29 +00:00
Geoff Levand c41176bc0b udev: Update MAINTAINER info
Signed-off-by: Geoff Levand <geoff@infradead.org>

SVN-Revision: 35741
2013-02-21 23:12:17 +00:00
Jo-Philipp Wich 7d7d88b580 firewall3: update to git head
- all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact
	- properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions
	- support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100')
	- support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6')

SVN-Revision: 35738
2013-02-21 22:33:44 +00:00
Jonas Gorski 29a3af1bb8 base-files: make firstboot ask for confirmation
To prevent accidential resets ask for confirmation (and default to n).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35712
2013-02-21 11:45:14 +00:00
Jonas Gorski 219b7c91d6 mac80211: add missing DRIVER_11N_SUPPORT selects
Multiple drivers were missing their DRIVER_11N_SUPPORT despite
supporting 11N capable cards.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35711
2013-02-21 11:45:12 +00:00
Jonas Gorski 5636037cff busybox: remove two obsolete patches
They either work around missing implementations in uClibc 0.9.30 and
earlier and add already present functionality.

Closes #11210, #11211.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35710
2013-02-21 11:45:10 +00:00
Gabor Juhos 316706b09c package/kernel: add package for the Gianfar PTP driver
PTP for gianfar can be built as a module. Create a package for it.

[juhosg: remove the mp85xx specific patch]

Patchwork: http://patchwork.openwrt.org/patch/3344/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35706
2013-02-20 19:14:20 +00:00
Gabor Juhos 9070d701e7 package/kernel: add package for the Freescale Gianfar driver
[juhosg: move the fsl-pq-mdio driver into a separate package]

Patchwork: http://patchwork.openwrt.org/patch/3345/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35705
2013-02-20 19:14:15 +00:00
Gabor Juhos 330ae61b1b package/kernel: remove trailing whitespaces from *.mk files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35691
2013-02-20 09:41:48 +00:00
Florian Fainelli 280fa5a1a2 dante: fix broken configure script not using CFLAGS for conftest
Spotted by doing an ARM hard float build.

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

SVN-Revision: 35685
2013-02-19 17:22:55 +00:00
Florian Fainelli 16f7554f95 openssl: remove now obsolete cris/etrax patch
The etrax target has been removed in r34768.

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

SVN-Revision: 35684
2013-02-19 17:22:51 +00:00
Florian Fainelli 23dc201979 libiconv: compile iconv stub with TARGET_CFLAGS
Fixes spurious build issues when changing target CFLAGS for specific ABI
options (such as ARM's floating point ABI).

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

SVN-Revision: 35683
2013-02-19 17:22:46 +00:00
Steven Barth 3081c672fc 6relayd: Fix possible memory corruption issue
SVN-Revision: 35673
2013-02-19 12:04:41 +00:00
Hauke Mehrtens 48bc2fbff3 mac80211: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

SVN-Revision: 35671
2013-02-18 20:44:26 +00:00
Steven Barth f5b63ffd33 6relayd: Workaround potential signal handling issue
SVN-Revision: 35665
2013-02-18 12:50:36 +00:00
Gabor Juhos 6c627a266b base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
 - fix led_set_attr parameters in led_timer
 - add led_morse and status_led_set_morse helpers
 - add status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35648
2013-02-18 09:56:23 +00:00
Gabor Juhos c4f14fab9b base-files: minor cosmetic corrections for functions.sh
- update copyright header
  - remove superfluous shebang left-over from changeset 34794
  - unify function declaration

[juhosg: keep Vertical Communications' copyright notice]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35646
2013-02-17 21:47:03 +00:00
Jo-Philipp Wich 02b0c62f33 firewall3 - a C implementation of the current firewall scripts
SVN-Revision: 35643
2013-02-17 19:26:52 +00:00
Felix Fietkau 1d6574b9c3 hostapd: fix the scan wait patch for multiple interfaces
SVN-Revision: 35630
2013-02-16 19:00:34 +00:00
Gabor Juhos 97e75d03cc package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35627
2013-02-16 17:13:40 +00:00
Felix Fietkau 99782943d2 hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
SVN-Revision: 35619
2013-02-16 14:26:03 +00:00
Gabor Juhos 5a8c63b47e base-files: add macaddr_{add,2bin,setbit_la} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35614
2013-02-16 11:50:22 +00:00
Gabor Juhos 70d40b2ddd base-files: add mtd_get_mac_{ascii,binary} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35612
2013-02-16 11:50:19 +00:00
Jonas Gorski c98b12d911 samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35610
2013-02-16 11:39:42 +00:00
Florian Fainelli 30ccd13c81 hotplug2: depend on libbsd only when targetting eglibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35608
2013-02-15 13:25:18 +00:00
Florian Fainelli f209bf0eb6 libevent2: do not add librt dependency when targetting eglibc
This is already taken care of by PKG_DEFAULT_DEPENDS

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

SVN-Revision: 35607
2013-02-15 13:25:15 +00:00
Florian Fainelli 2cf1a8d73f libbsd: make it available for eglibc only
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35606
2013-02-15 13:25:12 +00:00
Florian Fainelli 22e8b168c8 openssl: update OpenSSL to 1.0.1e, fix Cisco DTLS.
1.0.1d had a rushed fix for CVE-2013-0169 which broke in certain
circumstances. 1.0.1e has the fix for TLS.

Also include a further patch from the 1.0.1 branch which fixes the
breakage this introduced for Cisco's outdated pre-standard version of
DTLS, as used by OpenConnect.

Update mirror URLs to reflect current reality.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35600
2013-02-14 13:00:03 +00:00
Hauke Mehrtens 243c582213 switch: export name of device found via /proc
SVN-Revision: 35596
2013-02-14 12:36:52 +00:00
Hauke Mehrtens 60913bbac6 switch: export cpuport, ports and vlans via /proc
SVN-Revision: 35595
2013-02-14 12:36:13 +00:00
Hauke Mehrtens 17c18e23ab switch: add support for BCM53125
SVN-Revision: 35586
2013-02-13 16:05:32 +00:00
Hauke Mehrtens 446414f367 switch: resetting and enabling vlan write for gigabit switches
This patch makes it possible to reset and enable writing vlans to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35585
2013-02-13 16:05:13 +00:00
Hauke Mehrtens 43b4f67f25 switch: read and write vlan config from and to gigabit switches
This patch makes it possible to read and write the vlan config from and to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35584
2013-02-13 16:04:50 +00:00
Hauke Mehrtens 8ab78d1096 switch: improve robo_switch_enable()
This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35583
2013-02-13 16:04:18 +00:00
Hauke Mehrtens b8a84038a5 switch: fix switches with more than 6 ports
This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35582
2013-02-13 16:03:47 +00:00
Hauke Mehrtens 3c51948454 switch: reverse if else in handle_vlan_port_read()
SVN-Revision: 35581
2013-02-13 16:03:27 +00:00
Hauke Mehrtens 9d3b0f5661 switch: the BCM5365 is a special switch and the BCM5350 or BCM5325 is the normal case.
This makes it easier to compare this code with the code from the Broadcom SDK.

SVN-Revision: 35580
2013-02-13 16:03:03 +00:00
Hauke Mehrtens 827e315017 switch: reset switch before using it.
SVN-Revision: 35579
2013-02-13 16:02:41 +00:00
Hauke Mehrtens f3360fdf67 switch: improve error handling in robo_probe()
SVN-Revision: 35578
2013-02-13 16:02:20 +00:00
Hauke Mehrtens 3f0c0c6935 switch: run cleanfile over the source code
SVN-Revision: 35577
2013-02-13 16:01:50 +00:00
Felix Fietkau 31718416e6 mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
2013-02-13 09:53:28 +00:00
Steven Barth 99b69fd9c5 odhcp6c: allow setting a user-provided prefix as well
SVN-Revision: 35570
2013-02-12 08:23:54 +00:00
Jo-Philipp Wich eeaf2c0b5a iptables: fix bad PKG_RELEASE in previous commit
SVN-Revision: 35569
2013-02-11 22:14:38 +00:00
Jo-Philipp Wich 916902b1d2 iptables: add --lenient switch to iptables-restore and ip6tables-restore that allows to skip erroneous lines
SVN-Revision: 35568
2013-02-11 21:58:42 +00:00
Felix Fietkau 0564b6beef mac80211: add CCK rate support to minstrel_ht to improve range
SVN-Revision: 35566
2013-02-11 18:59:14 +00:00
Felix Fietkau 1810b80ec0 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
SVN-Revision: 35565
2013-02-11 18:59:10 +00:00
Steven Barth b8c796fbd7 odhcp6c: Various bugfixes * Don't send undesired suggestions for preferred and valid lifetimes * Be less verbose in logging
SVN-Revision: 35553
2013-02-11 12:30:16 +00:00
Tim Yardley 8f54ec7ce7 polarssl: security update (1.2.5) addressing CBC TLS issue
Signed-off-by: Tim Yardley <yardley@gmail.com>

SVN-Revision: 35525
2013-02-08 19:47:48 +00:00
Tim Yardley b521113aa1 openssl: security update to 1.0.1d to address CBC TLS issue
addressing
CVE-2013-0169: 4th February 2013

Signed-off-by: Tim Yardley <yardley@gmail.com>

SVN-Revision: 35524
2013-02-08 19:36:06 +00:00
Felix Fietkau a9058439cf openvpn-easy-rsa: fix typo in version (#12958)
SVN-Revision: 35508
2013-02-06 22:17:11 +00:00
Felix Fietkau dc2ba40af3 openvpn: remove the stale PKG_REV variable
SVN-Revision: 35499
2013-02-05 10:40:19 +00:00
Felix Fietkau b8c903e6f8 openvpn: split easy-rsa into a separate package, it is no longer bundled with the release tarball
SVN-Revision: 35498
2013-02-05 10:40:13 +00:00
Jo-Philipp Wich e106f25ee7 firewall: various enhancements
- reduce mssfix related log spam (#10681)
	- separate src and dest terminal chains (#11453, #12945)
	- disable per-zone custom chains by default, they're rarely used

Additionally introduce options "device", "subnet", "extra", "extra_src" and "extra_dest"
to allow defining zones not related to uci interfaces, e.g. to match "ppp+" or any tcp
traffic to and from a specific port.

SVN-Revision: 35484
2013-02-04 14:38:33 +00:00
Steven Barth 13544edce7 odhcp6c: Fix timing issues
SVN-Revision: 35472
2013-02-03 17:26:40 +00:00
Jo-Philipp Wich e893d4d9a8 libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
SVN-Revision: 35471
2013-02-03 12:03:24 +00:00
Gabor Juhos b01e744632 uboot-envtools: add config for the Edimax BR-6425 board
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35464
2013-02-02 17:01:52 +00:00
Gabor Juhos 4cc962a0eb add nForce Ethernet module
Signed-off-by: Zhiqiang Wang <wang.9264@gmail.com>

SVN-Revision: 35461
2013-02-02 15:40:43 +00:00
Steven Barth 6be5a5a73d odhcp6c: Fix RENEW and REBIND requests
SVN-Revision: 35454
2013-02-02 10:44:13 +00:00
Gabor Juhos a2a5f9b405 package/uboot-envtools: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35432
2013-02-01 15:50:52 +00:00
Gabor Juhos 7bcc6506bc package/om-watchdog: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35431
2013-02-01 15:50:49 +00:00
Steven Barth e2193a69c8 odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
SVN-Revision: 35421
2013-02-01 13:38:47 +00:00
Steven Barth 6a43437908 netifd: Improved IPv6 featureset * Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
SVN-Revision: 35420
2013-02-01 12:28:43 +00:00
Steven Barth 9a62439c28 odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
SVN-Revision: 35419
2013-02-01 12:28:39 +00:00
Steven Barth a3368da479 6relayd: Fix announced router flags and IPv6 procfs-configuration
SVN-Revision: 35418
2013-02-01 12:28:34 +00:00
Steven Barth 92ad26d1b6 base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface inconsistency caused races
SVN-Revision: 35417
2013-02-01 12:28:24 +00:00
Felix Fietkau 416ce374c0 openvpn: add from openvpn-devel from /packages, fix support for current polarssl
SVN-Revision: 35412
2013-01-30 20:07:15 +00:00
Felix Fietkau e4e460afb5 polarssl: add from /packages, update to 1.2.4, fix openssl compatibility
SVN-Revision: 35411
2013-01-30 20:07:04 +00:00
Felix Fietkau 5ff55bf404 move lzo from /packages to trunk
SVN-Revision: 35410
2013-01-30 19:52:03 +00:00
Steven Barth 4bd3f54143 6in4: fix typo in last commit
SVN-Revision: 35409
2013-01-30 09:07:23 +00:00
Steven Barth a0a91963af 6in4: work around hanging wget process
SVN-Revision: 35408
2013-01-30 09:05:53 +00:00
Felix Fietkau 316f53d066 libubox: update to latest version, fixes a string corruption issue on JSON formatting
SVN-Revision: 35399
2013-01-29 22:23:43 +00:00
Felix Fietkau 71522ce160 add libusb-compat
SVN-Revision: 35387
2013-01-29 16:12:00 +00:00
Felix Fietkau 65657fb585 netifd: update to latest version
fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)

SVN-Revision: 35383
2013-01-29 14:40:04 +00:00
Felix Fietkau c16879a385 samba36: update to 3.6.11 and refresh patches (based on patch from #12914)
SVN-Revision: 35382
2013-01-29 13:18:56 +00:00
Felix Fietkau b31c63b42a usb-modeswitch: split out usb-modeswitch-data again
SVN-Revision: 35381
2013-01-29 12:27:17 +00:00
Felix Fietkau ff6cccda8e usb-modeswitch: add from /packages, merge usb-modeswitch-data, use libusb-compat, add myself as maintainer
SVN-Revision: 35379
2013-01-29 12:02:10 +00:00
Steven Barth 777f7b30ae netifd: implement IPv6 prefix deprecation according to RFC 6204
SVN-Revision: 35377
2013-01-29 11:05:22 +00:00
Felix Fietkau 483dfb483e move a few packages to system/utils
SVN-Revision: 35375
2013-01-29 10:48:46 +00:00
Felix Fietkau ab1287bead usbutils: add from /packages, clean up, add myself as maintainer
SVN-Revision: 35374
2013-01-29 10:48:41 +00:00
Felix Fietkau 5fdc8ca9b8 libusb: add from /packages, add myself as maintainer
SVN-Revision: 35373
2013-01-29 10:48:37 +00:00
Steven Barth 78a6439784 6relayd: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35371
2013-01-29 10:13:49 +00:00
Steven Barth 1a0b207d61 odhcp6c: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35370
2013-01-29 10:13:44 +00:00
Steven Barth fac1ed35ac netifd: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35369
2013-01-29 10:13:39 +00:00
Steven Barth ea7c9c85a8 base-files: Fix race-conditions with IPv6 sysctls
SVN-Revision: 35368
2013-01-29 10:13:33 +00:00
Felix Fietkau 6ea9abadeb netifd: update to latest version, fixes setting addresses/routes on alias interfaces
SVN-Revision: 35362
2013-01-28 20:35:55 +00:00
John Crispin 0fb081bb5a package ncm & qmi wwan
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3134/

SVN-Revision: 35360
2013-01-28 18:20:10 +00:00
Jo-Philipp Wich e804a663e3 hostapd: don't configure wpa_supplicant with empty password="" if no password is specified (#12912)
SVN-Revision: 35358
2013-01-28 18:05:33 +00:00
Jo-Philipp Wich 839f3ab0e7 firewall: flush conntrack table after changing interface rules
SVN-Revision: 35348
2013-01-28 15:53:44 +00:00
Steven Barth ec41a6a08c netifd: IPv6 sysctl, restart IPv6 in static mode to send RS
SVN-Revision: 35347
2013-01-28 14:07:27 +00:00
Steven Barth 75b06607db netifd: add SLAAC ipv6 value for static-proto
SVN-Revision: 35346
2013-01-28 13:53:48 +00:00
Steven Barth e964fa5d8f odhcp6c: work-around for proto-script to avoid loosing the default route
SVN-Revision: 35345
2013-01-28 13:53:43 +00:00
Steven Barth 5f735b291f base-files: remove IPv6-forwarding setting for all interfaces
SVN-Revision: 35344
2013-01-28 13:53:38 +00:00
Hauke Mehrtens 0492391922 kernel: make usb2-pci depend on usb2 and not the other way around
SVN-Revision: 35339
2013-01-27 21:28:26 +00:00
Hauke Mehrtens 6f59cd3fb8 kernel: activate input-matrixkmap for kernel 3.8
SVN-Revision: 35338
2013-01-27 21:23:33 +00:00
Hauke Mehrtens 0d42d05242 kernel: add ehci-platform.ko and ehci-pci.ko when build with kernel 3.8
SVN-Revision: 35337
2013-01-27 21:19:48 +00:00
Hauke Mehrtens 62554217fc kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
SVN-Revision: 35336
2013-01-27 21:18:52 +00:00
Hauke Mehrtens 6c7c1ed5f5 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.

SVN-Revision: 35335
2013-01-27 21:17:38 +00:00
Hauke Mehrtens 2d66598f41 acx-mac80211: make it compile with kernel 3.8
SVN-Revision: 35334
2013-01-27 21:16:35 +00:00
Hauke Mehrtens 2c0e5f83db acx-mac80211: refresh patches
SVN-Revision: 35333
2013-01-27 21:15:48 +00:00
Hauke Mehrtens 4947dab66a acx-mac80211: use same config options as mac80211 package
Problem was missing CONFIG_MAC80211_DEBUGFS
in the acx-mac80211 build, which broke subsequently the ABI in struct
ieee80211_ops. Defect manifested in failing ieee80211_alloc_hw() and maybe
also in other strange behaviour before.

I added CONFIG_CFG80211_DEBUGFS, CONFIG_MAC80211_DEBUGFS and the same also
for CONFIG_MAC80211_MESH, just to be inline on how it's done currently in
package/mac80211/Makefile.

Thank you Oliver Winker

SVN-Revision: 35332
2013-01-27 21:15:13 +00:00
Jonas Gorski 8411e5c06e bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35307
2013-01-23 10:12:40 +00:00
Steven Barth a81c76617e ipv6-support: don't overwrite existing setting across reflashs
SVN-Revision: 35302
2013-01-23 08:15:09 +00:00
Steven Barth 231f8c2969 base-files: fix network_get_prefix6
SVN-Revision: 35300
2013-01-22 16:47:16 +00:00
Steven Barth e0a338c969 base-files: Set default value for IPv6 forwarding
SVN-Revision: 35299
2013-01-22 16:47:09 +00:00
Felix Fietkau 55eab5ac44 netifd: update to latest version, adds another fix for interface aliases
SVN-Revision: 35297
2013-01-22 16:05:59 +00:00
Steven Barth 5859fc7a39 netifd: Fix a segfault when globals.ula_prefix is empty
SVN-Revision: 35296
2013-01-22 15:49:42 +00:00
Felix Fietkau a4c7a953e5 uhttpd: always turn on TLS support, include ustream-ssl as a build dependency
SVN-Revision: 35295
2013-01-22 15:05:04 +00:00
Felix Fietkau 7b845ca9c7 ustream-ssl: remove dependency conditional part to avoid build breakage when no variant is selected
SVN-Revision: 35294
2013-01-22 14:52:52 +00:00
Felix Fietkau aca0690ce5 ustream-ssl: update to latest version, fixes handling large chunks of data (fixes #12866)
SVN-Revision: 35293
2013-01-22 14:29:01 +00:00
Luka Perkov 2245726371 uboot-lantiq: upgrade to 2013.01
SVN-Revision: 35292
2013-01-22 12:55:01 +00:00
Felix Fietkau bab482b93f uhttpd: fix another small hang issue with the same symptoms
SVN-Revision: 35291
2013-01-22 09:38:00 +00:00
Felix Fietkau 166ea3832b uhttpd: fix connection hangs
SVN-Revision: 35290
2013-01-22 09:28:55 +00:00
Felix Fietkau bc1d72c7bf tcpdump: add SLL parsing support to tcpdump-mini, use -ffunction-sections, -fdata-sections and --gc-sections to reduce size
SVN-Revision: 35288
2013-01-22 07:51:15 +00:00
Jo-Philipp Wich 1941fb309d base-files: network.sh: fix typo in previous commit
SVN-Revision: 35287
2013-01-21 19:02:38 +00:00
Jo-Philipp Wich 3b2db1838a base-files: network.sh: simplify network_get_prefix6()
SVN-Revision: 35286
2013-01-21 18:54:58 +00:00
Felix Fietkau c725669079 uhttpd: fix unencrypted passwords in httpd.conf
SVN-Revision: 35265
2013-01-21 12:46:41 +00:00
Felix Fietkau 11e3592531 ath9k: add support for more antenna mask combinations on AR93xx
SVN-Revision: 35264
2013-01-21 12:46:37 +00:00
Steven Barth 38080ae550 6relayd: fix shell library includes in init-script
Thanks to Daniel Golle

SVN-Revision: 35262
2013-01-21 11:27:03 +00:00
Steven Barth 8a97d823a4 6relayd: avoid a race-condition with looping RAs
SVN-Revision: 35260
2013-01-21 10:42:31 +00:00
Steven Barth f129c6786e netifd: Fix segfaults in IPv6 prefix handling
SVN-Revision: 35259
2013-01-21 09:21:30 +00:00
Steven Barth f1fd0f8278 odhcp6c: Fix address assignment with infinite validity
SVN-Revision: 35258
2013-01-21 07:58:58 +00:00
Felix Fietkau 4a86973285 uhttpd: fix selecting the right ustream implementation when openssl is to be used (#12857)
SVN-Revision: 35257
2013-01-20 21:15:43 +00:00
Felix Fietkau e219c56a11 ath9k: merge another round of cleanups and stability fixes, refresh patches
SVN-Revision: 35255
2013-01-20 18:33:21 +00:00
Felix Fietkau 5bc6555e08 netifd: update to latest version, fixes alias support
SVN-Revision: 35251
2013-01-20 15:47:09 +00:00
Felix Fietkau 18a7d0e945 network/iproute2: Bump version to 3.7.0
Updated to latest stable version and added an upstream patch to handle
a link failure

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
[dgolle@allnet.de: refreshed patches]
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35250
2013-01-20 11:25:18 +00:00
Felix Fietkau e55ee0817f uhttpd: update to a newer version, fixes chunked transfer on some POST requests
SVN-Revision: 35249
2013-01-19 22:55:46 +00:00
Felix Fietkau 6f0ecf0541 uhttpd: switch to uhttpd2, it is now feature complete
SVN-Revision: 35247
2013-01-19 18:47:09 +00:00
Jo-Philipp Wich f2766239ea netifd: add a band-aid fix for the wifi setup vs. netifd init race by increasing the wait time to five seconds
SVN-Revision: 35240
2013-01-19 10:13:14 +00:00
Jo-Philipp Wich 3afbe1669f busybox: add an upstream ntpd fix (#12841)
SVN-Revision: 35239
2013-01-19 10:11:34 +00:00
Steven Barth 62e9957cc4 ipv6-support: adapt UCI defaults to new ordering
SVN-Revision: 35219
2013-01-18 12:52:51 +00:00
Jo-Philipp Wich 648bd409e3 base-files: use numerically prefixed uci-defaults names
SVN-Revision: 35218
2013-01-18 12:46:43 +00:00
Steven Barth 5a122f7e5f odhcp6c: Fix parsing more than one DNS server
SVN-Revision: 35215
2013-01-18 08:21:35 +00:00
Steven Barth f517d0481a ipv6-support: Rename enable-ipv6 UCI defaults
SVN-Revision: 35205
2013-01-17 16:16:06 +00:00
Steven Barth 411d818008 base-files: rename ULA generation script
SVN-Revision: 35204
2013-01-17 16:16:02 +00:00
Jo-Philipp Wich 7250e27869 xtables-addons: rework uid/gid compat patch to use KUIDT_INIT() and KGIDT_INIT() macros
SVN-Revision: 35203
2013-01-17 16:05:30 +00:00
Jo-Philipp Wich 3b798d819d xtables-addons: move to package/, add myself as maintainer
SVN-Revision: 35193
2013-01-17 12:29:26 +00:00
Felix Fietkau a6ad512d82 kernel: 8250.ko is called 8250_core.ko on linux 3.7+, fixes package/kernel build error in snapshot builds
SVN-Revision: 35190
2013-01-17 09:08:09 +00:00
Steven Barth 66fa83d211 odhcp6c: Detect a different MAC if interface has none * Fixes DHCPv6 behaviour over PPP and similar
SVN-Revision: 35189
2013-01-17 08:29:01 +00:00
Steven Barth 73875c1215 ppp: don't automatically set IPv6 default route * Fixes "ndisc_router_discovery() failed to add default route"
SVN-Revision: 35188
2013-01-17 08:28:57 +00:00
Steven Barth 1ecc744583 netifd: @aliases use layer 3 devices instead of main devices Fixes dhcpv6 protocol alias
SVN-Revision: 35187
2013-01-17 08:28:51 +00:00
Florian Fainelli 8b21ccae13 kernel: allow building kmod-rtc-marvell for mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35177
2013-01-15 19:55:26 +00:00
Steven Barth 3235d860a6 ipv6-support: Switch to native IPv6 support
SVN-Revision: 35174
2013-01-15 13:08:19 +00:00
Steven Barth 955a1e8e28 6rd: add support for native IPv6 prefix handling
SVN-Revision: 35173
2013-01-15 13:08:14 +00:00
Steven Barth 811cd2acf4 6to4: add support for native IPv6 prefix handling
SVN-Revision: 35172
2013-01-15 13:08:10 +00:00
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
Felix Fietkau 838d6e3b8d netifd: update to latest version, fixes resolv.conf writes on interface setting changes
SVN-Revision: 34500
2012-12-05 13:28:56 +00:00
Florian Fainelli 9e355444a6 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>

SVN-Revision: 34496
2012-12-04 16:40:17 +00:00
Florian Fainelli 4f78be25e1 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>

SVN-Revision: 34477
2012-12-04 16:19:24 +00:00
Florian Fainelli 250773ef32 linux-atm: factor common descriptions
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34476
2012-12-04 16:19:21 +00:00
Jo-Philipp Wich 6504b268b3 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

SVN-Revision: 34472
2012-12-04 15:24:21 +00:00
Felix Fietkau 8516ddb133 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>

SVN-Revision: 34470
2012-12-04 12:06:40 +00:00
Mirko Vogt 4c30952394 Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

SVN-Revision: 34468
2012-12-03 12:46:57 +00:00
Steven Barth 4bda16cf27 ipv6-support: Second Iteration * mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling
SVN-Revision: 34466
2012-12-03 09:18:53 +00:00
Steven Barth 71ed7ae842 netifd: empty hotplug handler removed
SVN-Revision: 34465
2012-12-03 07:20:44 +00:00
Gabor Juhos 8cfe4bf9cd mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34464
2012-12-02 20:41:39 +00:00
Gabor Juhos 7a26eb9f13 mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34463
2012-12-02 20:41:37 +00:00
Steven Barth c6b0c63cad 6distributed: Poll for ubus to come up (fix race)
SVN-Revision: 34462
2012-12-02 19:06:48 +00:00
Felix Fietkau d38be845f4 libubox: update to latest version, fixes blob/blobmsg endian issues
SVN-Revision: 34456
2012-12-02 16:50:39 +00:00
Hauke Mehrtens 3399d16dd7 broadcom-wl: get the mmio address directly from the struct if bcma is used.
SVN-Revision: 34452
2012-12-02 16:07:43 +00:00
Gabor Juhos 5d8a7a0ce5 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>

SVN-Revision: 34442
2012-12-02 13:04:03 +00:00
Jo-Philipp Wich a99b0363d0 package: use file_copy to deploy files/ in the package/install phase
SVN-Revision: 34438
2012-12-02 12:20:38 +00:00
Florian Fainelli 4a1e2123eb kernel: remove references to TARGET_ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34431
2012-11-30 10:53:51 +00:00
Steven Barth a0f0c23109 ipv6-support: Add conffiles section
SVN-Revision: 34423
2012-11-29 20:33:17 +00:00
Steven Barth a4edea5ef3 ipv6-support: Add new IPv6-support meta-package
SVN-Revision: 34422
2012-11-29 20:14:28 +00:00
Steven Barth e6e6e0d152 odhcp6c: Add new embedded DHCPv6 client
SVN-Revision: 34421
2012-11-29 20:14:23 +00:00
Steven Barth 25d943e872 6distributed: add local IPv6 prefix distributor
SVN-Revision: 34420
2012-11-29 20:14:18 +00:00
Steven Barth 7d3495b431 6relayd: Fix some RFC 6204 compatibility issues
SVN-Revision: 34419
2012-11-29 20:14:14 +00:00
Steven Barth dffa972af1 Remove old IPv6 sysctl-config (deprecated)
SVN-Revision: 34418
2012-11-29 20:14:09 +00:00
Steven Barth 3b0e77ee6b Remove default sysctl-entry for IPv6 here (races)
SVN-Revision: 34417
2012-11-29 20:14:04 +00:00
Luka Perkov 769c322cd0 uboot-kirkwood: build in $(BUILD_DIR)
SVN-Revision: 34401
2012-11-29 01:04:37 +00:00
Jo-Philipp Wich d2d458324b gettext-full: use shipped libxml for the host build, fixes lzma references from creeping in on certain distributions
SVN-Revision: 34400
2012-11-28 21:02:53 +00:00
Jo-Philipp Wich 32dcd5d6c7 trace-cmd: lazily evaluate extra plugins list, fixes stray build errors causing by missing operands to cp if the package was never built yet
SVN-Revision: 34390
2012-11-27 18:08:42 +00:00
Jo-Philipp Wich 78cec2cfca grub2: fix another case of gnulib failing under gnu libc
SVN-Revision: 34389
2012-11-26 16:03:40 +00:00
Hauke Mehrtens e9b6c999f5 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.

SVN-Revision: 34381
2012-11-25 20:11:15 +00:00
Gabor Juhos 38fced86ee 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>

SVN-Revision: 34380
2012-11-25 17:20:49 +00:00
Florian Fainelli 203cbbd51d modules: remove obsolete comment (#12514)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34327
2012-11-25 11:41:07 +00:00
Florian Fainelli 062d3c1e67 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>

SVN-Revision: 34326
2012-11-25 11:40:59 +00:00
Florian Fainelli 6b63716262 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>

SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Florian Fainelli 14ed3f0f22 iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34313
2012-11-23 20:02:23 +00:00
Florian Fainelli ba6c8bd614 linux-atm: add portability fixes
Spotted while building against musl libc.

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

SVN-Revision: 34312
2012-11-23 20:02:19 +00:00
Florian Fainelli 92fd6e6f1a busybox: fix arping applet building on musl
musl-libc is more strict about missing includes.

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

SVN-Revision: 34311
2012-11-23 20:02:14 +00:00
Florian Fainelli 94bdc366d4 netfid: fix build on musl
AF_INET* is provided by sys/socket.h

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

SVN-Revision: 34310
2012-11-23 20:02:10 +00:00
Florian Fainelli 7c26e53d5d busybox: define musl specificities in platform.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34309
2012-11-23 20:02:06 +00:00
Florian Fainelli 5ae2524d3a 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>

SVN-Revision: 34308
2012-11-23 20:02:02 +00:00
Florian Fainelli bc8fe9b40f 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>

SVN-Revision: 34307
2012-11-23 20:01:58 +00:00
Florian Fainelli 49cfa54509 grub2: accept the linux-musl* tuple
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34306
2012-11-23 20:01:53 +00:00
Luka Perkov 6db1b986ed uboot-lantiq: add new package
SVN-Revision: 34305
2012-11-23 18:16:05 +00:00
Luka Perkov 702f2590ea uboot-kirkwood: update to 2012.10
SVN-Revision: 34303
2012-11-22 21:16:04 +00:00
Jonas Gorski 24a372b6ec 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>

SVN-Revision: 34298
2012-11-22 11:55:18 +00:00
Florian Fainelli f1498531c7 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>

SVN-Revision: 34295
2012-11-21 20:27:06 +00:00
Florian Fainelli 7453b0dd8e 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>

SVN-Revision: 34294
2012-11-21 20:27:02 +00:00
Florian Fainelli 3df1f9aecd valgrind: re-categorize from utils to devel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34293
2012-11-21 20:26:58 +00:00
Florian Fainelli 4e733cfbc9 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>

SVN-Revision: 34292
2012-11-21 20:26:55 +00:00
Florian Fainelli e5effc8c4c gdb: recategorize from utils to devel in menuconfig
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34291
2012-11-21 20:26:51 +00:00
John Crispin 0ae8453c71 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>

SVN-Revision: 34287
2012-11-21 06:07:23 +00:00
Gabor Juhos 6c1fbb2d5c 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>

SVN-Revision: 34269
2012-11-20 07:19:09 +00:00
Gabor Juhos a2e71a0bbf 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>

SVN-Revision: 34268
2012-11-20 07:19:08 +00:00
Florian Fainelli 8ca4fd7ad1 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>

SVN-Revision: 34258
2012-11-19 14:38:02 +00:00
Florian Fainelli 3c1642a9e1 gdb: add missing zlib dependency
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34256
2012-11-19 14:37:22 +00:00
Hauke Mehrtens 86cc79ac98 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.

SVN-Revision: 34252
2012-11-18 21:27:00 +00:00
Imre Kaloz d0226aff1d shouldn't use kernel headers from userspace
SVN-Revision: 34246
2012-11-18 18:29:58 +00:00
Gabor Juhos 21393323d0 package/uboot-envtools: add OpenMesh MR600 support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34236
2012-11-18 09:32:40 +00:00
Steven Barth 417af03ba5 6relayd: add conffiles section, thanks swalker
SVN-Revision: 34222
2012-11-17 09:44:41 +00:00
Florian Fainelli 968c77147c ar7-atm: make it depend on the generic AR7 platform
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34205
2012-11-16 13:00:41 +00:00
Steven Barth 45137b0896 6relayd: various updates & fixes - Add RD- and DHCPv6-server functionality - Rework configuration and add example UCI file - Fix various bugs and be more RFC compliant
SVN-Revision: 34204
2012-11-16 09:27:56 +00:00
Jo-Philipp Wich 24b102fc3c opkg: fix find logic introduced by previous commit
SVN-Revision: 34203
2012-11-15 20:53:51 +00:00
Jo-Philipp Wich ede4e23677 opkg: various additions - only wrap package descriptions when outputting to a tty, simplifies parsing descriptions with external utils - introduce -i (--nocase) flag which makes all matching operations case insensitive - introduce "find" command which searches package names and descriptions (e.g. opkg -i find "*autoconfig*")
SVN-Revision: 34202
2012-11-15 20:17:49 +00:00
Jo-Philipp Wich db207e2a87 ppp: - fix multilink ppp with custom ifnames, patch by George Kashperko <george@znau.edu.ua> - refresh patches
SVN-Revision: 34171
2012-11-12 19:13:45 +00:00
Jonas Gorski c0eb827265 kernel: modules: ext4 depends on crypto-hash on 3.6
SVN-Revision: 34159
2012-11-11 19:42:35 +00:00
Florian Fainelli ae912505ac i2c-gpio-mux: fix build for 3.6+ kernels
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34152
2012-11-11 18:40:43 +00:00
Felix Fietkau f9e59cf29c mac80211: add more tx skb free fixes (hopefully final fix to #11894)
SVN-Revision: 34133
2012-11-10 02:47:33 +00:00
Jo-Philipp Wich 3a81f75d72 resolveip: fix endless getopt() loop when compiled for arm (#12290)
SVN-Revision: 34116
2012-11-08 10:48:08 +00:00
John Crispin cc82648600 Load schedule modules
They were missing the AUTOLOAD directive.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>

SVN-Revision: 34107
2012-11-07 19:36:56 +00:00
Jo-Philipp Wich d3e90ba7a7 buildroot: isolate the .install stamp files for build variants (#12279)
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

SVN-Revision: 34106
2012-11-07 16:15:22 +00:00
Jonas Gorski a50d121d8e linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 34103
2012-11-06 15:21:46 +00:00
John Crispin af45a72247 remove bogus file
SVN-Revision: 34099
2012-11-06 07:43:08 +00:00
John Crispin b178e90506 unbreak ltq-dsl-fw
SVN-Revision: 34098
2012-11-06 07:41:44 +00:00
John Crispin d84fa1d9fa prepare dsl driver for 3.6 and split fw into a seperate package
SVN-Revision: 34096
2012-11-06 07:38:18 +00:00
Jo-Philipp Wich 611b2e8bb3 netifd: don't send a default client identifier in DHCP requests if no clientid uci option is given (#12426)
SVN-Revision: 34089
2012-11-05 19:28:24 +00:00
Gabor Juhos aa0944ff72 Add ledtrig-oneshot module for 3.6 kernels
This patch adds a package for the ledtrig-oneshot module, available in
3.6 and later.

[juhosg: change dependency from LINUX_3_6 to !LINUX_3_3]

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 34079
2012-11-05 07:10:35 +00:00
Felix Fietkau c57f66f745 mtd: avoid adding the kernel dir to includes, use the toolchain headers
SVN-Revision: 34071
2012-11-04 17:01:30 +00:00
Felix Fietkau c1aae78816 ppp: add more pppol2tpv3 related structs from the kernel headers to fix compile issues with linux 3.6
SVN-Revision: 34070
2012-11-04 17:01:27 +00:00
Felix Fietkau 16c72b09cc iptables: remove support for libipq, it has been obsolete for years and is unsupported in newer kernels
SVN-Revision: 34069
2012-11-04 17:01:23 +00:00
Felix Fietkau 1fff98998c libubox: add more uloop timer fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34039
2012-10-31 19:30:21 +00:00
Felix Fietkau 9a59859aac libubox: update to latest version, fixes a timer calculation issue in uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34037
2012-10-31 19:06:46 +00:00
Felix Fietkau 1008c1bd1f libubox: pass the lua path to cmake to avoid build errors
SVN-Revision: 34033
2012-10-31 16:05:02 +00:00
Felix Fietkau 661d1efc80 mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34030
2012-10-31 14:59:12 +00:00
Steven Barth 9aba83eced 6relayd: auto-configure local interfaces as well
SVN-Revision: 34027
2012-10-31 12:48:54 +00:00
Felix Fietkau 19a588f1a2 libubox: add build dependency on lua
SVN-Revision: 34022
2012-10-30 21:50:07 +00:00
Jo-Philipp Wich 73c75e0dd8 uhttpd: update to latest git head, improves handling of invalid requests
SVN-Revision: 34010
2012-10-30 13:13:21 +00:00
Steven Barth c3d04d4630 6relayd: update to work around a raw-socket bug
SVN-Revision: 34009
2012-10-30 07:43:07 +00:00
Steven Barth 1fe7efbddb ipv6: add 6relayd (RD-, DHCPv6- & NDP-Proxy)
6relayd is an IPv6-tool that relays IPv6-management protocols like router
discovery, neighbor discovery and DHCPv6 so that clients on routed
(non-bridged) interfaces can use the public address prefix, DHCPv6 and
DNS-service of a master interface. This is useful to avoid NAT in chained
IPv6-routers.

SVN-Revision: 34008
2012-10-30 07:14:07 +00:00