Commit Graph

10805 Commits

Author SHA1 Message Date
Felix Fietkau
9384cc5951 mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46436
2015-07-22 12:45:03 +00:00
Felix Fietkau
13f50151bc strace: add kernel headers include to host cflags to fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46423
2015-07-19 14:59:16 +00:00
Felix Fietkau
51ab7ade4e strace: cross compile fix: pass HOST_*FLAGS in to ./configure
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build.  Setting these flags is frequently required for unusual
cross-compiles.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>

SVN-Revision: 46422
2015-07-19 14:59:09 +00:00
Felix Fietkau
26d71e9b25 netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46421
2015-07-18 23:14:19 +00:00
Felix Fietkau
621dd13590 cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46413
2015-07-18 19:10:38 +00:00
Felix Fietkau
9ed820a4a7 mt76: update to the latest version, fixes rx buffer allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46409
2015-07-18 16:04:58 +00:00
Steven Barth
706adb1601 odhcp6c: add option "sourcefilter" to disable source filter
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46408
2015-07-18 05:44:50 +00:00
Hauke Mehrtens
59671b844a kernel: fix dependecy of kmod-ieee802154_6lowpan
This module also depends on kmod-ieee802154

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46407
2015-07-17 17:55:17 +00:00
John Crispin
d42b6c1afb swconfig: libsw.so should be installed into /usr/lib/
otherwise it's not picked up by toolchain:

staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46406
2015-07-17 12:51:24 +00:00
Steven Barth
56e7ba4a1e odhcpd: fix last commit
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46393
2015-07-17 11:09:13 +00:00
Steven Barth
9a977c2b11 odhcpd: fix dhcpv6 relay forwarding
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46392
2015-07-17 08:47:48 +00:00
Jonas Gorski
30f9eb4cef kernel: wpan: at86rf230 depends on regmap-spi
kmod-at86rf230 select REGMAP_SPI since 3.17, so add a dependency to
kmod-regmap.

Fixes the following error:

Package kmod-at86rf230 is missing dependencies for the following libraries:
regmap-core.ko
regmap-spi.ko

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

SVN-Revision: 46387
2015-07-16 11:12:03 +00:00
Jonas Gorski
46a69e96a4 xtables-addons: update to 2.7 to fix compilation with 4.1
Also drop the configure (not .ac) patch part as autoreconf will
overwrite it anyway with a newly generated version.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46385
2015-07-15 14:41:45 +00:00
Luka Perkov
d4ff533bcc rpcd: update to the latest version
This update adds a couple of file plugin enhancements, such as base64 support
and setting mode when files are written.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 46384
2015-07-15 08:23:28 +00:00
Felix Fietkau
e23c3bb339 wpa-supplicant: add 802.11r client support
Add 802.11r client support to wpa_supplicant. It's only enabled in
wpa_supplicant-full. hostapd gained 802.11r support in commit r45051.

Tested on a TP-Link TL-WR710N sta psk client with two 802.11r enabled
openwrt accesspoints (TP-Link TL-WDR3600).

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

