openwrt/staging/nbd.git
8 years agokernel: mtdsplit: add support for EVA images
Felix Fietkau [Sun, 17 Jan 2016 10:41:08 +0000 (10:41 +0000)]
kernel: mtdsplit: add support for EVA images

This allows splitting EVA images (usually found in fritz devices). The
firmware will be split into a kernel and a separate rootfs partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48262

8 years agokernel: mtdsplit: add support for brnImages
Felix Fietkau [Sun, 17 Jan 2016 10:40:51 +0000 (10:40 +0000)]
kernel: mtdsplit: add support for brnImages

This adds brnImage (used with the brnboot bootloader) firmware parsing
support. brnboot verifies the integrity of the firmware stored on the
"Code Image" partitions by looking at the 12 byte footer at the very end
of the partition. This footer contains the checksum of the original
brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2
rootfs_data - otherwise the image will not be bootable anymore).

Big thanks to Mathias Kresin for analyzing the brnImage structure and
finding out the information how to keep images valid even when adding a
nested rootfs_data partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48261

8 years agokernel: disable bogus DEVTMPFS config overrides
Felix Fietkau [Sun, 17 Jan 2016 10:40:36 +0000 (10:40 +0000)]
kernel: disable bogus DEVTMPFS config overrides

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

8 years agodownload.pl: fix openssl sha256 digest output
Felix Fietkau [Sat, 16 Jan 2016 10:24:15 +0000 (10:24 +0000)]
download.pl: fix openssl sha256 digest output

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

8 years agoustream-ssl: fix copy&paste mistake in mbedtls variant title
Felix Fietkau [Sat, 16 Jan 2016 09:14:03 +0000 (09:14 +0000)]
ustream-ssl: fix copy&paste mistake in mbedtls variant title

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

8 years agopolarssl: update to 1.3.16, fixes intermediate certificate validation
Felix Fietkau [Sat, 16 Jan 2016 00:20:05 +0000 (00:20 +0000)]
polarssl: update to 1.3.16, fixes intermediate certificate validation

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

8 years agoustream-ssl: update to the latest version, adds mbedtls variant
Felix Fietkau [Sat, 16 Jan 2016 00:20:01 +0000 (00:20 +0000)]
ustream-ssl: update to the latest version, adds mbedtls variant

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

8 years agolibubox: update to the latest version, adds lua/ustream fixes and extends usock
Felix Fietkau [Sat, 16 Jan 2016 00:19:54 +0000 (00:19 +0000)]
libubox: update to the latest version, adds lua/ustream fixes and extends usock

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

8 years agombedtls: update to version 2.2.1
Felix Fietkau [Sat, 16 Jan 2016 00:19:47 +0000 (00:19 +0000)]
mbedtls: update to version 2.2.1

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

8 years agoscripts/download.pl: add SHA-256 support
Felix Fietkau [Sat, 16 Jan 2016 00:19:41 +0000 (00:19 +0000)]
scripts/download.pl: add SHA-256 support

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

8 years agopackages: bump uboot-sunxi to 2016.01
Zoltan Herpai [Fri, 15 Jan 2016 20:27:32 +0000 (20:27 +0000)]
packages: bump uboot-sunxi to 2016.01

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48252

8 years agomwlwifi: fix build with latest mac80211
Felix Fietkau [Fri, 15 Jan 2016 16:58:00 +0000 (16:58 +0000)]
mwlwifi: fix build with latest mac80211

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

8 years agomt76: update to the latest version, fixes build with latest mac80211
Felix Fietkau [Fri, 15 Jan 2016 16:53:44 +0000 (16:53 +0000)]
mt76: update to the latest version, fixes build with latest mac80211

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

8 years agoimx6: kernel: Add Micrel PHY used on Apalis SOM
Felix Fietkau [Fri, 15 Jan 2016 15:18:23 +0000 (15:18 +0000)]
imx6: kernel: Add Micrel PHY used on Apalis SOM

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Cc: Luka Perkov <luka@openwrt.org>
SVN-Revision: 48249

