openwrt/staging/lynxis.git
7 years agoutils/e2fsprogs: Update to 1.43.4
Daniel Engberg [Mon, 6 Feb 2017 19:58:42 +0000 (20:58 +0100)]
utils/e2fsprogs: Update to 1.43.4

* Update to 1.43.4
* Use xz tarball which saves about 2Mbyte in size

Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [use @KERNEL instead of hardcoded URL]
7 years agobuild: support make tools/<name>/install again
Felix Fietkau [Wed, 8 Feb 2017 14:49:49 +0000 (15:49 +0100)]
build: support make tools/<name>/install again

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotools/e2fsprogs: Update to 1.43.4
Daniel Engberg [Mon, 6 Feb 2017 19:05:36 +0000 (20:05 +0100)]
tools/e2fsprogs: Update to 1.43.4

* Update to 1.43.4
* Refresh patches
* xz tarball which saves about 2M in size

Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4

Tested by Etienne Haarsma (ar71xx), Daniel Engberg (kirkwood)

Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [use @KERNEL instead of harcoded URL]
7 years agoar71xx: image: drop redundant CONSOLE assignment
Piotr Dymacz [Sat, 4 Feb 2017 16:41:42 +0000 (17:41 +0100)]
ar71xx: image: drop redundant CONSOLE assignment

Default CONSOLE value for ar71xx target is "ttyS0,115200", so there
is no need to specify the same value in device profiles.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoarc770: backport upstream fix for unaligned access
Alexey Brodkin [Wed, 8 Feb 2017 14:01:00 +0000 (17:01 +0300)]
arc770: backport upstream fix for unaligned access

This commit reverts 42f3c1f ("arc770: fix broken upstream change")
and simultaneously adds back-ported fix from Linus' tree:
a524c218bc94 ("ARC: [arcompact] brown paper bag bug in unaligned
access delay slot fixup").

Note mentioned patch will appear in stable trees soon as well so
IMHO there's not much sense in adding this separate patch in lede/master branch.
As well as we will get rid of it here in 17.01 once we bump 4.4 kernel here
later down the line.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@nbd.name>
Cc: John Crispin <john@phrozen.org>
Cc: Jo-Philipp Wich <jo@mein.io>
7 years agoprocd: update to latest git HEAD
John Crispin [Wed, 8 Feb 2017 11:39:10 +0000 (12:39 +0100)]
procd: update to latest git HEAD

cdc3dab ujail: fix signal forwarding

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: fix AR670W partition alignment
Claudio Leite [Sun, 5 Feb 2017 08:59:45 +0000 (03:59 -0500)]
ramips: fix AR670W partition alignment

mtdsplit_lzma requires that the rootfs be aligned to a block boundary.
Pad the kernel partition to make this so.

Signed-off-by: Claudio Leite <leitec@gmail.com>
7 years agokernel: backport bcm47xxsflash support for reading 32 MiB flashes
Rafał Miłecki [Thu, 9 Feb 2017 07:34:20 +0000 (08:34 +0100)]
kernel: backport bcm47xxsflash support for reading 32 MiB flashes

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agort2x00: mt7620: lots of improvements
Daniel Golle [Fri, 3 Feb 2017 14:02:32 +0000 (15:02 +0100)]
rt2x00: mt7620: lots of improvements

This commit combines all the changes I've made on my staging tree
into a single commit fixing many issues with our patch for MT7620.

First of all, checkpatch.pl revealed numerous code style issues with
the patch, so fix all the white-space and commets. Also use
usleep_range instead of legacy timing and relax timing for VCO
calibration just like the vendor driver does.

Several line programming registers were commented out in the patch.
Originally this came from the features present but disabled by default
in the vendor's driver (RTMP_TEMPERATURE_CALIBRATION and
ADJUST_POWER_CONSUMPTION_SUPPORT). Remove the dead code for now, it can
easily be re-added if we actually intend to support those features.

Move values from mt7620_freqconfig type into the existing rf_channel
struct, this shouldn't be a new typedef and it is possible to use the
existing struct because rf_channel got 4 32-bit fields, so two of the
8-bit values from mt7620_freqconfig can easily be stored in the same
32-bit field.

Map values such that
Rdiv -> rf1
N    -> rf2
K    -> rf3[0:7]
D    -> rf3[8:15]
Ksd  -> rf4

This makes the channel switching logic already look a bit more like
what we are used to in rt2x00... Probably many of the read-modify-write
calls could still be replaced by macros intended for that.

iq calibration seems to be identical to RT5592, so just enable it.
Test shows that this improves things quite a lot, datarates went up
by a couple of megabits when running iperf, signal quality seems jumpy
in the first few seconds once a station connencts, the stabelizes on a
value significantly better than what it was before.

Add description to the patch and reference the original OpenWrt commit
by which it was added.

The patch now passes checkpatch.pl and can thus be discussed with the
upstream authors of the rt2x00 driver.

Funded-by: https://www.kickstarter.com/projects/1327597961/better-support-for-mt7620a-n-in-openwrt-lede/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agobrcm2708: bcm2708: fix build
Álvaro Fernández Rojas [Wed, 8 Feb 2017 16:43:40 +0000 (17:43 +0100)]
brcm2708: bcm2708: fix build

