Commit graph

7755 commits

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