SVN-Revision: 46377
2015-07-15 08:16:22 +00:00
Steven Barth
f08895d0e9 odhcpd: also unify router and DNS lifetimes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46376
2015-07-15 07:38:54 +00:00
Steven Barth
d8e082c593 odhcpd: fix RA lifetime calculation
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46375
2015-07-15 06:57:43 +00:00
Hauke Mehrtens
6c8c019b78 robocfg: remove robocfg
This controls the old Broadcom switch driver which was removed over a
year ago, since then this is useless. Use swconfig instead it works
with more (Broadcom) switches.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46373
2015-07-14 20:56:04 +00:00
Hauke Mehrtens
750a62195c admswconfig: fix compile with musl
caddr_t is not defined everywhere any more, cast it the the real
pointer type of ifr_data.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46371
2015-07-14 20:51:37 +00:00
Steven Barth
a5641a6444 odhcpd: use 65535s as default lifetime and make interval configurable
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46370
2015-07-14 20:10:46 +00:00
Jo-Philipp Wich
52bfee77e4 linux: enable kmod-acpi-button for x86_64 (#20080)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46368
2015-07-14 17:23:56 +00:00
John Crispin
096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
2015-07-14 09:57:45 +00:00
John Crispin
c71ef0499b swconfig: Split libsw out of swconfig for reuse in other packages
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 46358
2015-07-14 09:56:59 +00:00
Steven Barth
63ef3540d1 odhcpd: unsolicited unicast RAs + fix NDP-relay
odhcpd now sends unsolicited RAs also via unicast to known link-local
neighbors. This is an attempt to work-around common smartphone issues
https://code.google.com/p/android/issues/detail?id=32662

Also NDP-relay should now work more reliably now

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46357
2015-07-14 09:12:29 +00:00
John Crispin
c18f603ba4 ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46356
2015-07-14 07:44:14 +00:00
John Crispin
a7b5908a8f brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46343
2015-07-14 07:37:14 +00:00
John Crispin
d0d3ca2a1b base-files: added option to configure the gpio led trigger in uci-defaults
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 46341
2015-07-14 07:35:59 +00:00
John Crispin
c54b1be7c2 mac80211: make ath10k firmware v2 selectable
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 46340
2015-07-14 07:35:45 +00:00
Steven Barth
a06c1c810e odhcp6c: fix some more compatibility issues
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46335
2015-07-13 21:51:38 +00:00
Steven Barth
fab6209f71 odhcp6c: work-around more ISP DHCPv6-PD issues
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46317
2015-07-13 14:17:38 +00:00
Jonas Gorski
6f2fe75834 ar7-atm: fix compilation for 4.1
Add the required changes to make it compile for 4.1 again.

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

SVN-Revision: 46306
2015-07-12 11:57:40 +00:00
Jonas Gorski
7c7695ab41 acx-mac80211: make it compile again against new compat-wireless
Update to "latest" HEAD and update it to match latest API changes.

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

SVN-Revision: 46305
2015-07-12 11:57:04 +00:00
Hauke Mehrtens
b2314679b6 valgrind: update to 3.10.1 and fix kernel >= 4.0
This updates valgrind to version 3.10.1 and make configure work with
kernel version > 4.0. This patch was taken from upstream valgrind.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46302
2015-07-11 20:55:36 +00:00
Felix Fietkau
1c8148a858 ebtables: fix miscompilation on 64bit targets
The musl build "fix" introduced in r45108 removed all netinet/ether.h
includes, which made the prototypes of ether_aton and ether_ntoa
unavailable. As a result, the compiler assumed they return int instead
of a pointer. This currupted the pointer on 64bit targets, causing ebtables
to segfault in commands containing MAC addresses.

Since r46161 made it possible to include both the kernel and the libc
if_ether.h as long as the libc version is included first, this patch
changes the fix to remove the linux/if_ether.h from the ebtables source
(so the fixed version from the kernel is used) and ensures netinet/ether.h
is included early.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46292
2015-07-10 11:36:49 +00:00
Rafał Miłecki
aee7bf2fca mac80211: add brcmfmac patch fixing user space picked MACs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46288
2015-07-09 18:03:39 +00:00
Jo-Philipp Wich
48d9137d31 openssl: update to v1.0.2d (CVE-2015-1793)
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46285
2015-07-09 13:04:27 +00:00
Rafał Miłecki
4587e39fe7 mac80211: try to workaround some brcmfmac bug with handling interfaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46278
2015-07-09 06:09:50 +00:00
Hauke Mehrtens
f60082f548 kernel: modules: activate wpan on kernel 4.1
Make wpan depend on not kernel 3.18 so it will get activated on all
other kernel versions like 4.0 and 4.1.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46276
2015-07-08 20:43:23 +00:00
Felix Fietkau
7a04fd0e3a swconfig: swlib.c: Fix another memleak
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 46275
2015-07-08 15:59:38 +00:00
John Crispin
8503f34ce8 fstools: fstab.init fix spelling
fix a very minor typo in warning message

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46273
2015-07-08 14:26:12 +00:00
John Crispin
657300d418 comgt: make ncm proto work via wwan proto
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46272
2015-07-08 14:26:04 +00:00
John Crispin
d65916047b base-files: implemented basic GPIO control
Internal GPIO pins are used for PoE passthrough setups in multi-port
routers. This patch implemnets control over this hardware feature for
Ubiquiti Nanostations and TP-Link CPE510.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>

SVN-Revision: 46271
2015-07-08 14:25:52 +00:00
Rafał Miłecki
4497c35bd0 nvram: get rid of NVRAM_SPACE
Now we support NVRAM whatever its size is.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46262
2015-07-08 06:05:43 +00:00
Rafał Miłecki
d372167491 nvram: fix displayed info about NVRAM size
Use actual partition size and content offset to calculate it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46260
2015-07-08 05:42:30 +00:00
Felix Fietkau
1ef0bc6bfb mwlwifi: fix compile error after mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46254
2015-07-07 22:07:22 +00:00
Rafał Miłecki
4014ba376c Revert "Revert "nvram: increase NVRAM size to 64 KiB""
This reverts commit r45579.

With the latest change r46251 ("nvram: fix "Segmentation fault" caused
by setting memory out of buffer") nvram utility shouldn't crash anymore.

It was tested on 3 brcm47xx devices:
1) Unknown with 0x10000 NVRAM size (0x8000 offset)
2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)

And 3 bcm53xx devices:
1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
3) Netgear R6250 V1 with 0x180000 NVRAM size
(all using 0 offset)

This is an important change as it allows reading whole NVRAM. This may
critical when reading some basic configuration (e.g. switch ports).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46253
2015-07-07 22:06:04 +00:00
Rafał Miłecki
9f15849910 nvram: fix "Segmentation fault" caused by setting memory out of buffer
Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46251
2015-07-07 21:21:49 +00:00
Steven Barth
e71141ef23 gdb: fix compilation for x86_64 with musl
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46249
2015-07-07 17:30:08 +00:00
John Crispin
7ab6409a89 ubus: bump to latest git HEAD
fixes a bug where gid was checked twice instead of the uid/gid combo

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

SVN-Revision: 46246
2015-07-07 13:48:17 +00:00
John Crispin
cb52ede81d mac80211: Drop ath10k workaround for providing calibration data
Ath10k has now a proper method of providing calibration data via
the kernel firmware API. This patch can be dropped as all boards
now use the proper method.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 46245
2015-07-07 13:48:06 +00:00