openwrt/staging/lynxis.git
7 years agonet: uqmi: fix blocking in endless loops when unplugging device
Alexandru Ardelean [Fri, 29 Sep 2017 13:35:30 +0000 (16:35 +0300)]
net: uqmi: fix blocking in endless loops when unplugging device

If you unplug a QMI device, the /dev/cdc-wdmX device
disappears but uqmi will continue to poll it endlessly.

Then, when you plug it back, you have 2 uqmi processes,
and that's bad, because 2 processes talking QMI to the
same device [and the same time] doesn't seem to work well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agoconntrack-tools: switch to git
Stijn Tintel [Wed, 20 Sep 2017 12:58:54 +0000 (15:58 +0300)]
conntrack-tools: switch to git

There have been a number of interesting fixes in conntrack-tools since
the current latest release. Most notable is that this fixes IPv6
conntrack table syncing when cross-compiling conntrack-tools.

7e7748d src/main: refresh help message
fe32043 conntrackd.8: refresh file
47a4dda conntrackd.8: add reference to systemd
0cfe7ff doc/manual: include some bits about init systems
74a418b conntrackd: cthelper: ftp: Set match offset/len for PORT mangling
d833bed conntrackd: cthelper: ftp: Fix debug print
dd4b5a1 conntrackd: cthelper: Add new mdns helper
498d698 Link nfct and helper modules with `-z lazy`
9e94e85 sync-mode: print errno message on failure
ab81c35 log: print messages to stdout/sderr if running in console mode
631d92b log: introduce a mechanism to know if log was initialized
ccb1c8b conntrackd: replace error reporting in the config parser with dlog()
bee121e conntrackd: replace fprintf calls with dlog()
5a51b04 conntrack-tools: update Arturo Borrero Gonzalez email address
abb9984 helper: remove copy and paste from uapi kernel header
a91a004 src: add log message when resync is requested by other node
c2d8be1 systemd: fix missing log.h include
f6ca216 config: drop old/obsolete/deprecated conntrackd.conf config options
8b83771 conntrack: send mark filter to kernel iff set
1ba5e76 conntrackd: cthelper: Don't leak nat_tuple
832166d conntrackd: cthelper: Free pktb after use
ff843bc conntrackd: config: Do not strdup() tokens
b61c454 conntrackd: cthelper: ssdp: Track UPnP eventing
8ea394e conntrackd: Remove obsolete rule to catch ambiguous Checksum option
39398cd conntrackd: CommitTimeout breaks DisableExternalCache set On
29b390a conntrack: Support IPv6 NAT
381827a conntrackd: factorice tx_queue functions
131df89 conntrackd: factorize resync operations
d31bacc conntrackd: consolidate more code to use resync_send()
3d98496 conntrackd: request resync at startup
ef410bf conntrackd: remove use of HAVE_INET_PTON_IPV6
9d38445 conntrackd: evaluate configuration earlier
6feded7 conntrackd: cleanup if failed forking
dbfdea7 conntrackd: deprecate unix backlog configuration
210f542 conntrackd: make the daemon run in RT mode by default
37cc7f0 conntrackd: remove warning for -S
d2849d1 conntrack: Show multiple CPUs stats from proc
bc0b49a conntrackd: cthelper: ssdp: fix build with musl
0c77a25 tests: don't fail on modprobe since the driver might be built-in
eefe649 conntrack.8: refresh manpage

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agolibnetfilter_conntrack: switch to git
Stijn Tintel [Wed, 20 Sep 2017 12:54:30 +0000 (15:54 +0300)]
libnetfilter_conntrack: switch to git

In order to build conntrack-tools from git, a newer version of
libnetfilter_conntrack is required. As 1.0.6 is currently the latest
release, switch to git.

b0a7cf7 include: expose a copy of nf_conntrack_common.h
f68f7b3 conntrack: fix missing break in setobjopt_undo_dnat()
79dac5a conntrack: revert getobjopt_is_nat() condition
b266523 libnetfilter_conntrack: bump version to 1.0.7
e870432 labels: don't crash on NULL labelmap

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agolibnetfilter_queue: bump to git HEAD
Stijn Tintel [Sun, 8 Oct 2017 18:46:44 +0000 (21:46 +0300)]
libnetfilter_queue: bump to git HEAD

b39cac7 src: Correct typo in the location of internal.h in #include
58cb066 src: Declare the define visibility attribute together
e84b559 Revert "src: Declare the define visibility attribute together"
003c2b1 examples: set dummy connmark value to show use of NFQA_CT nested attribute
63973da doc: extend the doxygen section about NFQA_CFG_F_GSO
d7f74c7 build: bump version to 1.0.3
3f9eb57 build: bump library release version too
601abd1 doc: Add information about retrieving UID/GID/SECCTX fields

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agomediatek: fix a sleep while atomic bug inside the ethernet driver
John Crispin [Mon, 9 Oct 2017 09:29:01 +0000 (11:29 +0200)]
mediatek: fix a sleep while atomic bug inside the ethernet driver

this sometimes happens when we have hw nat enabled.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agotreewide: switch git.netfilter.org to HTTPS
Stijn Tintel [Sun, 8 Oct 2017 18:09:46 +0000 (21:09 +0300)]
treewide: switch git.netfilter.org to HTTPS

As git.netfilter.org seems to support HTTPS, use that instead of HTTP
which is insecure, or GIT which is blocked on many corporate networks.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agoipset-dns: bump to git HEAD
Stijn Tintel [Sun, 8 Oct 2017 15:03:29 +0000 (18:03 +0300)]
ipset-dns: bump to git HEAD

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agokernel: bump 4.9 to 4.9.54
Stijn Tintel [Sun, 8 Oct 2017 14:56:59 +0000 (17:56 +0300)]
kernel: bump 4.9 to 4.9.54