buildbot fails to build without regmap, which I couldn't reproduce locally.
Hopefully this fixes it.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agosdk: add missing change from r3328-f55c29e4c7
Felix Fietkau [Wed, 8 Feb 2017 11:01:42 +0000 (12:01 +0100)]
sdk: add missing change from r3328-f55c29e4c7

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoodhcp6c: update to GIT head version
Hans Dedecker [Wed, 8 Feb 2017 10:09:42 +0000 (11:09 +0100)]
odhcp6c: update to GIT head version

cfd986c odhcp6c: fix possible stack corruption when parsing proc if_inet6

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agobrcm2708: add more patches for linux 4.9
Álvaro Fernández Rojas [Wed, 8 Feb 2017 08:10:39 +0000 (09:10 +0100)]
brcm2708: add more patches for linux 4.9

Also removes unneeded wireless patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: bcm2710: add 64 bit support for Raspberry Pi 3
Álvaro Fernández Rojas [Tue, 7 Feb 2017 23:38:21 +0000 (00:38 +0100)]
brcm2708: bcm2710: add 64 bit support for Raspberry Pi 3

64 bit support for Raspberry Pi 3 is experimental. However, bcm2709 subtarget
should serve as a stable and compatible 32 bit support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: bcm2709: add support for Raspberry Pi 3
Álvaro Fernández Rojas [Tue, 7 Feb 2017 23:31:09 +0000 (00:31 +0100)]
brcm2708: bcm2709: add support for Raspberry Pi 3

This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to
keep 32 bit image support when 64 bit support is added on bcm2710 subtarget.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agogeneric: add missing symbols for linux 4.9
Álvaro Fernández Rojas [Tue, 7 Feb 2017 23:26:13 +0000 (00:26 +0100)]
generic: add missing symbols for linux 4.9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agomac80211: brcmfmac: update Raspberry Pi patches for linux 4.9
Álvaro Fernández Rojas [Tue, 7 Feb 2017 22:16:26 +0000 (23:16 +0100)]
mac80211: brcmfmac: update Raspberry Pi patches for linux 4.9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: remove duplicated gzip from image generation
Álvaro Fernández Rojas [Tue, 7 Feb 2017 21:26:11 +0000 (22:26 +0100)]
brcm2708: remove duplicated gzip from image generation

Images are now automatically gziped so remove custom image command

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: remove linux 4.4 support
Álvaro Fernández Rojas [Tue, 7 Feb 2017 21:30:59 +0000 (22:30 +0100)]
brcm2708: remove linux 4.4 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: switch to linux 4.9
Álvaro Fernández Rojas [Tue, 7 Feb 2017 21:24:56 +0000 (22:24 +0100)]
brcm2708: switch to linux 4.9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: add linux 4.9 support
Álvaro Fernández Rojas [Tue, 7 Feb 2017 20:07:54 +0000 (21:07 +0100)]
brcm2708: add linux 4.9 support

Patches from Raspberry Pi repo:
https://github.com/raspberrypi/linux/commits/rpi-4.9.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agokernel: of-mdio: add missing dependency for linux 4.9
Álvaro Fernández Rojas [Tue, 7 Feb 2017 21:53:39 +0000 (22:53 +0100)]
kernel: of-mdio: add missing dependency for linux 4.9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agogeneric: add missing kernel symbols
Álvaro Fernández Rojas [Tue, 7 Feb 2017 20:09:23 +0000 (21:09 +0100)]
generic: add missing kernel symbols

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobcm53xx: include Broadcom PHY driver in the kernel
Rafał Miłecki [Tue, 7 Feb 2017 17:11:17 +0000 (18:11 +0100)]
bcm53xx: include Broadcom PHY driver in the kernel

Initial idea was to use package with this PHY driver for devices that
need it. Unfortunately this can't work as bgmac is built-in and PHY
probing happens before loading modules - it results in PHY subsystem
picking default (generic) PHY driver.

There were two ways of solving this:
1) Making bcm53xx use bgmac as module
xor
2) Built-in Broadcom PHY driver

After some quick discussion it seems we can simply built-in the driver
as increased kenel size is relatively small (1805 B).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agox86: remove linux 4.4 support
Felix Fietkau [Wed, 1 Feb 2017 10:23:43 +0000 (11:23 +0100)]
x86: remove linux 4.4 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: switch to Linux 4.9
Felix Fietkau [Wed, 1 Feb 2017 10:23:21 +0000 (11:23 +0100)]
x86: switch to Linux 4.9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: remove libc version suffix from build/staging directories
Felix Fietkau [Tue, 7 Feb 2017 09:33:10 +0000 (10:33 +0100)]
build: remove libc version suffix from build/staging directories

Our supported libcs are ABI compatible across version upgrades

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotoolchain/gdb: update to version 7.12.1
Etienne Haarsma [Sun, 5 Feb 2017 12:37:52 +0000 (13:37 +0100)]
toolchain/gdb: update to version 7.12.1

Update gdb to version 7.12.1.

