Commit Graph

9983 Commits (b403f780e9eabb5219f4be2ebaea5613a01b77da)

Author SHA1 Message Date
Steven Barth 812209d870 odhcp6c: Set default SOL_MAX_RT to 1h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 05:02:45 +00:00
Felix Fietkau 58519ae974 hostapd: return the frequency to some ubus calls to make integration easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 18:35:50 +00:00
Felix Fietkau ae76b2a314 mac80211: use the original mac address for the first virtual interface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 16:32:24 +00:00
Jo-Philipp Wich 72dfd60fe5 lldpd: upgrade to 0.7.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:37:23 +00:00
Jo-Philipp Wich c47d781639 gettext-full: updated to 0.18.2.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:49 +00:00
Jo-Philipp Wich a70d87dbef libevent2: update to 2.0.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:45 +00:00
Jo-Philipp Wich e259e214d6 libmnl: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:42 +00:00
Jo-Philipp Wich 08423aae1d libnetfilter-conntrack: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:29:38 +00:00
Jonas Gorski e3f1a02861 polarssl: update to 1.2.6
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:22:02 +00:00
Jonas Gorski 0c7596f675 ncurses: update to 5.9
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:59 +00:00
Jonas Gorski b9e175d16f libnl: update to 3.2.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:57 +00:00
Jonas Gorski f45fb6088e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 09:21:55 +00:00
Steven Barth 276de79fca Change default IPv6 config to enable DHCPv6-PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:16 +00:00
Steven Barth 5108102e9b netifd: Improve IPv6-ULA assignment handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:06 +00:00
Steven Barth 0fd7fb5a84 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:01 +00:00
Steven Barth e0e6b055fe 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:39:55 +00:00
Jo-Philipp Wich 076d88f618 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 14:52:28 +00:00
Felix Fietkau a1e5d209da hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 13:24:48 +00:00
Felix Fietkau 5bca958995 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:57 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau d62c50b1c3 busybox: remove old no-MMU hackery
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:26 +00:00
Jo-Philipp Wich 49df5264b6 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 11:34:39 +00:00
Felix Fietkau a2043c1856 ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-16 10:53:02 +00:00
Jo-Philipp Wich e8b3e8e7f2 iwinfo: print info of all existing wireless ifaces when cli is called without arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 15:00:16 +00:00
Felix Fietkau c916e833c0 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:49:52 +00:00
Felix Fietkau b9cc991070 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:21:45 +00:00
Felix Fietkau cc13a9ea1e libubox: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 13:55:05 +00:00
Felix Fietkau 5bf86f4072 mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 13:54:42 +00:00
Luka Perkov 9b2655fa70 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 16:04:31 +00:00
Felix Fietkau 05f6116355 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 21:17:33 +00:00
Felix Fietkau dcf4015151 ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:26:08 +00:00
Felix Fietkau 1d5383210b mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:33 +00:00
Felix Fietkau 78f6958dea qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich 64e2eeb91c iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:37:55 +00:00
John Crispin d0f94eff4a [swconfig] add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:13 +00:00
John Crispin d2f8216c54 [swconfig] add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich a2a15cdf8f netifd: fix route / route6 regression (#13303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:21:12 +00:00
Steven Barth ef5bbd5008 Remove deprecated ip6slaac option
* use proto=dhcpv6 with reqprefix=no instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:12:30 +00:00
Steven Barth 936588ed30 Remove obsoleted ipv6-support meta-package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 09:45:51 +00:00
Steven Barth 4c9003ffc7 Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:03:08 +00:00
Felix Fietkau 3d67b6f70e ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:45 +00:00
Felix Fietkau e764a3ead3 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:41 +00:00
Felix Fietkau b3d001108c mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:36 +00:00
Gabor Juhos b794699a7a package/kernel: only include i2c-of if CONFIG_OF enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 16:55:25 +00:00
Gabor Juhos f14f3c9134 kernel: Allow talitos crypto hw module selection
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:41:06 +00:00
Florian Fainelli 221ef39aab 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:09 +00:00
Steven Barth 3b9ea165f7 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:28:06 +00:00
Felix Fietkau 47789abd5c ubus: update to latest version, fixes a crash on reconnect
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-04 20:04:52 +00:00
John Crispin 32c6b76b2e [mac80211] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-04 14:57:43 +00:00
Steven Barth d8961984f2 netifd: Rewrite IPv6 prefix assignment
* Add ip6hint option to specify assigned subprefixes
* Add preliminary support for RFC 6603 prefix exclusion

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 17:08:21 +00:00
John Crispin 3b3bc3ef56 [kernel] unbreak i2c-mv64xxx dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 12:58:06 +00:00
John Crispin 0cb046e540 [kernel] fix borken of-i2c dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 12:51:12 +00:00
John Crispin 52a91b390a [procd] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:01:10 +00:00
John Crispin 5a8e0e2b5b [lantiq] revert patch that renames the worker thread as it seems to cause an oops
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:59 +00:00
John Crispin 1743b6a394 [kernel] add cdc-mbim module
http://patchwork.openwrt.org/patch/3370/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:55 +00:00
John Crispin 7a320b8ae5 [kernel] Add INA2XX current sensor module.
This is a I2C current/voltage/power sensor.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:44 +00:00
John Crispin 69cd56f571 [kernel] add lm92 kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:40 +00:00
John Crispin b2423179aa [kernel] add pcf857x kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:36 +00:00
John Crispin 4eae09723d [kernel] make OF_I2C build as part of i2c-core
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:32 +00:00
John Crispin 4b605fd6fa [mac80211] several patches to make OF work on rt2x00
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:29 +00:00
John Crispin eec0f45330 [mac80211] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:25 +00:00
Felix Fietkau 370f5c883d libpcap: get rid of some bloat introduced by the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 21:07:39 +00:00
Felix Fietkau a8525b749a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 21:07:34 +00:00
Felix Fietkau eb2800098d openvpn: enable password save support (#13245)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 10:02:43 +00:00
Felix Fietkau 256da3349b valgrind: update to v3.8.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 09:53:34 +00:00
Jonas Gorski 20fb5babb4 mac80211: backport some upstream mwl8k fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 12:39:52 +00:00
Jonas Gorski 9bfa7f54b7 base-files: firstboot: only ask for confirmation on TTY
Also allow '-y' to force the reset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 12:39:42 +00:00
Steven Barth e2a416671c odhcp6c: Fix a race-condition in RA-handling
Thanks to Markus Stenberg for investigating and providing a fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26 13:39:17 +00:00
Jo-Philipp Wich 0499e77822 base-files: move sysctl init after boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26 10:02:58 +00:00
Jo-Philipp Wich d1f931a2b8 base-files: fix bad start index in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 18:45:23 +00:00
Jo-Philipp Wich 08fd7e4663 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 18:43:30 +00:00
Steven Barth a800a4a788 iptables: don't use --enable-ipv6 if IPv6 is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 11:22:12 +00:00
Steven Barth 795bb7a15c odhcp6c: minor bug fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 10:58:48 +00:00
Hauke Mehrtens 72c80c30eb mac80211: download file with firmware for brcmsmac
This fixes #13144.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:54:30 +00:00
Hauke Mehrtens c63149640d mac80211: update brcmsmac ap patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:53:15 +00:00
Florian Fainelli 8b867fc2af base-files: also apply r36107 to files.old
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-23 12:44:10 +00:00
Jo-Philipp Wich 8ad3c5dce6 firewall3: update to git head
* fixes parsing of src/dest '*'
	* fixes parsing of proto 'all'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 14:10:29 +00:00
Florian Fainelli 9cba62ed1a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 10:06:06 +00:00
Jo-Philipp Wich 6cce0f0ddb firewall3: update to git head
* fixes port remapping rules (#13217)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:25:17 +00:00
Hauke Mehrtens 0efdcebf5d 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:59:24 +00:00
Steven Barth faf465e51c netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 13:49:39 +00:00
Steven Barth edbf7afcd3 odhcp6c: Fix metric for on-link prefix routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich 7384872325 firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 16:18:05 +00:00
Jo-Philipp Wich e4fa9433ea 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 13:54:34 +00:00
Felix Fietkau d482f42efb hostapd: fix build errors on supplicant-only builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-18 16:11:32 +00:00
Steven Barth 72786daa1b odhcp6c: fix preference handling, custom client-ID
* thanks to mbidewell for investigating

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-18 07:24:49 +00:00
Felix Fietkau 77a736a2b6 hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 20:47:18 +00:00
Florian Fainelli ef2ae2996a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:00 +00:00
Florian Fainelli ec0c416af7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:45:42 +00:00
Felix Fietkau 2442a88f2f ubus: update to latest version, fixes a bug in notify return code handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 17:43:47 +00:00
Felix Fietkau 546ef807b7 mac80211: merge a few minstrel_ht performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-16 16:11:43 +00:00
Felix Fietkau 92e7114440 busybox: fix disabling /sbin/init and logread if procd is used as init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-16 01:25:42 +00:00
Felix Fietkau b92c8d74e2 mac80211: merge a fix for a race condition on station removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 22:29:27 +00:00
Felix Fietkau 2c8b84c898 ath9k: add a fix to reduce the number of spurious tx hang detections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:22:06 +00:00
Felix Fietkau daa7bf90ba ath9k: fix issues with disabling rx/tx antennas
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 13:58:47 +00:00
Felix Fietkau 54ae3b1981 uhttpd: update to latest version, fixes an occasional crash on CGI scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 13:43:55 +00:00
Luka Perkov c449658f92 [package] uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 01:36:53 +00:00
John Crispin a831afda2f [procd] fix up the mount options to match what openwrt had before using procd as pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:44:03 +00:00
John Crispin 13b11cb907 [base-files] sysupgrade was broken as procd was getting killed
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:58 +00:00
John Crispin df96bd15ca [lantiq] add vdsl firmware loader/cutter
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:29 +00:00
John Crispin d7a70cefa9 [lantiq] add vdsl mei driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:23 +00:00
John Crispin 5af95d6122 [lantiq] add vdsl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:18 +00:00
John Crispin 8f3040257e [lantiq] add vdsl userland app
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:13 +00:00
John Crispin 12d7f82f5b [lantiq] make DEU work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:07 +00:00
John Crispin a5f72ef94c [lantiq] make lib-ifxos work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:02 +00:00
John Crispin e8c875ca42 [lantiq] make hcd driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:57 +00:00
John Crispin f0751217db [lantiq] make ptm drivers work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:52 +00:00
John Crispin 38dd5d6f4f [lantiq] make atm driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:47 +00:00
John Crispin 4f2afc8763 [lantiq] make adsl work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:43 +00:00
John Crispin f8657c430f [lantiq] make adsl mei driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:38 +00:00
Jo-Philipp Wich 35c2fb3bf7 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 15:29:43 +00:00
Florian Fainelli 6cb1f067dc mac80211: backport required changes to support 3.9-rc kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 14:45:36 +00:00
John Crispin bf549e58ef [procd] fix date and dependency
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:29:08 +00:00
John Crispin 23f96f4fef [busybox] make init and logread depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:31 +00:00
John Crispin b715f860d7 [hostapd] use new button scheme
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:25 +00:00
John Crispin 47d1577ffb [base-files] make basefiles aware of procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:19 +00:00
John Crispin 1ce7b5d12d [procd] update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:07 +00:00
Jo-Philipp Wich a95bb0d75b 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 15:46:30 +00:00
Felix Fietkau 0e243585a5 ubus: update to latest version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 15:45:41 +00:00
Felix Fietkau 3ef0855b7e libubox: update to latest version, adds libjson-script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 15:44:08 +00:00
John Crispin 1fdb34983b [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:53:01 +00:00
John Crispin a9b77daa6a [mac80211] fixes mbssid on ralink hardware
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:20 +00:00
Felix Fietkau a3c6b189ae hostapd: fix client reassociation after too many ACK failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 00:19:25 +00:00
Jo-Philipp Wich 13b7b380b2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 20:52:20 +00:00
Hauke Mehrtens 533e4abffd mac80211: b43: increase number of rx slots to 256 again.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:24:15 +00:00
Hauke Mehrtens 9fa6d10215 mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 20:01:55 +00:00
Jo-Philipp Wich 1287a5a543 Revert "firewall3: update to git head"
This reverts commit 89969fa333c90fdb217b7289272f3427add107de.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 19:52:18 +00:00
Jo-Philipp Wich 0a093289e6 firewall3: update to git head
- introduce per-zone user chains
	- support legacy "tcpudp" protocol notation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 15:27:33 +00:00
Steven Barth 0bf76485e2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 07:04:38 +00:00
Felix Fietkau cf3d83fe4a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 17:32:29 +00:00
Steven Barth b15a62570b iptables: Add missing IPv6 builtin modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 08:48:41 +00:00
Steven Barth bd1e6a2a71 iptables: redo update to 1.4.18 with old linking-behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-06 17:05:34 +00:00
Steven Barth bddbaf57c5 Revert "iptables: update to 1.4.18" due to toolchain-issue:
binaries cause segfaults when stripped on ar71xx

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-06 12:55:48 +00:00
Felix Fietkau 0b5d0905be hostapd: include the madwifi headers in the package directory to avoid compile breakage if the madwifi build fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 22:06:30 +00:00
Steven Barth 1942d2db25 iptables: update to 1.4.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 20:51:57 +00:00
Felix Fietkau 404e36aa0f mac80211: add another minstrel_ht performance improvement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 14:32:31 +00:00
Jo-Philipp Wich 58e4a0f346 firewall3: add default config and firewall.user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 13:45:09 +00:00
Felix Fietkau bd0313c2fb hostapd: update to git version 2013-03-02
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 17:16:38 +00:00
Luka Perkov ba14ffc2bc [package] uboot-env: wzr-600dhp uses wzr-hp-ag300h name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 21:59:35 +00:00
Gabor Juhos c042cde245 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 17:05:05 +00:00
Felix Fietkau 12920f8e47 hotplug2: fix a memory leak and wrong variables leaking into the fork worker process (#12436, maybe also #12765)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:56:36 +00:00
Felix Fietkau 6168e4e3df hotplug2: merge worker related fixes into one patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:56:32 +00:00
Felix Fietkau b32b1d216c mac80211: merge some more minstrel_ht performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:05:33 +00:00
Felix Fietkau c28234eaf3 mac80211: merge minstrel_ht rate control performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 21:00:58 +00:00
Felix Fietkau df3d2b0a3c mac80211: another fix for monitor mode handling (fixes #13071)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 18:07:02 +00:00
Jo-Philipp Wich 4de2e16d3f firewall3: update to git head, introduces support for "enabled" option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 17:09:33 +00:00
Luka Perkov 3fc6a70a19 ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01 13:46:01 +00:00
Steven Barth c3ba5abe93 6relayd: Fix illegal memory accesses
Spurious errors when receiving netlink-messages lead to unhandled errors
which caused SIGBUS. Thanks to tdavis for debugging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 16:37:20 +00:00
Steven Barth 4ff987eec6 6relayd: various fixes
cap preferred and valid lifetimes at more reasonable limits
decrease memory usage (remove unnecessary book-keeping)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 14:57:19 +00:00
Jo-Philipp Wich 48ff06196e xtables-addons: fix packaging of iptaccount
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 10:58:12 +00:00
Jo-Philipp Wich ffd425c151 firewall3: clear contnrack table on flush, set policies to drop during rule reload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-27 14:09:37 +00:00
Felix Fietkau 95473e3538 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 21:52:59 +00:00
Florian Fainelli a147f93282 ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:07 +00:00
Florian Fainelli 05d6bc87c3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:02 +00:00
Florian Fainelli e7d8a74c49 gdb: do not depend on libthread-db when using musl libc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:39:59 +00:00
Felix Fietkau 0e17e9789f rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 15:14:32 +00:00
Steven Barth 13ada38511 6relayd: Fix config behaviour for rewrite_dns_addr option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 12:50:52 +00:00
Steven Barth 579f6c4632 6relayd: compatibility with broken IPv6 devices
* Announce ULA as deprecated if other addresses are available
* Allow the announced DNS-server to be overwritten

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 12:42:53 +00:00
Felix Fietkau 7ed6b61a06 ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 19:53:31 +00:00
Hauke Mehrtens ae76f19611 broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh

This closes #12930.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:01:06 +00:00
Hauke Mehrtens a759b3d550 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 17:57:28 +00:00
Hauke Mehrtens e91d715205 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 17:56:00 +00:00
Hauke Mehrtens 294bb794c9 broadcom-diag: use new in kernel board detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 17:55:09 +00:00
Hauke Mehrtens 575c4cb452 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 01:11:20 +00:00
Felix Fietkau c88549ad2c mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 01:00:39 +00:00
Felix Fietkau a54ed77ff7 mac80211: fix monitor mode channel reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 18:02:49 +00:00
Felix Fietkau bdf131a754 mac80211: fix monitor-only injection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 17:41:58 +00:00
Felix Fietkau 24e6548eea mac80211: fix wireless extension support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:48:14 +00:00
Jonas Gorski e209f99a1f mac80211: update linux-firmware to latest revision
Fixes mwl8k AP mode for 88e8366.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:13:18 +00:00
Felix Fietkau 99ec69bf0f mac80211: select relayfs if ath9k debugfs is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:12:39 +00:00
Jonas Gorski 37564935b0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 11:30:30 +00:00
Felix Fietkau 271d1943cf mac80211: disable building the wil6210 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 01:40:24 +00:00
Felix Fietkau 9fe45e941a mac80211: update to wireless-testing 2013-02-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 01:12:36 +00:00
Felix Fietkau 39e831c445 ath9k: fix rssi issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 20:11:55 +00:00
Felix Fietkau 929f20666b ath9k_htc: fix signal strength reporting issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:10:15 +00:00
Jo-Philipp Wich e249d2a240 firewall: fix logging rule regression (#12999)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 13:45:20 +00:00
Jo-Philipp Wich 157ef93d0e firewall3: add support for shell script and iptables-restore style includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 12:45:38 +00:00
Steven Barth 660caa9c81 netifd: only update resolv.conf.auto if changed
This avoids logspam under certain conditions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 08:56:29 +00:00
Geoff Levand 65e672793c udev: Update MAINTAINER info
Signed-off-by: Geoff Levand <geoff@infradead.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 23:12:17 +00:00
Jo-Philipp Wich 7f0500f664 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')

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 22:33:44 +00:00
Jonas Gorski fe6dbb1781 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:14 +00:00
Jonas Gorski 66d8c4c9d3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:12 +00:00
Jonas Gorski 9bb86b0c86 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:10 +00:00
Gabor Juhos c21a703080 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 19:14:20 +00:00
Gabor Juhos 2bbd1eaec3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 19:14:15 +00:00
Gabor Juhos b80aa55594 package/kernel: remove trailing whitespaces from *.mk files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 09:41:48 +00:00
Florian Fainelli f13200ffac 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 17:22:55 +00:00
Florian Fainelli fd0cfb2de6 openssl: remove now obsolete cris/etrax patch
The etrax target has been removed in r34768.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 17:22:51 +00:00
Florian Fainelli 4c26324aa8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 17:22:46 +00:00
Steven Barth 1fb35f7831 6relayd: Fix possible memory corruption issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 12:04:41 +00:00
Hauke Mehrtens 5ff0c7a66c 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 20:44:26 +00:00
Steven Barth a96a74fc06 6relayd: Workaround potential signal handling issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 12:50:36 +00:00
Gabor Juhos 9b24e8bb6d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:23 +00:00
Gabor Juhos f3a456e5f1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:47:03 +00:00
Jo-Philipp Wich bc882ab1f1 firewall3 - a C implementation of the current firewall scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 19:26:52 +00:00
Felix Fietkau 452522c6de hostapd: fix the scan wait patch for multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 19:00:34 +00:00
Gabor Juhos 6f2377c104 package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:13:40 +00:00
Felix Fietkau 8db109478c hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:26:03 +00:00
Gabor Juhos 9dd345481e base-files: add macaddr_{add,2bin,setbit_la} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:22 +00:00
Gabor Juhos 34fe9af047 base-files: add mtd_get_mac_{ascii,binary} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:19 +00:00
Jonas Gorski ea88007d4b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:42 +00:00
Florian Fainelli 8477ad22f6 hotplug2: depend on libbsd only when targetting eglibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 13:25:18 +00:00
Florian Fainelli 81fa18329e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 13:25:15 +00:00
Florian Fainelli 7aa96e138d libbsd: make it available for eglibc only
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 13:25:12 +00:00
Florian Fainelli 477ea5965c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 13:00:03 +00:00
Hauke Mehrtens f47db5b16a switch: export name of device found via /proc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 12:36:52 +00:00
Hauke Mehrtens e7ecb15a75 switch: export cpuport, ports and vlans via /proc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 12:36:13 +00:00
Hauke Mehrtens d2f74db548 switch: add support for BCM53125
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:05:32 +00:00
Hauke Mehrtens 9cb4b87ca1 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:05:13 +00:00
Hauke Mehrtens 50eb7c5b18 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:04:50 +00:00
Hauke Mehrtens 9d90fe1527 switch: improve robo_switch_enable()
This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:04:18 +00:00
Hauke Mehrtens 8e4b444166 switch: fix switches with more than 6 ports
This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:03:47 +00:00
Hauke Mehrtens 9f68dd6769 switch: reverse if else in handle_vlan_port_read()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:03:27 +00:00
Hauke Mehrtens e2fabaf65c 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:03:03 +00:00
Hauke Mehrtens 1e21b129a3 switch: reset switch before using it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:02:41 +00:00
Hauke Mehrtens 8b186c8162 switch: improve error handling in robo_probe()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:02:20 +00:00
Hauke Mehrtens 9692bcf3d9 switch: run cleanfile over the source code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:01:50 +00:00
Felix Fietkau c403c980f5 mac80211: add some small fixes for minstrel_ht CCK support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 09:53:28 +00:00
Steven Barth d0fe67f1df odhcp6c: allow setting a user-provided prefix as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 08:23:54 +00:00
Jo-Philipp Wich b0036a67c3 iptables: fix bad PKG_RELEASE in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 22:14:38 +00:00
Jo-Philipp Wich 543e4fb934 iptables: add --lenient switch to iptables-restore and ip6tables-restore that allows to skip erroneous lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 21:58:42 +00:00
Felix Fietkau 0918304925 mac80211: add CCK rate support to minstrel_ht to improve range
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:14 +00:00
Felix Fietkau 2256cbf372 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:10 +00:00
Steven Barth de9ca73143 odhcp6c: Various bugfixes
* Don't send undesired suggestions for preferred and valid lifetimes
* Be less verbose in logging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 12:30:16 +00:00
Tim Yardley 00ec7d9995 polarssl: security update (1.2.5) addressing CBC TLS issue
Signed-off-by: Tim Yardley <yardley@gmail.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 19:47:48 +00:00
Tim Yardley e07df17a99 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 19:36:06 +00:00
Felix Fietkau 40228ded56 openvpn-easy-rsa: fix typo in version (#12958)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 22:17:11 +00:00
Felix Fietkau 711882cca5 openvpn: remove the stale PKG_REV variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 10:40:19 +00:00
Felix Fietkau e6106c9b0a openvpn: split easy-rsa into a separate package, it is no longer bundled with the release tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 10:40:13 +00:00
Jo-Philipp Wich 292b4e42b3 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 14:38:33 +00:00
Steven Barth f5b834c1bd odhcp6c: Fix timing issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 17:26:40 +00:00
Jo-Philipp Wich 4f1d9c7067 libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 12:03:24 +00:00
Gabor Juhos 2883641f47 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:52 +00:00
Gabor Juhos 59ee6b3b80 add nForce Ethernet module
Signed-off-by: Zhiqiang Wang <wang.9264@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:40:43 +00:00
Steven Barth 15d5fae260 odhcp6c: Fix RENEW and REBIND requests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:44:13 +00:00
Gabor Juhos 48bf26a5ac package/uboot-envtools: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:52 +00:00
Gabor Juhos 2bab106d0b package/om-watchdog: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:49 +00:00
Steven Barth deed0b0198 odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 13:38:47 +00:00
Steven Barth 109d4f04b0 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:43 +00:00
Steven Barth 884f9354e3 odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:39 +00:00
Steven Barth 977543229a 6relayd: Fix announced router flags and IPv6 procfs-configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:34 +00:00
Steven Barth 9cfe240468 base-files: Fix IPv6 early sysctls again
* Kernel IPv6 /proc interface inconsistency caused races

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:24 +00:00
Felix Fietkau 81c98af4d4 openvpn: add from openvpn-devel from /packages, fix support for current polarssl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 20:07:15 +00:00
Felix Fietkau b848a19313 polarssl: add from /packages, update to 1.2.4, fix openssl compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 20:07:04 +00:00
Felix Fietkau 07903f3b93 move lzo from /packages to trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 19:52:03 +00:00
Steven Barth 7bc0be4f38 6in4: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 09:07:23 +00:00
Steven Barth 26312e0ff3 6in4: work around hanging wget process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 09:05:53 +00:00
Felix Fietkau e47227c933 libubox: update to latest version, fixes a string corruption issue on JSON formatting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:23:43 +00:00
Felix Fietkau e4b055fa7f add libusb-compat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 16:12:00 +00:00
Felix Fietkau 6e020244db netifd: update to latest version
fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 14:40:04 +00:00