Refresh patches.
Remove upstreamed patches:
- ramips/0067-enable-mt7621-xhci.patch
- ramips/0085-pinmux-util.patch
- ramips/301-fix-rt3883.patch

Compile-tested on brcm2708/bcm2708, octeon, ramips/mt7621, x86/64.
Runtime-tested on brcm2708/bcm2708, octeon, ramips/mt7621, x86/64.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agokernel: bump 4.4 to 4.4.91
Kevin Darbyshire-Bryant [Sun, 8 Oct 2017 11:41:52 +0000 (12:41 +0100)]
kernel: bump 4.4 to 4.4.91

Refresh patches.

Compile-tested for: ar71xx Archer C7 v2
Run-tested on: ar71xx Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
7 years agosunxi: build image for the NanoPi NEO
Daniel Golle [Wed, 20 Sep 2017 17:32:01 +0000 (19:32 +0200)]
sunxi: build image for the NanoPi NEO

The NanoPi NEO is a small Allwinner H3 based board available with
different DRAM configurations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agosunxi: kernel: add patches for NanoPi NEO
Daniel Golle [Tue, 26 Sep 2017 18:05:31 +0000 (20:05 +0200)]
sunxi: kernel: add patches for NanoPi NEO

Enable dwmac-sun8i Ethernet core to use the built-in FastEthernet port.
Enable exposed UART, USB and I2C pins.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agouboot-sunxi: build for NanoPi NEO
Daniel Golle [Sat, 23 Sep 2017 00:47:19 +0000 (02:47 +0200)]
uboot-sunxi: build for NanoPi NEO

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agolayerscape: refresh patches
Stijn Tintel [Sun, 8 Oct 2017 13:34:37 +0000 (16:34 +0300)]
layerscape: refresh patches

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agokernel: update and refresh patches
Stijn Tintel [Thu, 28 Sep 2017 07:08:59 +0000 (10:08 +0300)]
kernel: update and refresh patches

The lantiq patch 0028-NET-lantiq-various-etop-fixes.patch and sunxi
patch 0051-stmmac-form-4-11.patch no longer applied after applying the
the "generalize napi_complete_done()" patch.
Update them so they apply, and refresh patches while at it.

Fixes: 9aeb7ce8dc5 ("generic: net: generalize napi_complete_done")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agogeneric: net: generalize napi_complete_done
Pavel Kubelun [Thu, 7 Sep 2017 09:52:43 +0000 (05:52 -0400)]
generic: net: generalize napi_complete_done

Backport upstream commit that improves ethernet performance by a
small amount.

Compile and run tested on ipq8065.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
7 years agogeneric: net: tcp: backport tcp tx performance patches
Pavel Kubelun [Tue, 25 Jul 2017 07:57:31 +0000 (03:57 -0400)]
generic: net: tcp: backport tcp tx performance patches

An overall throughput gain of 22 % for heavy TCP use over a single TX queue.

Original patchset comment
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.13&id=3f4888adae7c1619b990d98a9b967536f71822b8

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
7 years agokernel: split 82574L patch into multiple files
Stijn Tintel [Sun, 8 Oct 2017 11:58:59 +0000 (14:58 +0300)]
kernel: split 82574L patch into multiple files

When refreshing patches that cointain multiple patches including headers
in a single file, quilt will remove the headers from all but the first
patch. This makes it difficult to review commits that refresh patches.
Next to that, if only a few of the patch series are accepted in -stable,
the patch needs to be manually modified. With each patch in a separate
file, it's just a matter of git rm.

Refresh patches while at it.

Patchwork links:
[1/5] https://patchwork.kernel.org/patch/9857487/
[2/5] https://patchwork.kernel.org/patch/9857489/
[3/5] https://patchwork.kernel.org/patch/9857495/
[4/5] https://patchwork.kernel.org/patch/9857491/
[5/5] https://patchwork.kernel.org/patch/9857493/

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agokernel: Add some more generic config options
Hauke Mehrtens [Sun, 8 Oct 2017 10:40:26 +0000 (12:40 +0200)]
kernel: Add some more generic config options

These options are deactivating some kernel modules for IP blocks not
uses on this SoC. I saw the same when working with the ARM64 Marvell
board so it is better to move them to generic.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agolayerscape: remove wifi config
Hauke Mehrtens [Sun, 8 Oct 2017 10:33:59 +0000 (12:33 +0200)]
layerscape: remove wifi config

This is provided by the mac80211 package

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agokernel: add missing config options for layerscape target
Hauke Mehrtens [Sun, 8 Oct 2017 10:27:23 +0000 (12:27 +0200)]
kernel: add missing config options for layerscape target

This fixes some problems found by build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agoar71xx: Fix NULL pointer dereferece in at803x_link_change_notify()
Andrey Jr. Melnikov [Sat, 7 Oct 2017 21:00:28 +0000 (00:00 +0300)]
ar71xx: Fix NULL pointer dereferece in at803x_link_change_notify()

Check pdata pointer before use to avoid OOPS if dev_get_platdata() return
NULL.

Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
7 years agolayerscape: select sdk dts for ls1043ardb/ls1046ardb
Yangbo Lu [Mon, 4 Sep 2017 06:29:17 +0000 (14:29 +0800)]
layerscape: select sdk dts for ls1043ardb/ls1046ardb

ls1043ardb/ls1046ardb should use sdk dts. This patch is
to fix this.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: fix CPU_TYPE for armv8_32b targets
Yangbo Lu [Mon, 4 Sep 2017 05:53:38 +0000 (13:53 +0800)]
layerscape: fix CPU_TYPE for armv8_32b targets