GDB 7.12.1 brings the following fixes and enhancements over GDB 7.12:

   * PR tdep/20682 (aarch64 regression: gdb.cp/nextoverthrow.exp)
   * PR server/20733 (Failed to build aarch64_be-linux-gnu GDBserver)
   * PR tdep/20953 (GDB crashes after "set architecture rl78")
   * PR tdep/20954 (GDB crashes if "set architecture rx")
   * PR tdep/20955 (GDB internal error in cris-tdep.c)
   * PR build/20712 (gdb 7.12+ doesn't build as C++ on Solaris)
   * PR breakpoint/20653 (string_to_explicit_location has some weird code)
   * PR build/20753 (MinGW compilation errors due to strcasecmp)
   * PR gdb/20977 (GDB exception handling is broken on i686-w64-mingw32)
   * PR python/21048 (backtrace is broken on i686)
   * PR sim/20808 (mips sim build fails due to undefined SD/CPU variables)
   * PR sim/20809 (mips sim build fails for r3900 cpus)
   * PR gdb/20939 (GDB aborts

Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
7 years agobinutils: remove 2.25.1 support and leftovers of older versions
Felix Fietkau [Mon, 6 Feb 2017 11:31:11 +0000 (12:31 +0100)]
binutils: remove 2.25.1 support and leftovers of older versions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotoolchain/binutils: Switch to 2.27 as default version
Daniel Engberg [Sun, 29 Jan 2017 07:30:56 +0000 (08:30 +0100)]
toolchain/binutils: Switch to 2.27 as default version

Use 2.27 as default which is the current relese.
Makes it easier to get support and submit patches upstream if needed.

Tested on ar71xx, mt7621, kirkwood (arm)

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agokernel: update spi-nor in 4.9 to spi-nor tree version (next branch)
Rafał Miłecki [Tue, 7 Feb 2017 12:09:50 +0000 (13:09 +0100)]
kernel: update spi-nor in 4.9 to spi-nor tree version (next branch)

These are patches queued for 4.11. It adds support for even more hw and
removes some annoying WARN_ONCE.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: update spi-nor in 4.9 to version from Linus's tree (4.10)
Rafał Miłecki [Tue, 7 Feb 2017 11:32:35 +0000 (12:32 +0100)]
kernel: update spi-nor in 4.9 to version from Linus's tree (4.10)

This adds support for more devices.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobrcmfmac: improve Raspberry Pi 3 stability
Álvaro Fernández Rojas [Tue, 7 Feb 2017 13:45:19 +0000 (14:45 +0100)]
brcmfmac: improve Raspberry Pi 3 stability

- Really disable power management (wrong config flags).
- Disable internal roaming engine.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobcm53xx: add missing system.sh include
Rafał Miłecki [Tue, 7 Feb 2017 10:43:49 +0000 (11:43 +0100)]
bcm53xx: add missing system.sh include

It's needed for macaddr_add.

Fixes: 50efd403e67c ("bcm53xx: set WAN MAC address to don't share one with LAN interface")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: fix build error in mtdsplit driver
Koen Vandeputte [Tue, 7 Feb 2017 08:31:35 +0000 (09:31 +0100)]
kernel: fix build error in mtdsplit driver

Add missing parentheses.
Fixes kernel build issue when using this driver.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agocns3xxx: use proper macro's for ID handling
Koen Vandeputte [Mon, 6 Feb 2017 11:11:39 +0000 (12:11 +0100)]
cns3xxx: use proper macro's for ID handling

Compiled & tested on cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agomac80211: fix ath9k kernel crash with linux 4.9
Felix Fietkau [Tue, 7 Feb 2017 10:36:31 +0000 (11:36 +0100)]
mac80211: fix ath9k kernel crash with linux 4.9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx/ipq806x/mediatek/mvebu: fix network defaults
Jo-Philipp Wich [Tue, 7 Feb 2017 07:55:46 +0000 (08:55 +0100)]
ar71xx/ipq806x/mediatek/mvebu: fix network defaults

After "73d923e base-files: emit tagged switch configuration by default"
some default network configurations are broken because the lan and wan
ifnames are forcibly set to untagged netdevs.

Adjust the offending set_interfaces_lan_wan() calls to use the proper
tagged device names.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoarc770: fix broken upstream change
Jo-Philipp Wich [Tue, 7 Feb 2017 08:30:41 +0000 (09:30 +0100)]
arc770: fix broken upstream change

Add a patch to revert upstream commit 9aed02feae57bf7a40cb04ea0e3017cb7a998db4
which introduces syntax errors.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotcpdump: update to version 4.9.0
Hauke Mehrtens [Sun, 5 Feb 2017 12:00:38 +0000 (13:00 +0100)]
tcpdump: update to version 4.9.0

This fixes the following 41 security problems:
 + CVE-2016-7922: buffer overflow in print-ah.c:ah_print().
 + CVE-2016-7923: buffer overflow in print-arp.c:arp_print().
 + CVE-2016-7924: buffer overflow in print-atm.c:oam_print().
 + CVE-2016-7925: buffer overflow in print-sl.c:sl_if_print().
 + CVE-2016-7926: buffer overflow in print-ether.c:ethertype_print().
 + CVE-2016-7927: buffer overflow in print-802_11.c:ieee802_11_radio_print().
 + CVE-2016-7928: buffer overflow in print-ipcomp.c:ipcomp_print().
 + CVE-2016-7929: buffer overflow in print-juniper.c:juniper_parse_header().
 + CVE-2016-7930: buffer overflow in print-llc.c:llc_print().
 + CVE-2016-7931: buffer overflow in print-mpls.c:mpls_print().
 + CVE-2016-7932: buffer overflow in print-pim.c:pimv2_check_checksum().
 + CVE-2016-7933: buffer overflow in print-ppp.c:ppp_hdlc_if_print().
 + CVE-2016-7934: buffer overflow in print-udp.c:rtcp_print().
 + CVE-2016-7935: buffer overflow in print-udp.c:rtp_print().
 + CVE-2016-7936: buffer overflow in print-udp.c:udp_print().
 + CVE-2016-7937: buffer overflow in print-udp.c:vat_print().
 + CVE-2016-7938: integer overflow in print-zeromq.c:zmtp1_print_frame().
 + CVE-2016-7939: buffer overflow in print-gre.c, multiple functions.
 + CVE-2016-7940: buffer overflow in print-stp.c, multiple functions.
 + CVE-2016-7973: buffer overflow in print-atalk.c, multiple functions.
 + CVE-2016-7974: buffer overflow in print-ip.c, multiple functions.
 + CVE-2016-7975: buffer overflow in print-tcp.c:tcp_print().
 + CVE-2016-7983: buffer overflow in print-bootp.c:bootp_print().
 + CVE-2016-7984: buffer overflow in print-tftp.c:tftp_print().
 + CVE-2016-7985: buffer overflow in print-calm-fast.c:calm_fast_print().
 + CVE-2016-7986: buffer overflow in print-geonet.c, multiple functions.
 + CVE-2016-7992: buffer overflow in print-cip.c:cip_if_print().
 + CVE-2016-7993: a bug in util-print.c:relts_print() could cause a
      buffer overflow in multiple protocol parsers (DNS, DVMRP, HSRP, IGMP,
      lightweight resolver protocol, PIM).
 + CVE-2016-8574: buffer overflow in print-fr.c:frf15_print().
 + CVE-2016-8575: buffer overflow in print-fr.c:q933_print().
 + CVE-2017-5202: buffer overflow in print-isoclns.c:clnp_print().
 + CVE-2017-5203: buffer overflow in print-bootp.c:bootp_print().
 + CVE-2017-5204: buffer overflow in print-ip6.c:ip6_print().
 + CVE-2017-5205: buffer overflow in print-isakmp.c:ikev2_e_print().
 + CVE-2017-5341: buffer overflow in print-otv.c:otv_print().
 + CVE-2017-5342: a bug in multiple protocol parsers (Geneve, GRE, NSH,
      OTV, VXLAN and VXLAN GPE) could cause a buffer overflow in
      print-ether.c:ether_print().
 + CVE-2017-5482: buffer overflow in print-fr.c:q933_print().
 + CVE-2017-5483: buffer overflow in print-snmp.c:asn1_parse().
 + CVE-2017-5484: buffer overflow in print-atm.c:sig_print().
 + CVE-2017-5485: buffer overflow in addrtoname.c:lookup_nsap().
 + CVE-2017-5486: buffer overflow in print-isoclns.c:clnp_print().

The size of the package is only incread very little:
new size:
306430 tcpdump_4.9.0-1_mips_24kc.ipk
130324 tcpdump-mini_4.9.0-1_mips_24kc.ipk

old size:
302782 tcpdump_4.8.1-1_mips_24kc.ipk
129033 tcpdump-mini_4.8.1-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agobrcm2708-gpu-fw: update to latest version
Álvaro Fernández Rojas [Mon, 6 Feb 2017 16:17:23 +0000 (17:17 +0100)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobrcm2708: update linux 4.4 patches to latest version
Álvaro Fernández Rojas [Mon, 6 Feb 2017 16:12:09 +0000 (17:12 +0100)]
brcm2708: update linux 4.4 patches to latest version
n
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobcm53xx: set Netgear R8000 USB LEDs
Rafał Miłecki [Mon, 6 Feb 2017 19:23:48 +0000 (20:23 +0100)]
bcm53xx: set Netgear R8000 USB LEDs

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: refresh Linux 4.4 config
Rafał Miłecki [Mon, 6 Feb 2017 16:20:59 +0000 (17:20 +0100)]
bcm53xx: refresh Linux 4.4 config

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: image: use one style of adding TARGET_DEVICES entries
Rafał Miłecki [Mon, 6 Feb 2017 12:58:47 +0000 (13:58 +0100)]
bcm53xx: image: use one style of adding TARGET_DEVICES entries

It just makes code consistent. This trivial change may be a 17.01
candidate to provide simpler backporting experience.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: merge b53 API patch with the one handling all switch drivers
Rafał Miłecki [Mon, 6 Feb 2017 12:39:19 +0000 (13:39 +0100)]
kernel: merge b53 API patch with the one handling all switch drivers

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agoRevert "uClibc-ng: update to 1.0.21"
Jo-Philipp Wich [Mon, 6 Feb 2017 12:02:51 +0000 (13:02 +0100)]
Revert "uClibc-ng: update to 1.0.21"

This reverts commit dde5c729ec92cbb11cf6367d93887e634b0ac756.

The uClibc update was completely untested, does not build with Kernel 4.4 and
did not adjust the configuration to predeclare new config symbols.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agomac80211: update to wireless-testing 2017-01-31
Felix Fietkau [Thu, 2 Feb 2017 11:02:22 +0000 (12:02 +0100)]
mac80211: update to wireless-testing 2017-01-31

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add missing config symbols for 4.9
Felix Fietkau [Mon, 6 Feb 2017 10:46:16 +0000 (11:46 +0100)]
kernel: add missing config symbols for 4.9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: fix crashlog build error on 4.9
Felix Fietkau [Mon, 6 Feb 2017 10:41:23 +0000 (11:41 +0100)]
kernel: fix crashlog build error on 4.9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add compile fix for linux 4.9 on x86
Felix Fietkau [Mon, 6 Feb 2017 09:35:19 +0000 (10:35 +0100)]
kernel: add compile fix for linux 4.9 on x86

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: port b53 to use kernel 4.5+ API
Rafał Miłecki [Mon, 6 Feb 2017 10:28:54 +0000 (11:28 +0100)]
kernel: port b53 to use kernel 4.5+ API

For backward 4.4 compatibility I added patch reverting my changes.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: move bcm47xx_sprom driver to 4.4 specific directory
Rafał Miłecki [Mon, 6 Feb 2017 09:18:20 +0000 (10:18 +0100)]
bcm53xx: move bcm47xx_sprom driver to 4.4 specific directory

In kernel 4.9 it's already present so we don't want to overwite it (with
older & API incompatible version).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: add Linux 4.9 patches
Rafał Miłecki [Mon, 6 Feb 2017 09:06:44 +0000 (10:06 +0100)]
bcm53xx: add Linux 4.9 patches

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: backport upstream DTS files for Linksys devices
Rafał Miłecki [Mon, 6 Feb 2017 07:43:01 +0000 (08:43 +0100)]
bcm53xx: backport upstream DTS files for Linksys devices

We dont't build officialy images for them yet due to partitioning
issues.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: update kernel 4.4 to version 4.4.47
Stijn Tintel [Mon, 6 Feb 2017 01:47:54 +0000 (02:47 +0100)]
kernel: update kernel 4.4 to version 4.4.47

Refresh patches for all targets that support kernel 4.4.
Compile-tested on all targets that use kernel 4.4 and aren't marked
broken, except arc770 and arch38 due to broken toolchain.

Runtime-tested on ar71xx, octeon, ramips and x86/64.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agodnsmasq: update to dnsmasq 2.77test1
Kevin Darbyshire-Bryant [Thu, 2 Feb 2017 16:07:03 +0000 (16:07 +0000)]
dnsmasq: update to dnsmasq 2.77test1

Bump to dnsmasq 2.77test1 - this includes a number of fixes since 2.76
and allows dropping of 2 LEDE carried patches.

Notable fix in rrfilter code when talking to Nominum's DNS servers
especially with DNSSEC.

A patch to switch dnsmasq back to 'soft fail' for SERVFAIL responses
from dns servers is also included.  This mean dnsmasq tries all
configured servers before giving up.

A 'localise queries' enhancement has also been backported (it will
appear in test2/rc'n') this is especially important if using the
recently imported to LEDE 'use dnsmasq standalone' feature 9525743c

I have been following dnsmasq HEAD ever since 2.76 release.
Compile & Run tested: ar71xx, Archer C7 v2

Tested-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agodnsmasq: fix instances in dhcp_add()
Eric Luehrsen [Sat, 4 Feb 2017 06:51:59 +0000 (01:51 -0500)]
dnsmasq: fix instances in dhcp_add()

ref commit 9525743c076393336cd2129539c974f8a01c7894
dnsmasq: make DHCPv6 viable for standalone dnsmasq install
Above commit broke instancing by missing filter_dnsmasq()
as part of the dhcp_add() execution.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoramips: add support for Sanlinking D240
Kristian Evensen [Sat, 4 Feb 2017 20:28:52 +0000 (21:28 +0100)]
ramips: add support for Sanlinking D240

The Sanlinking Technologies D240
(http://www.sanlinking.com/en/29-dual-4g-wifi-router.html) is basically the same
device as the ZBT WE826, so adding support for it in LEDE is straight forward.
The differences is that the D240 has two mini-PCIe slots (instead of one), blue
LEDs and supports PoE.

Specification:
* CPU: MT7620A
* 1x 10/100Mbps POE (802.3af/802.3at) Ethernet, 4x 10/100Mbps.
* 16 MB Flash.
* 128 MB RAM.
* 1x USB 2.0 port.
* 2x mini-PCIe slots.
* 2x SIM slots.
* 1x 2.4Ghz WIFI.
* 1x button.

Wifi, USB, switch and both mini-PCIe slots are working. I have not been able to
test the SD card reader.

The device comes pre-installed with an older version of OpenWRT, including Luci.
In order to install LEDE, you need to follow the existing procedure for updating
OpenWRT/LEDE using Luci. I.e., you need to access the UI and update the firmware
using the sysupgrade-image. Remember to select that you do not want to keep
existing settings. The default router address is 192.168.10.1 and
username/password admin/root (at least on my devices).

If you brick the device, the procedure for recovery is the same as for the
WE826. Please see the wiki page for that device for instructions.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
7 years agobuild: add missing wildcard for ignoring .pkgdir in dependency checks
Felix Fietkau [Sun, 5 Feb 2017 21:17:24 +0000 (22:17 +0100)]
build: add missing wildcard for ignoring .pkgdir in dependency checks

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agodnsmasq: honor quietdhcp option for DHCPv6
Arjen de Korte [Fri, 3 Feb 2017 10:13:59 +0000 (11:13 +0100)]
dnsmasq: honor quietdhcp option for DHCPv6

Do not spam the syslog with DHCPv6 lease info if quietdhcp option
is selected. This already works for DHCPv4, make it work in the same
way for DHCPv6.

Signed-off-by: Arjen de Korte <build+lede@de-korte.org>
[Originally written by Arjen de Korte on GitHub but had issues providing
a SoB in correct format.]
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agokernel: add linux 4.9 support
Felix Fietkau [Fri, 27 Jan 2017 13:32:10 +0000 (14:32 +0100)]
kernel: add linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixes]
7 years agobuild: centralize fakeroot code
Joseph C. Lehner [Fri, 27 Jan 2017 15:10:40 +0000 (16:10 +0100)]
build: centralize fakeroot code

This patch moves the fakeroot code required by some devices to
`image-commands.mk`.

Create the fakeroot on the fly by using the undocumented -s (skip copy)
parameter of mkimage.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
[remove unused NETGEAR_KERNEL_MAGIC, remove workarounds to have a dummy
rootfs for mkimage]
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix Airlink AR725W device title
Mathias Kresin [Sat, 4 Feb 2017 11:55:16 +0000 (12:55 +0100)]
ramips: fix Airlink AR725W device title

Gemtek is the ODM but the board was sold by Airlink101.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix Airlink AR725W factory image build
Mathias Kresin [Sat, 4 Feb 2017 10:02:36 +0000 (11:02 +0100)]
ramips: fix Airlink AR725W factory image build

The factory image can't be bigger than 3328 KByte. If the image is
bigger than that, the gemtek-header tool throws an error and breaks
the build.

Make sure the output file to which the gemtek header should be added
exists and wasn't removed during the check-size step because of it
size. This will prevent hard errors in case the factory image is to big
similar to what is done for sysupgrade images.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoubus: update to the latest version
Felix Fietkau [Sat, 4 Feb 2017 09:42:06 +0000 (10:42 +0100)]
ubus: update to the latest version

Adds the following fixes:

91acde6 libubus: do not modify uloop_cancelled
763b9b2 libubus: reset ctx->sock.eof to fix reconnect issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agolibubox: update to the latest version
Felix Fietkau [Fri, 3 Feb 2017 15:54:46 +0000 (16:54 +0100)]
libubox: update to the latest version

Adds the following changes:

de3f14b uloop: add uloop_cancelling function
3b6181b utils: fix build on Mac OS X 10.12
7f671b1 blobmsg: add support for double
0fe1374 utils: add helper functions useful for allocating a ring buffer
8fc1c30 libubox: replace strtok with _r version.
4a9f74f libubox: allow reading out the pid of uloop process in lua
372e1e6 uloop: remove useless epoll data assignment
f9db1cb libubox: allow reading out the remaining time of a uloop timer in Lua

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomt76: update to the latest version, fixes a MAC address handling regression
Felix Fietkau [Fri, 3 Feb 2017 13:27:19 +0000 (14:27 +0100)]
mt76: update to the latest version, fixes a MAC address handling regression

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoipq806x: fix wireless macs
Hannu Nyman [Fri, 3 Feb 2017 13:10:57 +0000 (15:10 +0200)]
ipq806x: fix wireless macs

Commit 71a39b8 ("ipq806x: Fix wireless support for Netgear Nighthawk X4S
D7800") added a trailing TAB char after the backslash which prevents
the assignment of the correct MACs for wifi devices.

Fixes: FS#451
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
[reworded commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agokernel: update phy drivers for 4.9
Felix Fietkau [Thu, 2 Feb 2017 13:36:50 +0000 (14:36 +0100)]
kernel: update phy drivers for 4.9

add backport patches for older kernels

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: update mtdsplit for linux 4.9
Felix Fietkau [Wed, 1 Feb 2017 07:06:10 +0000 (08:06 +0100)]
kernel: update mtdsplit for linux 4.9

add backport patches for older kernels

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoacx-mac80211: fix scan API error that could lead to a crash
Felix Fietkau [Fri, 27 Jan 2017 10:11:00 +0000 (11:11 +0100)]
acx-mac80211: fix scan API error that could lead to a crash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobcm53xx: set WAN MAC address to don't share one with LAN interface
Rafał Miłecki [Wed, 1 Feb 2017 15:45:19 +0000 (16:45 +0100)]
bcm53xx: set WAN MAC address to don't share one with LAN interface

After analyzing numerous NVRAMs and vendor firmwares it seems the base
MAC address is used for LAN interface. WAN interface has different one
which sometimes is set directly in NVRAM and sometines needs to be
calculated.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agoar71xx: image: fix DEVICE_TITLE for several devices
Piotr Dymacz [Tue, 31 Jan 2017 21:26:39 +0000 (22:26 +0100)]
ar71xx: image: fix DEVICE_TITLE for several devices

Be consistent with form and format of the vendor names.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoar71xx: fix indentation in Kconfig.openwrt
Piotr Dymacz [Sun, 29 Jan 2017 13:32:19 +0000 (14:32 +0100)]
ar71xx: fix indentation in Kconfig.openwrt

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoar71xx: drop help sections from Kconfig.openwrt
Piotr Dymacz [Sun, 29 Jan 2017 13:27:57 +0000 (14:27 +0100)]
ar71xx: drop help sections from Kconfig.openwrt

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoar71xx: fix up mikrotik subtarget kernel config
Piotr Dymacz [Fri, 27 Jan 2017 20:39:31 +0000 (21:39 +0100)]
ar71xx: fix up mikrotik subtarget kernel config

Disable all devices which do not belong to the mikrotik subtarget.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoar71xx: fix up nand subtarget kernel config
Piotr Dymacz [Fri, 27 Jan 2017 15:42:37 +0000 (16:42 +0100)]
ar71xx: fix up nand subtarget kernel config

Disable all devices which do not belong to the nand subtarget.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agoar71xx: select ATH79_NVRAM only by boards actually use it
Piotr Dymacz [Fri, 27 Jan 2017 14:50:35 +0000 (15:50 +0100)]
ar71xx: select ATH79_NVRAM only by boards actually use it

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years agort5350: added pcm interface in .dtsi
Giuseppe Lippolis [Sun, 29 Jan 2017 19:39:40 +0000 (20:39 +0100)]
rt5350: added pcm interface in .dtsi

Added the missing audio pcm interface in the .dtsi file for the rt5350
device. The update has been verified from the data get from the datasheet
and is very similar to the mt7620a.dtsi

Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
7 years agoopenvpn: adding key_direction to append_params.
Brandon Koepke [Thu, 2 Feb 2017 17:51:05 +0000 (09:51 -0800)]
openvpn: adding key_direction to append_params.

key_direction shows up as an openvpn option in the user-interface but does not end up in the /var/etc/openvpn*.conf file. Adding it to the list here fixed the issue for me.

Signed-off-by: Brandon Koepke <bdkoepke@fastmail.com>
7 years agogeneric: rtl8366rb: fix compatible string
Mathias Kresin [Thu, 2 Feb 2017 21:42:25 +0000 (22:42 +0100)]
generic: rtl8366rb: fix compatible string

Use a vendor prefix as it has to be for all not core driver. Update the
compatible string in the device tree files accordingly.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix Sercomm NA930 compatible string
Mathias Kresin [Thu, 2 Feb 2017 21:35:59 +0000 (22:35 +0100)]
ramips: fix Sercomm NA930 compatible string

The Sercomm NA930 is not a mt7620a evaluation board and shouldn't use
the eval board compatible string.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: remove Planex CS-QR10 sound device tree node
Mathias Kresin [Thu, 2 Feb 2017 21:34:53 +0000 (22:34 +0100)]
ramips: remove Planex CS-QR10 sound device tree node

The comptible string is neither added by any LEDE patch nor exists in
in the kernel. Drop the sound node which was obviously added
accidentally with 9195d8da ("ramips: DTS rework").

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: cleanup SPI flash device tree properties usage
Mathias Kresin [Thu, 2 Feb 2017 21:11:23 +0000 (22:11 +0100)]
ramips: cleanup SPI flash device tree properties usage

Use only the jedec,spi-nor compatible string. Everything else either
never worked or is only support to keep compatibility.

Remove the linux,modalias property. It is obsolete since kernel 4.4.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agogeneric: mtd: update settings of mx25u3235f
André Valentin [Wed, 1 Feb 2017 21:08:51 +0000 (22:08 +0100)]
generic: mtd: update settings of mx25u3235f

This patch enabled 4K, dual and quad read. Settings have been verified with
a real device.

Signed-off-by: André Valentin <avalentin@marcant.net>
7 years agoipq806x: fixup nbg6817 internal mmc and switch configuration in DTS
André Valentin [Thu, 2 Feb 2017 11:05:32 +0000 (12:05 +0100)]
ipq806x: fixup nbg6817 internal mmc and switch configuration in DTS

The setting mmc-ddr-1_8v in the platform dts leads to read errors. The
device is unusable and system reboots in a loop. Because NBG6817 is the
only mmc device, I removed it in base dts.

The second change removes settings now present in base dts.

The third change references was a wrong conversion of constants in the switch settings.
Switch now initializes again.

Signed-off-by: André Valentin <avalentin@marcant.net>
7 years agokernel: bump to 4.4.46
Koen Vandeputte [Wed, 1 Feb 2017 16:02:21 +0000 (17:02 +0100)]
kernel: bump to 4.4.46

Refreshed patches for all supported targets.

Compile-tested on ar71xx, cns3xxx, imx6, mt7621, oxnas and x86/64.
Run-tested on ar71xx, cns3xxx, imx6 and mt7621.

Tested-by: Stijn Segers <francesco.borromini@inventati.org>
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agoubox: support quiet modprobe, support millisecond log timestamp accuracy
Jo-Philipp Wich [Thu, 2 Feb 2017 17:30:25 +0000 (18:30 +0100)]
ubox: support quiet modprobe, support millisecond log timestamp accuracy

Update ubox to latest Git HEAD in order to import the following fixes:

ac2d43e kmodloader: support '-q' quiet option
f8d3d16 ubox: Add an option for more accurate timestamps in log

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoath9k: add a warning to the tx99 config option
Felix Fietkau [Thu, 2 Feb 2017 11:25:01 +0000 (12:25 +0100)]
ath9k: add a warning to the tx99 config option

Lots of users try random stuff when they encounter any kind of
difficulty. I've had to debug a number of cases where people had enabled
this option for no reason. Hopefully this warning will reduce the number
of useless support cases.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: brcmfmac: backport wowlan netdetect fixes
Rafał Miłecki [Thu, 2 Feb 2017 10:23:17 +0000 (11:23 +0100)]
mac80211: brcmfmac: backport wowlan netdetect fixes

I needed a moment to figure out relation between this patchset and the
nl80211: fix validation of scheduled scan info for wowlan netdetect

It appears nl80211 commit will go on top of brcmfmac changes so it's
safe to backport these patches.

One patch that was excluded is commit 2a2a5d1835b6 ("brcmfmac: add
.update_connect_params() callback") as it depends on missing commit
088e8df82f91 ("cfg80211: Add support to update connection parameters").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: brcmfmac: backport PSM watchdog improvements
Rafał Miłecki [Thu, 2 Feb 2017 09:04:57 +0000 (10:04 +0100)]
mac80211: brcmfmac: backport PSM watchdog improvements

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: brcmfmac: backport minor code cleanups
Rafał Miłecki [Thu, 2 Feb 2017 08:59:05 +0000 (09:59 +0100)]
mac80211: brcmfmac: backport minor code cleanups

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: brcmfmac: backport 4.10 fixes & typo fix
Rafał Miłecki [Thu, 2 Feb 2017 08:29:21 +0000 (09:29 +0100)]
mac80211: brcmfmac: backport 4.10 fixes & typo fix

This includes memory leak fix in initialization path.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: brcmfmac: backport scheduled scan cleanup and chip support
Rafał Miłecki [Thu, 2 Feb 2017 08:27:20 +0000 (09:27 +0100)]
mac80211: brcmfmac: backport scheduled scan cleanup and chip support

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: brcmfmac: backport some old patches from 2016
Rafał Miłecki [Thu, 2 Feb 2017 08:21:13 +0000 (09:21 +0100)]
mac80211: brcmfmac: backport some old patches from 2016

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: rename brcmfmac patches to use higher prefix
Rafał Miłecki [Thu, 2 Feb 2017 08:39:31 +0000 (09:39 +0100)]
mac80211: rename brcmfmac patches to use higher prefix

There are more patches to backport that should go before these.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agoccache, samba36: fix samba.org addresses to use https
Hannu Nyman [Wed, 1 Feb 2017 21:17:37 +0000 (23:17 +0200)]
ccache, samba36: fix samba.org addresses to use https

samba.org has started to enforce https and
currently plain http downloads with curl/wget fail,
so convert samba.org download links to use https.

Modernise links at the same time.

Also convert samba.org URL fields to have https.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoscripts: get_source_date_epoch.sh: fix mercurial support, add mtime fallback
Jo-Philipp Wich [Tue, 31 Jan 2017 06:50:29 +0000 (07:50 +0100)]
scripts: get_source_date_epoch.sh: fix mercurial support, add mtime fallback

Add a fallback case to get_source_date_epoch.sh which reports the modification
time of the script itself in case there is no SCM information available, e.g.
when downloading .tar.gz or .zip tarballs produced by Github.

Also fix the mercurial case while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agodnsmasq: make DHCPv6 viable for standalone dnsmasq install
Eric Luehrsen [Thu, 22 Dec 2016 18:20:25 +0000 (13:20 -0500)]
dnsmasq: make DHCPv6 viable for standalone dnsmasq install

dnsmasq has sufficient services to meet the needs of DHCP
and RA with IP6 for single router router users. This is
the most common use for consumer routers. Its reenforced
as most ISP tend to only DHCP-PD /64. dnsmasq has year
over year demonstrated great flexibility in its option
set, and support for off-standard DHCP clients.

odhcpd has enhanced capabilities focused on IP6 such
as DHCP/RA relay and NDP proxy. However, it is not as
flexible in its option set. odhcpd is not as forgiving
with off-standard DHCP clients. Some points may represent
a long term TODO list, but it is the state currently.

These changes make any such combination possible. Already
odhcpd can be set as the main dhcp server. Now odhcpd
can be removed or disabled and dnsmasq will take over
if DHCPv6 compiled in. The existing DHCPv6 and RA UCI
are translated into dnsmasq.conf. The changes focus on
'--dhcp-range', '--dhcp-host', and '--dhcp-options'.

DHCP host ID is least 16 bits [::1000-::FFFF], but
leaves low range for typical infrastructure assignments.
dnsmasq accepts DHCPv6 options in the tranditional
'--dhcp-option' put they must be prefixed 'option6:'.
dnsmasq will also discover SLAAC DNS entries from DHCPv4
clients MAC, and confirm with a ping at least renew.

Long term TODO include improving use of dnsmasq relay
options for DHCPv4 and DHCPv6 in parallel. It would also
be possible to preconfigure DHCP-PD in host-with-options
records for fixed infrastructure.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
[Jo-Philipp Wich: emit proper IPv6 hostid format in dhcp-host directive]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>