8 years agoimx6: add 4.4 support
Felix Fietkau [Fri, 15 Jan 2016 15:18:18 +0000 (15:18 +0000)]
imx6: add 4.4 support

Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx
 * GW552x
 * GW551x

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48248

8 years agomac80211: update to wireless-testing 2016-01-10
Felix Fietkau [Fri, 15 Jan 2016 15:03:48 +0000 (15:03 +0000)]
mac80211: update to wireless-testing 2016-01-10

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

8 years agodnsmasq: Add option --min-port
Felix Fietkau [Fri, 15 Jan 2016 11:24:15 +0000 (11:24 +0000)]
dnsmasq: Add option --min-port

By default dnsmasq uses random ports for outbound dns queries;
when the minport UCI option is specified the ports used will
always be larger than the specified value.
This is usefull for systems behind firewalls.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 48244

8 years agodropbear: update version to 2015.71
Felix Fietkau [Fri, 15 Jan 2016 11:24:09 +0000 (11:24 +0000)]
dropbear: update version to 2015.71

Update dropbear to version 2015.71, released on 3 Dec 2015.
Refresh patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 48243

8 years agokernel: add missing kmod-video-videobuf2's object file in 4.4
Felix Fietkau [Fri, 15 Jan 2016 10:49:21 +0000 (10:49 +0000)]
kernel: add missing kmod-video-videobuf2's object file in 4.4

CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4.
Conditionally add the new file to FILES of kmod-video-videobuf2.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
SVN-Revision: 48242

8 years agoarc770: move arc patches to target/linux/generic
Felix Fietkau [Fri, 15 Jan 2016 10:49:11 +0000 (10:49 +0000)]
arc770: move arc patches to target/linux/generic

Given those patches are relevant to any ARC platform and even
ISA version it makes perfect sense for patches to exist
in one place instead of being duplicated for each new ARC-based ASIC.

Note this is a prerequisite for upstreaming of ARC HS38 support in
OpenWRT.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48241

8 years agoarc770: bump linux kernel from 4.3 to 4.4
Felix Fietkau [Fri, 15 Jan 2016 10:49:01 +0000 (10:49 +0000)]
arc770: bump linux kernel from 4.3 to 4.4

This switch involved:
 [1] Regeneration of config (few options went away)
 [2] Regeneration of patches so they apply cleanly (different offsets)
 [3] Update of .dts files because we now explicitly specify
     memory regions in use as opposed to previously used offset
     from 0x8000_0000

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48240

8 years agokernel: compile out SNMP MIB related counting if debloat-proc is active - improves...
Felix Fietkau [Fri, 15 Jan 2016 10:47:14 +0000 (10:47 +0000)]
kernel: compile out SNMP MIB related counting if debloat-proc is active - improves network stack performance

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

8 years agoprocd: align early init PATH with rest of OpenWrt
Jo-Philipp Wich [Thu, 14 Jan 2016 12:52:18 +0000 (12:52 +0000)]
procd: align early init PATH with rest of OpenWrt

This fixes diverging executable search paths observed in programs
launched throughn etifd which in turn inherited the search path from
procd early on boot.

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

8 years agomt76: update to the latest version, fixes signal strength reporting
Felix Fietkau [Thu, 14 Jan 2016 11:59:10 +0000 (11:59 +0000)]
mt76: update to the latest version, fixes signal strength reporting

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

8 years agoath9k: add support for a newer tx gain table used in some TP-Link devices
Felix Fietkau [Thu, 14 Jan 2016 02:17:49 +0000 (02:17 +0000)]
ath9k: add support for a newer tx gain table used in some TP-Link devices

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

8 years agomt76: update to the latest version, adds mac address fixes and some performance tuning
Felix Fietkau [Thu, 14 Jan 2016 01:00:42 +0000 (01:00 +0000)]
mt76: update to the latest version, adds mac address fixes and some performance tuning

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

8 years agokernel: backport perf build fixes to 4.1
Felix Fietkau [Thu, 14 Jan 2016 01:00:38 +0000 (01:00 +0000)]
kernel: backport perf build fixes to 4.1

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

