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