Layerscape uses Cortex-A53 or Cortex-A72 CPU. It's proper
to set below CPU_TYPE for 32-bit mode.
CPU_TYPE:=cortex-a15
CPU_SUBTYPE:=neon-vfpv4

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: add linux 4.9 support
Yangbo Lu [Wed, 27 Sep 2017 07:31:31 +0000 (15:31 +0800)]
layerscape: add linux 4.9 support

This patch is to add linux 4.9 support for layerscape.
All these kernel patches are from NXP LSDK 1709 release.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: drop linux 4.4 support
Yangbo Lu [Fri, 22 Sep 2017 07:57:12 +0000 (15:57 +0800)]
layerscape: drop linux 4.4 support

This patch is to drop linux 4.4 for layerscape.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: make uImage with zImage for 32-bit kernel
Yangbo Lu [Mon, 4 Sep 2017 05:42:49 +0000 (13:42 +0800)]
layerscape: make uImage with zImage for 32-bit kernel

uImage should be made with zImage. This patch is to support
making uImage with zImage.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: update memory layout according to LSDK
Yangbo Lu [Tue, 4 Jul 2017 09:46:52 +0000 (17:46 +0800)]
layerscape: update memory layout according to LSDK

The uniform memory layout of NOR/QSPI/NAND/SD media on all Layerscape platforms:
+-----------------------------+---------|--------------|-----------------+
|Firmwre Definition           | MaxSize | Flash Offset | SD Start Block #|
|-----------------------------|---------|--------------|-----------------|
|RCW+PBI                      | 1MB     | 0x00000000   | 0x00008         |
|-----------------------------|---------|--------------|-----------------|
|Boot firmware(U-Boot,UEFI)   | 2MB     | 0x00100000   | 0x00800         |
|-----------------------------|---------|--------------|-----------------|
|Boot firmware Environment    | 1MB     | 0x00300000   | 0x01800         |
|-----------------------------|---------|--------------|-----------------|
|PPA firmware                 | 2MB     | 0x00400000   | 0x02000         |
|-----------------------------|---------|--------------|-----------------|
|Secure boot headers          | 3MB     | 0x00600000   | 0x03000         |
|-----------------------------|---------|--------------|-----------------|
|DPAA1 FMAN ucode             | 256KB   | 0x00900000   | 0x04800         |
|-----------------------------|---------|--------------|-----------------|
|QE/uQE firmware              | 256KB   | 0x00940000   | 0x04A00         |
|-----------------------------|---------|--------------|-----------------|
|Ethernet PHY firmware        | 256KB   | 0x00980000   | 0x04C00         |
|-----------------------------|---------|--------------|-----------------|
|Scripts                      | 256KB   | 0x009C0000   | 0x04E00         |
|-----------------------------|---------|--------------|-----------------|
|DPAA2 MC firmware            | 3MB     | 0x00A00000   | 0x05000         |
|-----------------------------|---------|--------------|-----------------|
|DPAA2 DPL                    | 1MB     | 0x00D00000   | 0x06800         |
|-----------------------------|---------|--------------|-----------------|
|DPAA2 DPC                    | 1MB     | 0x00E00000   | 0x07000         |
|-----------------------------|---------|--------------|-----------------|
|Device tree(needed by uefi)  | 1MB     | 0x00F00000   | 0x07800         |
|-------------+---------------|---------|--------------|-----------------|
|Kernel       |               | 16MB    | 0x01000000   | 0x08000         |
|-------------| kernel.itb    |---------|--------------|-----------------|
|Ramdisk rfs  |               |32MB     | 0x01100000   | 0x08800         |
+-------------+---------------+---------|--------------|-----------------+

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: update packages with LSDK git trees
Yangbo Lu [Mon, 3 Jul 2017 02:48:27 +0000 (10:48 +0800)]
layerscape: update packages with LSDK git trees

NXP Layerscape LSDK had set up its own open source web site
and github for release.

https://lsdk.github.io
https://github.com/qoriq-open-source

This patch is to update rcw/fman_ucode/u-boot packages with LSDK
git trees. Also add some patches of packages to support LEDE.
Since ARMv8 32-bit u-boot images are same with ARMv8 64-bit images
but 64-bit toolchain couldn't be used for 32-bit targets, we still
use a private tree for ARMv8 32-bit u-boot images. This is in plan
to move this private tree to NXP Layerscape github.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: rename subtargets and update makefile files
Yangbo Lu [Thu, 29 Jun 2017 03:19:07 +0000 (11:19 +0800)]
layerscape: rename subtargets and update makefile files

Rename subtargets 32b/64b with armv8_32b/armv8_64b which are
more proper, and update makefile files. There also will be other
subtargets added in the future, like armv7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agolayerscape: take over maintainership
Yangbo Lu [Thu, 29 Jun 2017 02:44:44 +0000 (10:44 +0800)]
layerscape: take over maintainership

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
7 years agokernel: fix receiver overflow for 82574L under load
Philip Prindeville [Sat, 12 Aug 2017 00:59:52 +0000 (18:59 -0600)]
kernel: fix receiver overflow for 82574L under load

Under heavy load it's possible to overrun the 82574L. When this
happens, Other Interrupt happens and that's erroneously interpreted
as a Link Status Change.

    http://patchwork.ozlabs.org/patch/792260/

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agoar71xx: add rssileds to WA850RE v1 image
Mathias Kresin [Sat, 7 Oct 2017 14:54:19 +0000 (16:54 +0200)]
ar71xx: add rssileds to WA850RE v1 image