8 years agokernel: remove obsolete config symbols from 4.4
Felix Fietkau [Thu, 14 Jan 2016 01:00:13 +0000 (01:00 +0000)]
kernel: remove obsolete config symbols from 4.4

Only remove old symbols for 4.4 since older Kernels might be
removed sooner/later and 4.4 is the next LTS

build tested against:
 omap 4.4 CONFIG_ALL_KMODS
 x86_64

List of enabled & orphaned symbols:

-CONFIG_ARPD=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
-CONFIG_CAVIUM_OCTEON_HELPER=y
-CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
-CONFIG_DISABLE_DEV_COREDUMP=y
-CONFIG_EXPERIMENTAL=y
-CONFIG_EXT4_FS_XATTR=y
-CONFIG_GENERIC_HARDIRQS=y
-CONFIG_GENERIC_TIME=y
-CONFIG_HOTPLUG=y
-CONFIG_INITRAMFS_COMPRESSION_NONE=y
-CONFIG_INLINE_SPIN_UNLOCK=y
-CONFIG_LEDS_GPIO_OF=y
-CONFIG_LEDS_GPIO_PLATFORM=y
-CONFIG_MFD_SUPPORT=y
-CONFIG_MISC_DEVICES=y
-CONFIG_MTD_CHAR=y
-CONFIG_NETDEV_1000=y
-CONFIG_NET_ETHERNET=y
-CONFIG_NET_PCI=y
-CONFIG_NET_VENDOR_SILICOM=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_USB_ARCH_HAS_OHCI=y
-CONFIG_USB_DEVICEFS=y
-CONFIG_USB_EZUSB=y

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 48230

8 years agolantiq: remove clk_round_rate() patch
Hauke Mehrtens [Wed, 13 Jan 2016 20:46:12 +0000 (20:46 +0000)]
lantiq: remove clk_round_rate() patch

This patch was merged into upstream Linux 4.1.
This fixes #21587 and was introduced in r48223.

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

8 years agoar71xx: fix ethernet MAC reset on DMA hang
Felix Fietkau [Wed, 13 Jan 2016 16:22:16 +0000 (16:22 +0000)]
ar71xx: fix ethernet MAC reset on DMA hang

Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.

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

8 years agoar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Felix Fietkau [Wed, 13 Jan 2016 16:22:05 +0000 (16:22 +0000)]
ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips

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

8 years agoubus: update to the latest version, fixes an acl related crash
Felix Fietkau [Wed, 13 Jan 2016 11:32:41 +0000 (11:32 +0000)]
ubus: update to the latest version, fixes an acl related crash

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

8 years agokernel/3.18: update to version 3.18.25
Hauke Mehrtens [Tue, 12 Jan 2016 20:53:04 +0000 (20:53 +0000)]
kernel/3.18: update to version 3.18.25

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

8 years agokernel/4.3: update to version 4.3.3
Hauke Mehrtens [Tue, 12 Jan 2016 20:52:19 +0000 (20:52 +0000)]
kernel/4.3: update to version 4.3.3

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de
SVN-Revision: 48224

8 years agokernel/4.1: update to version 4.1.15
Hauke Mehrtens [Tue, 12 Jan 2016 20:51:34 +0000 (20:51 +0000)]
kernel/4.1: update to version 4.1.15

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

8 years agokernel: refresh patches for kernel 4.4
Hauke Mehrtens [Tue, 12 Jan 2016 20:50:41 +0000 (20:50 +0000)]
kernel: refresh patches for kernel 4.4

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

8 years agoperf: fix strerror_r override detection, apparently part of tools/ relies on non...
Felix Fietkau [Tue, 12 Jan 2016 16:42:12 +0000 (16:42 +0000)]
perf: fix strerror_r override detection, apparently part of tools/ relies on non-GNU behavior

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

8 years agomac80211: resync regulatory db with master-2015-12-14
Imre Kaloz [Tue, 12 Jan 2016 14:28:09 +0000 (14:28 +0000)]
mac80211: resync regulatory db with master-2015-12-14

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 48219

8 years agoperf: fix build errors on x86 and other platforms
Felix Fietkau [Tue, 12 Jan 2016 11:15:34 +0000 (11:15 +0000)]
perf: fix build errors on x86 and other platforms

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

8 years agopxa: moved to targets feed
Felix Fietkau [Tue, 12 Jan 2016 10:08:18 +0000 (10:08 +0000)]
pxa: moved to targets feed

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

8 years agox86: update to linux 4.4
Felix Fietkau [Tue, 12 Jan 2016 10:04:55 +0000 (10:04 +0000)]
x86: update to linux 4.4

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

8 years agokernel: add missing symbols for linux 4.4
Felix Fietkau [Tue, 12 Jan 2016 10:04:47 +0000 (10:04 +0000)]
kernel: add missing symbols for linux 4.4

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

8 years agodnsmasq: add local hostname record for own lan ula address as well
Jo-Philipp Wich [Tue, 12 Jan 2016 10:03:50 +0000 (10:03 +0000)]
dnsmasq: add local hostname record for own lan ula address as well

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

8 years agosdk: add base repository fallback
Jo-Philipp Wich [Tue, 12 Jan 2016 09:25:45 +0000 (09:25 +0000)]
sdk: add base repository fallback

When the build system cannot infer its own repository url then let it fall
back to http://git.openwrt.org/ for the base feed.

The path to openwrt.git is guessed from the VERSION_NUMBER variable:

 "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git
 "15.05.1"             -> http://git.openwrt.org/15.05/openwrt.git

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

8 years agogettext-full: make autopoint and gettextize reloctable
Jo-Philipp Wich [Tue, 12 Jan 2016 07:51:56 +0000 (07:51 +0000)]
gettext-full: make autopoint and gettextize reloctable

The autopoint and gettextize host utilities contain hardcoded staging dir
paths which need to be overridden for the SDK environment.

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

8 years agobuild: remove SDK special case for kernel module packages
Felix Fietkau [Mon, 11 Jan 2016 23:11:13 +0000 (23:11 +0000)]
build: remove SDK special case for kernel module packages

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

8 years agotarget/sdk: include modules.builtin, it is necessary for packaging kernel modules
Felix Fietkau [Mon, 11 Jan 2016 23:11:09 +0000 (23:11 +0000)]
target/sdk: include modules.builtin, it is necessary for packaging kernel modules

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

8 years agolinux-firmware: fix mediatek/ralink package names
Felix Fietkau [Mon, 11 Jan 2016 20:51:19 +0000 (20:51 +0000)]
linux-firmware: fix mediatek/ralink package names

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

8 years agokernel: Update kernel 4.4 to 4.4.0
Felix Fietkau [Mon, 11 Jan 2016 20:13:17 +0000 (20:13 +0000)]
kernel: Update kernel 4.4 to 4.4.0

This removes one patch which was applied upstream with commit
67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were
refreshed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48203

8 years agohostapd: fix disassociation with FullMAC drivers and multi-BSS
Rafał Miłecki [Mon, 11 Jan 2016 18:51:47 +0000 (18:51 +0000)]
hostapd: fix disassociation with FullMAC drivers and multi-BSS

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

8 years agoopenvpn: update to version 2.3.10
Felix Fietkau [Mon, 11 Jan 2016 18:37:28 +0000 (18:37 +0000)]
openvpn: update to version 2.3.10

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

8 years agouci: update to the latest version, adds a small optimization to uci commit
Felix Fietkau [Mon, 11 Jan 2016 12:29:59 +0000 (12:29 +0000)]
uci: update to the latest version, adds a small optimization to uci commit

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

8 years agodropbear: enable curve25519 support by default, increases compressed binary size...
Felix Fietkau [Sun, 10 Jan 2016 22:38:59 +0000 (22:38 +0000)]
dropbear: enable curve25519 support by default, increases compressed binary size by ~5 kb

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

8 years agodropbear: split out curve25519 support into a separate config option
Felix Fietkau [Sun, 10 Jan 2016 22:38:53 +0000 (22:38 +0000)]
dropbear: split out curve25519 support into a separate config option

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