A default rssileds config exists for the TP-Link WA850RE v1 but the
rssiled package is not included by default.

The compressed 17.01.3 image size increases by 3302 bytes which should
be tolerable even for a 4MB flash board.

Fixes: FS#1043
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: drop phy id specfic compatible string
Mathias Kresin [Sat, 7 Oct 2017 12:12:44 +0000 (14:12 +0200)]
lantiq: drop phy id specfic compatible string

With kernel commit 7630ea4bda18 ("Documentation: net: phy: improve
explanation when to specify the PHY ID") the purpose of using phy id
specific compatibles was clarified.

Remove the phy id specific compatibles since they are meant to be used
if the phy reports an incorrect or no phy id at all.

Reported-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: remove gen_nand compatible string
Mathias Kresin [Sat, 7 Oct 2017 09:03:43 +0000 (11:03 +0200)]
lantiq: remove gen_nand compatible string

The generic nand driver fails to load with:

  gen_nand 14000000.nand-parts: platform_nand_data is missing
  gen_nand: probe of 14000000.nand-parts failed with error -22

and the xway-nand driver is used afterwards.

Drop the gen_nand compatible to get rid of the error message.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agokernel: update 4.9 to 4.9.53
Stijn Tintel [Sat, 7 Oct 2017 15:08:53 +0000 (18:08 +0300)]
kernel: update 4.9 to 4.9.53

Refresh patches.
Compile-tested on brcm2708/bcm2708, octeon and x86/64.
Runtime-tested on brcm2708/bcm2708, octeon and x86/64.

Fixes the following CVEs:
- CVE-2017-1000252
- CVE-2017-12153
- CVE-2017-12154

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agokernel: update 4.4 to 4.4.90
Kevin Darbyshire-Bryant [Thu, 5 Oct 2017 16:50:48 +0000 (17:50 +0100)]
kernel: update 4.4 to 4.4.90

No patch refresh required.

Compile & run tested: ar71xx Archer C7 v2

Fixes the following CVEs:
- CVE-2017-1000252
- CVE-2017-12153
- CVE-2017-12154

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
[reference fixed CVEs]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agocurl: add nghttp2 support
Hans Dedecker [Fri, 6 Oct 2017 08:53:51 +0000 (10:53 +0200)]
curl: add nghttp2 support

Add config option support for nghttp2

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agonghttp2: add libnghttp2 package
Hans Dedecker [Fri, 6 Oct 2017 08:53:50 +0000 (10:53 +0200)]
nghttp2: add libnghttp2 package

The nghttp2 library is an implementation of the Hypertext Transfer
Protocol version 2 in C; it supports RFC7540 and RFC7541.
The package enables only the reusable C library; binary size is 130K (X86)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agorbcfg: Implement CPU frequency control
Thibaut VARENE [Sat, 25 Feb 2017 16:34:50 +0000 (17:34 +0100)]
rbcfg: Implement CPU frequency control

This patch implements CPU frequency control as found on several
routerboard devices.

Supported SoCs:
- QCA953X
- AR9344

Tested on hAP lite and mAP lite (QCA953x): steps of 50MHz
Tested on LHG 5 (AR9344): steps of 50MHz

On unsupported hardware, this patch is a NOP: it will not alter the
new field.
"rbcfg help" will display an empty "cpu_freq" help listing.
"rbcfg show" will not show the cpu_freq field.
"rbcfg set/get cpu_freq" will return an error code.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
[adjusted subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoar71xx: update LED definitions for embedded wireless dorin
Catrinel Catrinescu [Wed, 19 Jul 2017 13:21:33 +0000 (15:21 +0200)]
ar71xx: update LED definitions for embedded wireless dorin

Evaluation board 2.2 uses a different status LED pin
The other removed LEDs were never present

Signed-off-by: Catrinel Catrinescu <cc@80211.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: ew-dorin target moved from legacy to generic
Catrinel Catrinescu [Wed, 19 Jul 2017 09:44:57 +0000 (11:44 +0200)]
ar71xx: ew-dorin target moved from legacy to generic

Embedded Wireless Dorin platform moved from legacy to generic

Signed-off-by: Catrinel Catrinescu <cc@80211.de>
7 years agoar71xx: rework chipidea usb controller patch
Felix Fietkau [Thu, 3 Aug 2017 11:43:49 +0000 (12:43 +0100)]
ar71xx: rework chipidea usb controller patch

Handle AR9344 as well. Disable the EHCI platform device when device mode
is active, to avoid resource conflicts.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agohostapd: escape double quoutes in wpad CFLAGS
Stijn Tintel [Sat, 30 Sep 2017 00:35:50 +0000 (03:35 +0300)]
hostapd: escape double quoutes in wpad CFLAGS

A recent commit in hostapd added a build option to specify the default
TLS ciphers. This build option is passed via CFLAGS. Due to the way
CFLAGS are handled when building wpad, the compiler tries to recursively
expand TLS_DEFAULT_CIPHERS, resulting in the following error:

../src/crypto/tls_openssl.c: In function 'tls_init':
<command-line>:0:21: error: 'DEFAULT' undeclared (first use in this function)
../src/crypto/tls_openssl.c:1028:13: note: in expansion of macro 'TLS_DEFAULT_CIPHERS'
   ciphers = TLS_DEFAULT_CIPHERS;
             ^

Escape double quotes in the .cflags file to avoid this.

Fixes: 2f78034c3ef ("hostapd: update to version 2017-08-24")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agohostapd: update to version 2017-08-24
Koen Vandeputte [Tue, 5 Sep 2017 07:56:22 +0000 (09:56 +0200)]
hostapd: update to version 2017-08-24

- Deleted upstreamed patches & parts
- Refreshed all

Compile tested: full-option package + tools (hostapd + wpa_supplicant)
Run-tested: hostapd wpa2 hotspot & wpa_supplicant IBSS link

Targets: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agonetifd: update to latest git HEAD version (FS#1030)
Hans Dedecker [Fri, 6 Oct 2017 20:05:57 +0000 (22:05 +0200)]
netifd: update to latest git HEAD version (FS#1030)

5df3f01 config: suppress error if no wireless config present (FS#1030)
3429bd8 system-linux: add support for hotplug event 'move'

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agodropbear: fix PKG_CONFIG_DEPENDS
Hans Dedecker [Fri, 6 Oct 2017 07:21:35 +0000 (09:21 +0200)]
dropbear: fix PKG_CONFIG_DEPENDS

Add CONFIG_DROPBEAR_UTMP, CONFIG_DROPBEAR_PUTUTLINE to PKG_CONFIG_DEPENDS

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agotools/firmware-utils: mktplinkfw move build_fw() to lib
Thibaut VARÈNE [Tue, 3 Oct 2017 18:19:52 +0000 (20:19 +0200)]
tools/firmware-utils: mktplinkfw move build_fw() to lib

This patch moves build_fw() to mktplinkfw-lib.c

The versions of mktplinkfw.c and mktplinkfw2.c had slight
differences in code flow, the version from mktplinkfw.c has been
preferred.

While it's expected that this change will not affect mktplinkfw2,
all use cases could not be tested and so this particular change
is committed separately.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
7 years agotools/firmware-utils: mktplinkfw regroup duplicate code
Thibaut VARÈNE [Tue, 3 Oct 2017 16:12:27 +0000 (18:12 +0200)]
tools/firmware-utils: mktplinkfw regroup duplicate code

This patch carves out the duplicated code of mktplinfw.c and
mktplinkfw2.c and moves it to mktplinkfw-lib.c

This change is a semantic NOP (the code is unchanged).

To ensure compatibility with gcc-5.x and newer without changing
the code, -fgnu89-inline is added to the build flags for these
two binaries.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
7 years agotools/firmware-utils: remove hardcoded values from mktplinkfw2.c
Thibaut VARÈNE [Tue, 3 Oct 2017 10:46:09 +0000 (12:46 +0200)]
tools/firmware-utils: remove hardcoded values from mktplinkfw2.c

This patch removes all the hardcoded board-specific values from
mktplinkfw2.c, and as well as the corresponding support code.

By design, this change also deletes all of the broken matching logic
that was embedded in mktplinkfw2 and aligns the "inspect" behavior
with that of mktplinkfw (i.e. print the parsed header content as
they are without further processing).

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
7 years agobuild: add mktplinkfw2 hardcoded values to makefile
Thibaut VARÈNE [Tue, 3 Oct 2017 10:46:09 +0000 (12:46 +0200)]
build: add mktplinkfw2 hardcoded values to makefile

This patch adds all the board-specific values currently hardcoded
in mktplinkfw2.c back to the respective device declarations in the
makefiles.

The rationale is to avoid modifying the source code every time a
new board or board variant is added.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
7 years agocmake: fix build error with Xcode 9 on macOS 12
Felix Fietkau [Thu, 5 Oct 2017 18:44:52 +0000 (20:44 +0200)]
cmake: fix build error with Xcode 9 on macOS 12

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agogcc: fix build error with macOS + Xcode 9
Felix Fietkau [Thu, 5 Oct 2017 17:46:48 +0000 (19:46 +0200)]
gcc: fix build error with macOS + Xcode 9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: add a darwin sitefile to deal with macOS 10.12 + Xcode 9 build errors
Felix Fietkau [Thu, 5 Oct 2017 17:45:44 +0000 (19:45 +0200)]
build: add a darwin sitefile to deal with macOS 10.12 + Xcode 9 build errors

Certain functions are available in system headers, but only work on
macOS 10.13

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: fix reboot on apu2 boards
Felix Fietkau [Thu, 28 Sep 2017 22:01:08 +0000 (00:01 +0200)]
x86: fix reboot on apu2 boards

PC Engines apu2 needs to use the PCI reboot method, otherwise it can
hang.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agouci: bump to git HEAD version
Hans Dedecker [Tue, 3 Oct 2017 11:24:14 +0000 (13:24 +0200)]
uci: bump to git HEAD version

5ad59ad Add bitfield_set function from libubox

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agolibubox: bump to git HEAD version
Hans Dedecker [Tue, 3 Oct 2017 11:31:37 +0000 (13:31 +0200)]
libubox: bump to git HEAD version

632688e utils: nuke bitfield functions and macros
f714be1 uloop: make SIGCHLD signal handling optional

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoramips: keep Archer C20 Power LED On during boot
Sergey Ryazanov [Sun, 1 Oct 2017 23:33:17 +0000 (02:33 +0300)]
ramips: keep Archer C20 Power LED On during boot

Keep Archer C20 Power LED in the same state as it was configured by
bootloader (keep it hightlighed) to avoid unexpectable LED turning off
during kernel boot.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
7 years agoltq-vmmc: disable for falcon
Mathias Kresin [Tue, 3 Oct 2017 20:56:44 +0000 (22:56 +0200)]
ltq-vmmc: disable for falcon

The module fails to compile with falcon. Remove the falcon depends from
the module to not (try to) compile it for falcon any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoltq-ptm: mark AmazonSE support as broken
Mathias Kresin [Tue, 3 Oct 2017 20:42:33 +0000 (22:42 +0200)]
ltq-ptm: mark AmazonSE support as broken

Albeit ltq-ptm is supported on AmazonSE, the package fails to compile.
Mark the AmazonSE variant as broken to not mark it unnecessary harder
to fix (and test) the compile error.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: ase: enable USB and wireless
Mathias Kresin [Tue, 3 Oct 2017 19:51:51 +0000 (21:51 +0200)]
lantiq: ase: enable USB and wireless

Add the missing USB related kernel config options to target config.
Enable wireless as well, wireless is supported via USB.

Fixes compile/packaging errors with the libertas wireless kernel
module.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: ase: fix SPI support
Mathias Kresin [Tue, 3 Oct 2017 19:44:40 +0000 (21:44 +0200)]
lantiq: ase: fix SPI support

Do not disable SPI in the subtarget, otherwise the SPI driver can not
be used.

Disable SPI by default and enable it in the board specific device tree
source file.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: select PCI support in subtargets
Mathias Kresin [Tue, 3 Oct 2017 12:58:53 +0000 (14:58 +0200)]
lantiq: select PCI support in subtargets

AmazonSE and Falcon do not have support for PCI and it can't be
unselected in the subtarget kernel config. This way the enabled PCI
support is inherit from the higher level config to the subtarget.

If CONFIG_PCI is selected, PCI_SUPPORT will be autoselected as well and
all packages depending on this config symbol will be build and at least
some of them fail due to missing pci functions.

The issue can be observed if all kmods and all non-shared packages are
build. Fix the issue by enabling PCI support only in subtargets with
PCI support.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: ase: cleanup kernel config
Mathias Kresin [Mon, 2 Oct 2017 06:04:06 +0000 (08:04 +0200)]
lantiq: ase: cleanup kernel config

The subtarget kernel config options CONFIG_CC_OPTIMIZE_FOR_SIZE and
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK are already set by the target or
global kernel config.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: xway: cleanup kernel config
Mathias Kresin [Mon, 2 Oct 2017 05:54:58 +0000 (07:54 +0200)]
lantiq: xway: cleanup kernel config

CONFIG_SPI_LANTIQ was replaced by CONFIG_SPI_LANTIQ_SSC with the switch
to the upstreamed driver.

All other removed subtarget kernel config options are already set by
the target specific or global kernel config.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: xrx200: cleanup kernel config
Mathias Kresin [Mon, 2 Oct 2017 05:47:16 +0000 (07:47 +0200)]
lantiq: xrx200: cleanup kernel config

CONFIG_MTSCHED & CONFIG_PERFCTRS were never defined in the kernel.

CONFIG_LANTIQ_PHY was replaced by CONFIG_INTEL_XWAY_PHY with the switch
to the upstreamed driver.

Add autoselected dependecies to the kernel config.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agolantiq: xrx200: fix sorting of kernel config
Mathias Kresin [Mon, 2 Oct 2017 05:42:56 +0000 (07:42 +0200)]
lantiq: xrx200: fix sorting of kernel config

Use the kconfig script to sort the kernel config. It makes further
changes more obvious.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agotreewide: drop obsolete kernel config options
Mathias Kresin [Mon, 2 Oct 2017 05:39:30 +0000 (07:39 +0200)]
treewide: drop obsolete kernel config options

CONFIG_GPIO_DEVRES was removed with kernel commit f9c22ec6c1c5 ("gpio:
Remove GPIO_DEVRES option") during kernel 4.9 development.

CONFIG_HAVE_BPF_JIT was removed with kernel commit 6077776b5908 ("bpf:
split HAVE_BPF_JIT into cBPF and eBPF variant") during kernel 4.7
development.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoprocd: use LN macro
Hans Dedecker [Tue, 3 Oct 2017 09:05:01 +0000 (11:05 +0200)]
procd: use LN macro

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agodnsmasq: bump to v2.78
Kevin Darbyshire-Bryant [Mon, 2 Oct 2017 14:17:07 +0000 (15:17 +0100)]
dnsmasq: bump to v2.78

Fixes CVE-2017-14491, CVE-2017-14492, CVE-2017-14493, CVE-2017-14494, 2017-CVE-14495, 2017-CVE-14496

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agotools: cmake: fix librt linking (FS#1032)
Jo-Philipp Wich [Mon, 2 Oct 2017 11:56:50 +0000 (13:56 +0200)]
tools: cmake: fix librt linking (FS#1032)

Commit 839129b864 "tools/cmake: Update to 3.9.3" improperly rebased the
librt linking patch, causing FS#381 to resurface.

Fixes FS#1032.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agosunxi: add Orange Pi R1 support
Hauke Mehrtens [Tue, 26 Sep 2017 20:41:56 +0000 (22:41 +0200)]
sunxi: add Orange Pi R1 support

The following features are working and tested:
* both Ethernet ports
* MMC
* LED

The following features are not working:
* Wifi (There is a crappy driver we could port)
* SPI flash (I haven't looked into this)

I haven't tried out the rest.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agomac80211: fix compile error on PowerPC (PPC_85xx)
Hauke Mehrtens [Sun, 1 Oct 2017 14:16:32 +0000 (16:16 +0200)]
mac80211: fix compile error on PowerPC (PPC_85xx)

Including linux/interrupt.h in linux/hrtimer.h causes this error message
on PowerPC builds on x86, ARM and MIPS it works:

  CC [M]  /backports-4.14-rc2-1/compat/main.o
In file included from /backports-4.14-rc2-1/backport-include/linux/printk.h:5:0,
                 from ./include/linux/kernel.h:13,
                 from /backports-4.14-rc2-1/backport-include/linux/kernel.h:3,
                 from ./include/linux/list.h:8,
                 from /backports-4.14-rc2-1/backport-include/linux/list.h:3,
                 from ./include/linux/module.h:9,
                 from /backports-4.14-rc2-1/backport-include/linux/module.h:3,
                 from /backports-4.14-rc2-1/compat/main.c:1:
./include/linux/ratelimit.h: In function 'ratelimit_state_exit':
./include/linux/ratelimit.h:62:11: error: dereferencing pointer to incomplete type 'struct task_struct'
    current->comm, rs->missed);
           ^
./include/linux/printk.h:279:37: note: in definition of macro 'pr_warning'
  printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
                                     ^
./include/linux/ratelimit.h:61:3: note: in expansion of macro 'pr_warn'
   pr_warn("%s: %d output lines suppressed due to ratelimiting\n",
   ^

The backport of the hrtimer_start() functions needs the
linux/interrupt.h because some parts are defined there. Fix this by
moving the hrtimer_start() backport to the linux/interrupt.h backport
header file.

Fixes: a8f63a0717f5: ("mac80211: update to backports-4.14-rc2")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agokernel: owl-loader: fix compile warning
Hauke Mehrtens [Sun, 1 Oct 2017 14:11:58 +0000 (16:11 +0200)]
kernel: owl-loader: fix compile warning

check if the config option CONFIG_LANTIQ is defined.
This fixes the following warning:
  CC [M]  drivers/misc/owl-loader.o
drivers/misc/owl-loader.c: In function 'ath9k_pci_fixup':
drivers/misc/owl-loader.c:92:5: warning: "CONFIG_LANTIQ" is not defined [-Wundef]
 #if CONFIG_LANTIQ
     ^

Fixes: e9401a2335cc ("kernel: owl-loader for delayed Atheros ath9k fixup")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agosunxi: H3: add device tree changes for H3 Ethernet
Hauke Mehrtens [Sun, 24 Sep 2017 22:32:21 +0000 (00:32 +0200)]
sunxi: H3: add device tree changes for H3 Ethernet

This adds the device tree changes needed to make the GMAC stmmac driver
working for the Allwinner H3 SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agosunxi: A64: add device tree changes for A64 Ethernet
Hauke Mehrtens [Thu, 21 Sep 2017 20:38:00 +0000 (22:38 +0200)]
sunxi: A64: add device tree changes for A64 Ethernet

This adds the device tree changes needed to make the GMAC stmmac driver
working for the Allwinner A64 SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agosunxi: backport the stmmac driver from kernel 4.13
Hauke Mehrtens [Thu, 21 Sep 2017 20:10:08 +0000 (22:10 +0200)]
sunxi: backport the stmmac driver from kernel 4.13

This adds support for the GMAC which is use in the A64 and other
Allwinner chips by backporting the changes from the kernel versions
4.13.

Some commits are not backported which are adding support for newly
introduced APIs which are not available in kernel 4.9.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agomac80211: update to backports-4.14-rc2
Hauke Mehrtens [Tue, 22 Aug 2017 21:59:48 +0000 (23:59 +0200)]
mac80211: update to backports-4.14-rc2

This updates mac80211 to backprots-4.14-rc2.
This was compile and runtime tested with ath9k, ath10k and b43
with multiple stations and ieee80211w and in different scenarios by many
other people.

To create the backports-4.14-rc2-1.tar.xz use this repository:
https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git
from tag v4.14-rc2-1

Then run this:
./gentree.py --git-revision v4.14-rc2 --clean  <path to linux repo> ../backports-4.14-rc2-1

This also adapts the ath10k-ct and mt76 driver to the changed cfg80211
APIs and syncs the nl80211.h file in iw with the new version from
backports-4.14-rc2.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agosunxi: improve A20 Lime2 upload speed
Lucian Cristian [Fri, 29 Sep 2017 19:29:59 +0000 (22:29 +0300)]
sunxi: improve A20 Lime2 upload speed

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
7 years agotoolchain/fortify-headers: Update to 0.9
Daniel Engberg [Fri, 29 Sep 2017 21:10:10 +0000 (23:10 +0200)]
toolchain/fortify-headers: Update to 0.9

Update fortify-headers to 0.9

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agotools/mm-macros: Update to 0.9.11
Daniel Engberg [Fri, 29 Sep 2017 21:12:40 +0000 (23:12 +0200)]
tools/mm-macros: Update to 0.9.11

Update mm-macros to 0.9.11

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agotools/mpfr: Update to 3.1.6
Daniel Engberg [Fri, 29 Sep 2017 21:14:27 +0000 (23:14 +0200)]
tools/mpfr: Update to 3.1.6

Update mpfr to 3.1.6

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agopackage/utils/f2fs-tools: Update to 1.9.0
Daniel Engberg [Fri, 29 Sep 2017 21:38:12 +0000 (23:38 +0200)]
package/utils/f2fs-tools: Update to 1.9.0

Update f2fs-tools to 1.9.0
Remove patch as its been committed upstream

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoutil-linux: update to 2.30.2
Ryan Mounce [Fri, 22 Sep 2017 04:42:28 +0000 (14:12 +0930)]
util-linux: update to 2.30.2

Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
7 years agotools/cmake: Update to 3.9.3
Daniel Engberg [Sat, 30 Sep 2017 09:00:32 +0000 (11:00 +0200)]
tools/cmake: Update to 3.9.3

Update CMake to 3.9.3
Remove FreeBSD patch (not needed)
Rearrage and update patches

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agobase-files: create /etc/config/ directory
Hauke Mehrtens [Sat, 30 Sep 2017 11:50:44 +0000 (13:50 +0200)]
base-files: create /etc/config/ directory

The /bin/config_generate script and some other scripts are assuming the
/etc/config directory exists in the image. This is true in case for
example the package firewall, dropbear or dnsmasq are included, which
are adding the files under /etc/config/. Without any of these package
the system will not boot up fully because the /etc/config/ directory is
missing and some init scripts just fail.

Make sure all images with the base-files contain a /etc/config/
directory.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: John Crispin <john@phrozen.org>
7 years agoltq-vdsl-mei: revert disable optimized firmware download
Mathias Kresin [Fri, 29 Sep 2017 06:45:13 +0000 (08:45 +0200)]
ltq-vdsl-mei: revert disable optimized firmware download

This reverts commit b428f45c062dc8ca8c2f35f491fa467dc5b85519.

If the optimized firmware download is disabled, the xdsl subsystem
hangs in the "idle request" state after physically disconnecting and
reconnecting the xdsl modem from the line.

It might fix the failing line init on boot as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoiw: fix build on musl host
Stijn Tintel [Fri, 29 Sep 2017 06:26:00 +0000 (09:26 +0300)]
iw: fix build on musl host

The empty version.sh script causes a problem when run by make:
make[3]: /usr/bin/env bash: Shell program not found

Adding a shebang line in version.sh seems to solve it.

Fixes FS#977.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agoutil-linux: avoid using the getrandom syscall
Felix Fietkau [Fri, 29 Sep 2017 10:30:52 +0000 (12:30 +0200)]
util-linux: avoid using the getrandom syscall

getrandom blocks until the random pool is being initialized.
Unfortunately, this code is being called early during init to create the
overlay filesystem, on some devices leaving little chance for a
successful random pool init.
True randomness is not that important here, so fix this issue by
sticking to using /dev/urandom, like in older versions of this code.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: update 4.4 to 4.4.89
Kevin Darbyshire-Bryant [Thu, 28 Sep 2017 09:39:05 +0000 (10:39 +0100)]
kernel: update 4.4 to 4.4.89

Refresh patches.
Compile & run tested on ar71xx Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
7 years agogdb: bump to 8.0.1
Stijn Tintel [Mon, 25 Sep 2017 05:45:10 +0000 (08:45 +0300)]
gdb: bump to 8.0.1

Add -static-libstdc++ to TARGET_LDFLAGS to avoid a hard dependency on
libstdc++, and -Wl,--gc-sections to further reduce the size on platforms
that support it.

Fixes CVE-2017-9778.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agotoolchain/gdb: update to version 8.0.1
Ryan Mounce [Sun, 6 Aug 2017 04:52:18 +0000 (14:22 +0930)]
toolchain/gdb: update to version 8.0.1

Fixes CVE-2017-9778.

Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
[reference fixed CVE]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years agomt76: update to the latest version, improves mt7603 stability
Felix Fietkau [Thu, 28 Sep 2017 20:57:32 +0000 (22:57 +0200)]
mt76: update to the latest version, improves mt7603 stability

cb83f33 mt7603: mac: fix logic in mt7603_tx_hang()
21f20b4 mt7603: mac: fix register configuration in mt7603_rx_dma_busy()
d5e945e mt7603: mcu: fix indentation of mcu command definition

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agolinux-firmware: fix intel wireless-n 100 firmware package name
Felix Fietkau [Thu, 28 Sep 2017 20:51:48 +0000 (22:51 +0200)]
linux-firmware: fix intel wireless-n 100 firmware package name

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agohostapd: add support for accessing 802.11k neighbor report elements via ubus
Felix Fietkau [Tue, 4 Jul 2017 12:45:10 +0000 (14:45 +0200)]
hostapd: add support for accessing 802.11k neighbor report elements via ubus

This API can be used to distribute neighbor report entries across
multiple APs on the same LAN.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agohostapd: add support for specifying device config options directly in uci
Felix Fietkau [Sun, 7 May 2017 10:37:00 +0000 (12:37 +0200)]
hostapd: add support for specifying device config options directly in uci

This is useful for tuning some more exotic parameters where it doesn't
make sense to attempt to cover everything in uci directly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: unify CONFIG_CMDLINE
Felix Fietkau [Tue, 18 Jul 2017 13:58:08 +0000 (15:58 +0200)]
ar71xx: unify CONFIG_CMDLINE

Booting from jffs2 directly is no longer supported, use
rootfstype=squashfs consistently for all subtargets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agodropbear: make ssh compression support configurable
Marcin Jurkowski [Fri, 30 Jun 2017 11:13:50 +0000 (13:13 +0200)]
dropbear: make ssh compression support configurable

Adds config option to enable compression support which is usefull
when using a terminal sessions over a slow link. Impact on binary
size is negligible but additional 60 kB (uncompressed) is needed for
a shared zlib library.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
7 years agoumdns: update to latest git HEAD
John Crispin [Thu, 28 Sep 2017 07:27:39 +0000 (09:27 +0200)]
umdns: update to latest git HEAD

b84fdac Add debug output for service_timeout
8f7e3bc Remove incorrect comma in http service json config
9f40133 Remove ttl==255 restriction for queries

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: reduce napi_weight in the ethernet driver.
Rosen Penev [Tue, 19 Sep 2017 05:23:01 +0000 (22:23 -0700)]
ramips: reduce napi_weight in the ethernet driver.

Currently dmsg a weight of 128 which is above the kernel limit of 64. Silence the warning.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 years agoprocd: Install seccomp-trace symlink
Michal Sojka [Tue, 12 Sep 2017 11:12:50 +0000 (13:12 +0200)]
procd: Install seccomp-trace symlink

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>