8 years agofstools: fix off-by-one error in the version number
Felix Fietkau [Sun, 10 Jan 2016 18:04:36 +0000 (18:04 +0000)]
fstools: fix off-by-one error in the version number

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

8 years agofstools: update to the latest version, fixes filesystem state rewrite on every boot
Felix Fietkau [Sun, 10 Jan 2016 17:36:53 +0000 (17:36 +0000)]
fstools: update to the latest version, fixes filesystem state rewrite on every boot

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

8 years agox86: remove obsolete patches
Felix Fietkau [Sun, 10 Jan 2016 17:19:51 +0000 (17:19 +0000)]
x86: remove obsolete patches

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

8 years agox86: remove the rdc subtarget, it was broken for ages and nobody cared
Felix Fietkau [Sun, 10 Jan 2016 17:19:46 +0000 (17:19 +0000)]
x86: remove the rdc subtarget, it was broken for ages and nobody cared

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

8 years agotools/cmake: update version to 3.4.1
Felix Fietkau [Sun, 10 Jan 2016 17:19:40 +0000 (17:19 +0000)]
tools/cmake: update version to 3.4.1

Update cmake version to 3.4.1, released in Dec 2015.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 48188

8 years agoar71xx: fix ap152 support
Felix Fietkau [Sun, 10 Jan 2016 17:19:34 +0000 (17:19 +0000)]
ar71xx: fix ap152 support

- ethernet gigabit pll
- switch configuration
- sysupgrade

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

8 years agohostapd: fix post v2.4 security issues
Felix Fietkau [Sun, 10 Jan 2016 17:03:37 +0000 (17:03 +0000)]
hostapd: fix post v2.4 security issues

- WPS: Fix HTTP chunked transfer encoding parser (CVE-2015-4141)
- EAP-pwd peer: Fix payload length validation for Commit and Confirm
  (CVE-2015-4143)
- EAP-pwd server: Fix payload length validation for Commit and Confirm
  (CVE-2015-4143)
- EAP-pwd peer: Fix Total-Length parsing for fragment reassembly
  (CVE-2015-4144, CVE-2015-4145)
- EAP-pwd server: Fix Total-Length parsing for fragment reassembly
  (CVE-2015-4144, CVE-2015-4145)
- EAP-pwd peer: Fix asymmetric fragmentation behavior (CVE-2015-4146)
- NFC: Fix payload length validation in NDEF record parser (CVE-2015-8041)
- WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use
  (CVE-2015-5310)
- EAP-pwd peer: Fix last fragment length validation (CVE-2015-5315)
- EAP-pwd server: Fix last fragment length validation (CVE-2015-5314)
- EAP-pwd peer: Fix error path for unexpected Confirm message (CVE-2015-5316)

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
SVN-Revision: 48185

8 years agomac80211: move b43legacy firmware to a separate package
Felix Fietkau [Sun, 10 Jan 2016 16:37:01 +0000 (16:37 +0000)]
mac80211: move b43legacy firmware to a separate package

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

8 years agomac80211: remove linux-firmware download
Felix Fietkau [Sun, 10 Jan 2016 16:36:54 +0000 (16:36 +0000)]
mac80211: remove linux-firmware download

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

8 years agomac80211: move broadcom firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:48 +0000 (16:36 +0000)]
mac80211: move broadcom firmware to the linux-firmware package

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

8 years agomac80211: move ti firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:40 +0000 (16:36 +0000)]
mac80211: move ti firmware to the linux-firmware package

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

8 years agomac80211: move mediatek/ralink firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:31 +0000 (16:36 +0000)]
mac80211: move mediatek/ralink firmware to the linux-firmware package

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

8 years agomac80211: move atheros/qca firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:25 +0000 (16:36 +0000)]
mac80211: move atheros/qca firmware to the linux-firmware package

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

8 years agomac80211: move marvell firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:17 +0000 (16:36 +0000)]
mac80211: move marvell firmware to the linux-firmware package

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

8 years agomac80211: move intel firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:08 +0000 (16:36 +0000)]
mac80211: move intel firmware to the linux-firmware package

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

8 years agomac80211: move realtek firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:00 +0000 (16:36 +0000)]
mac80211: move realtek firmware to the linux-firmware package

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

8 years agolinux-firmware: add commented out BuildPackage section for metadata scanning
Felix Fietkau [Sun, 10 Jan 2016 16:35:53 +0000 (16:35 +0000)]
linux-firmware: add commented out BuildPackage section for metadata scanning

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

8 years agolinux-firmware: remove duplication in package metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:46 +0000 (16:35 +0000)]
linux-firmware: remove duplication in package metadata

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

8 years agolinux-firmware: move realtek firmware packages to realtek.mk
Felix Fietkau [Sun, 10 Jan 2016 16:35:40 +0000 (16:35 +0000)]
linux-firmware: move realtek firmware packages to realtek.mk

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

8 years agolinux-firmware: update to the latest version, sync with subdir used by the mac80211...
Felix Fietkau [Sun, 10 Jan 2016 16:35:31 +0000 (16:35 +0000)]
linux-firmware: update to the latest version, sync with subdir used by the mac80211 package

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

8 years agobuild: ignore the linux package in the sdk only for generating package data, not...
Felix Fietkau [Sun, 10 Jan 2016 16:35:24 +0000 (16:35 +0000)]
build: ignore the linux package in the sdk only for generating package data, not for dependencies

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

8 years agoscripts/metadata.pl: add support for ignoring source packages when generating metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:16 +0000 (16:35 +0000)]
scripts/metadata.pl: add support for ignoring source packages when generating metadata

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

8 years agoRevert "package/libs/libtool: rename to libltdl"
Felix Fietkau [Sun, 10 Jan 2016 11:39:19 +0000 (11:39 +0000)]
Revert "package/libs/libtool: rename to libltdl"

This reverts commit r48149

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

8 years agomac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected
Zoltan Herpai [Sat, 9 Jan 2016 16:46:42 +0000 (16:46 +0000)]
mac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48162

8 years agosunxi: initial 4.4 support
Zoltan Herpai [Sat, 9 Jan 2016 16:20:39 +0000 (16:20 +0000)]
sunxi: initial 4.4 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48161

8 years agosunxi: prep module support options for 4.4
Zoltan Herpai [Sat, 9 Jan 2016 16:19:21 +0000 (16:19 +0000)]
sunxi: prep module support options for 4.4

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48160

8 years agokernel/4.4: add missing config options
Zoltan Herpai [Sat, 9 Jan 2016 15:42:06 +0000 (15:42 +0000)]
kernel/4.4: add missing config options

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48159

8 years agobuild: prevent host default LDFLAGS from leaking into packages
Felix Fietkau [Fri, 8 Jan 2016 23:18:22 +0000 (23:18 +0000)]
build: prevent host default LDFLAGS from leaking into packages

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

8 years agotarget/sdk: do not include the target staging dir anymore, it is unnecessary now
Felix Fietkau [Fri, 8 Jan 2016 23:18:18 +0000 (23:18 +0000)]
target/sdk: do not include the target staging dir anymore, it is unnecessary now

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

8 years agotarget/sdk: ship .ko files to allow rebuild of the base kmod-* packages
Felix Fietkau [Fri, 8 Jan 2016 23:18:14 +0000 (23:18 +0000)]
target/sdk: ship .ko files to allow rebuild of the base kmod-* packages

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

8 years agobuild: do not allow the SDK to reconfigure built-in kernel modules
Felix Fietkau [Fri, 8 Jan 2016 23:06:59 +0000 (23:06 +0000)]
build: do not allow the SDK to reconfigure built-in kernel modules

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

8 years agopackages: bump uboot-sunxi to 2016.01-rc3, along with H3 PSCI/SMP patches
Zoltan Herpai [Fri, 8 Jan 2016 20:37:43 +0000 (20:37 +0000)]
packages: bump uboot-sunxi to 2016.01-rc3, along with H3 PSCI/SMP patches

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48154

8 years agomwlwifi: update to 10.3.0.16-20160105 (adds DFS support)
Imre Kaloz [Fri, 8 Jan 2016 19:23:16 +0000 (19:23 +0000)]
mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 48152

8 years agopackage/libs/zlib: new package zlib-dev
Felix Fietkau [Thu, 7 Jan 2016 21:08:13 +0000 (21:08 +0000)]
package/libs/zlib: new package zlib-dev

The patch adds a new package zlib-dev. It contains all files needed for
compiling a program using the zlib library:

/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/lib/pkgconfig/zlib.pc

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48151

8 years agoopenvpn: added service_triggers() to init script
Felix Fietkau [Thu, 7 Jan 2016 21:08:05 +0000 (21:08 +0000)]
openvpn: added service_triggers() to init script

Follow up of #21469
This patch enables autoreloading openvpn via procd.

Signed-off-by: Federico Capoano <nemesis@ninux.org>
SVN-Revision: 48150

8 years agopackage/libs/libtool: rename to libltdl
Felix Fietkau [Thu, 7 Jan 2016 21:08:00 +0000 (21:08 +0000)]
package/libs/libtool: rename to libltdl

Source package libtool is used to package libltdl.
Unfortunately binary libtoolize is missing.
Packaging libtoolize would depend on package file which is in the
packages feed.
Felix Fietkau suggested to rename source libtool to libltdl
and to create a new package libtool in packages.

This patch contains the renaming.

CC: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48149

8 years agoperf: drop @!USE_UCLIBC from depends
Felix Fietkau [Thu, 7 Jan 2016 21:07:48 +0000 (21:07 +0000)]
perf: drop @!USE_UCLIBC from depends

perf builds fine with uClibc too

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 48148

8 years agoramips: do not rely on $(BIN_DIR) installed files during image build (for ubnt-erx)
Felix Fietkau [Wed, 6 Jan 2016 18:39:13 +0000 (18:39 +0000)]
ramips: do not rely on $(BIN_DIR) installed files during image build (for ubnt-erx)

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

8 years agotargets: add kernel image dependencies on device tree files
Felix Fietkau [Wed, 6 Jan 2016 18:39:06 +0000 (18:39 +0000)]
targets: add kernel image dependencies on device tree files

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

8 years agobuild: skip rebuild of kernel images if the source did not change
Felix Fietkau [Wed, 6 Jan 2016 18:38:49 +0000 (18:38 +0000)]
build: skip rebuild of kernel images if the source did not change

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

8 years agoramips: do not attempt to build ubnt-erx initramfs image if initramfs support is...
Felix Fietkau [Wed, 6 Jan 2016 18:38:44 +0000 (18:38 +0000)]
ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled

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

8 years agobuild: suppress unnecessary kernel config rewrites to speed up build
Felix Fietkau [Wed, 6 Jan 2016 18:37:42 +0000 (18:37 +0000)]
build: suppress unnecessary kernel config rewrites to speed up build

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

8 years agoswconfig: add API for setting port link speed
Rafał Miłecki [Wed, 6 Jan 2016 18:32:21 +0000 (18:32 +0000)]
swconfig: add API for setting port link speed

Some switches can force link speed for a port. Let's add API that will
allow drivers to export this feature.

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

8 years agoswconfig: support sending SWITCH_TYPE_LINK to kernel
Rafał Miłecki [Wed, 6 Jan 2016 18:32:13 +0000 (18:32 +0000)]
swconfig: support sending SWITCH_TYPE_LINK to kernel

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

8 years agoramips: fix duplicate /dts-v1/ line for WRTNODE2
Felix Fietkau [Wed, 6 Jan 2016 00:04:14 +0000 (00:04 +0000)]
ramips: fix duplicate /dts-v1/ line for WRTNODE2

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>
SVN-Revision: 48138

8 years agobzip2: only build the static library for the host, fixes build errors on mac os x
Felix Fietkau [Tue, 5 Jan 2016 12:15:41 +0000 (12:15 +0000)]
bzip2: only build the static library for the host, fixes build errors on mac os x

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