summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wireguard: bump to 20180519Jason A. Donenfeld2018-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * chacha20poly1305: add mips32 implementation "The OpenWRT Commit" - this significantly speeds up performance on cheap plastic MIPS routers, and presumably the remaining MIPS32r2 super computers out there. * timers: reinitialize state on init * timers: round up instead of down in slack_time * timers: remove slack_time * timers: clear send_keepalive timer on sending handshake response * timers: no need to clear keepalive in persistent keepalive Andrew He and I have helped simplify the timers and remove some old warts, making the whole system a bit easier to analyze. * tools: fix errno propagation and messages Error messages are now more coherent. * device: remove allowedips before individual peers This avoids an O(n^2) traversal in favor of an O(n) one. Before systems with many peers would grind when deleting the interface. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: prevent spurious package rebuilds under CONFIG_AUTOREMOVEJo-Philipp Wich2018-05-221-1/+1
| | | | | | | | | | | | | | | | | When CONFIG_AUTOREMOVE is enabled, the build system touches an additional ".autoremove" stamp file in the cleaned build directory. Since the autoremove stamp file is touched after the compile process completed, it ends up being the most recent file of the package build directory, causing the timestamp.pl check of depends.mk to erroneously declare the ".built" and ".prepared" stamp files as stale, triggering a forced clean-build submake process. Fix the problem by using the ".built" stamp file as modification time reference when touching the ".autoremove" stamp file. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit b287c82bed6673648a69be6c1cf84abe8885a3c4)
* openwrt-keyring: bundle latest usign certificatesJo-Philipp Wich2018-05-201-3/+3
| | | | | | | Includes the public usign certificates used by the 18.06.* release builds. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 6d108c4a1a40708715e663d6e8eec3ce5ef79c21)
* base-files: depend on openwrt-keyringJo-Philipp Wich2018-05-201-1/+1
| | | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 01329877bcb696dcbbda993a51992d468e1e3c74)
* openwrt-keyring: rename from lede-keyringJo-Philipp Wich2018-05-201-7/+8
| | | | | | | | Also let the new openwrt-keyring package provide lede-keyring for backwards compatibility. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit fd72e67ffe10a130ae4ee9620e7670d83c2538ce)
* curl: bump to 7.60.0Hans Dedecker2018-05-173-15/+4
| | | | | | | | | Refresh patches; remove 320-mbedtls_dont_use_deprecated_sha256_function patch as upstream fixed For changes in version 2.60 see https://curl.haxx.se/changes.html#7_60_0 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* wireguard: bump to 20180514Kevin Darbyshire-Bryant2018-05-172-9/+10
| | | | | | | | | | | | | | | 52be69b version: bump snapshot 4884b45 ncat-client-server: add wg-quick variant a333551 wg-quick: add darwin implementation f5bf84d compat: backport for OpenSUSE 15 fe1ae1b wg-quick: add wg symlink ecc1c5f wg-quick: add android implementation 3e6bb79 tools: reorganize for multiplatform wg-quick b289d12 allowedips: Fix graphviz output after endianness patch Refresh cross compile compatibility patch Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* netfilter: fix hardware offload regression (FS#1551)Felix Fietkau2018-05-173-13/+13
| | | | | | | The relevant code needs to be enabled even if flow table support is only compiled as module Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeontx: make board.d files executableMathias Kresin2018-05-171-0/+0
| | | | | | | Add the executable permission to the files to ensure they run on firstboot. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kmod-sched-cake: bump to latest 20180515Kevin Darbyshire-Bryant2018-05-161-3/+3
| | | | | | | | Following changes as part of the kernel upstreaming attempts. And fix a slight fsck up when calculating overheads for GSO packets. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* mt76: update to the latest versionFelix Fietkau2018-05-151-3/+3
| | | | | | | | | b2ecc52 mt76x2: fix avg_rssi estimation fd58b28 mt76x2: add a polling delay in mt76x2_mac_stop routine a78673d mt76: fix sending encrypted broadcast packets for secondary interfaces e87f925 mt76x2: apply coverage class on slot time too Signed-off-by: Felix Fietkau <nbd@nbd.name>
* OpenWrt v18.06: set branch defaultsJohn Crispin2018-05-153-12/+7
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: mmc: Sync with staging drivers"John Crispin2018-05-155-2693/+3418
| | | | | | This reverts commit 2d401925b9bdf34de800fff57f593a3665de2a6a. Signed-off-by: John Crispin <john@phrozen.org>
* staging: mt7621-eth: fix return value check in mt7621_gsw_probe()Wei Yongjun2018-05-153-6/+6
| | | | | | | | | | In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: f079b6406348 ("staging: mt7621-eth: add gigabit switch driver (GSW)") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-eth: fix return value check in mtk_connect_phy_node()Wei Yongjun2018-05-151-2/+2
| | | | | | | | | | In case of error, the function of_phy_connect() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-eth: fix return value check in mtk_probe()Wei Yongjun2018-05-151-1/+1
| | | | | | | | | | In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: pci: sync with staging driverRosen Penev2018-05-151-168/+150
| | | | | | | | | | This is an amagalmation of two upstream commits dealing with whitespace and dead code removal. I'm synching instead of having two separate commits as they go out of order compared to previous commits here. Tested on GnuBee PC1. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: mmc: Sync with staging driversRosen Penev2018-05-155-3418/+2693
| | | | | | | | | | | | | Mostly whitespace cleanups. Some unneeded code was removed. MMC init was also moved to the probe function as in 6069bdd0871a20b5adce8d2f677946e05a2da609 The cleanup commits are over 100, making it hard to do them individually. Tested on GnuBee PC1 with an SD card being used as swap. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* wireguard: Add support for ip6prefix config optionToke Høiland-Jørgensen2018-05-151-0/+6
| | | | | | | | | | | | This makes it easier to distribute prefixes over a wireguard tunnel interface, by simply setting the ip6prefix option in uci (just like with other protocols). Obviously, routing etc needs to be setup properly for things to work; this just adds the config option so the prefix can be assigned to other interfaces. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* linux-firmware: Add firmware for usb-serial-ti-usbDavid Woodhouse2018-05-151-0/+13
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* ramips: Add i2c support for mt7620nMatthias Badaire2018-05-151-0/+23
| | | | | | I2c is supported on mt7620n like on mt7620a when checking the datasheet Signed-off-by: Matthias Badaire <mbadaire@gmail.com>
* kirkwood: support for buttons in Audi and ViperAlberto Bursi2018-05-151-2/+2
| | | | | | | | | | | | Both these devices have a wps and a reset button on GPIO pins, which need kmod-gpio-button-hotplug package to work. Add this package to their default package config. Troubleshooted and tested on a Viper. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933xJohann Neuhauser2018-05-152-2/+2
| | | | | | | | | 1. compatible property in node gmac was wrong 2. ag71xx_setup_gmac_933x should use np of gmac-config and not the pointer to gmac. gmac is only used for the reg address. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* mac80211: refactor non-{sae,dfs} mesh initializationDaniel Golle2018-05-152-47/+48
| | | | | | | | | | | | Refactor mesh initialization into a separate function, do some cleaning on the way to make the code more readable. Changes: * Move iw mesh setup to new mac80211_setup_mesh() * fallback on 'ssid' parameter in case 'mesh_id' isn't set * move setting of freq variable to shared code as it is needed for both, the wpa_supplicant and the iw based setup. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* hostapd: fix VHT80 for encrypted mesh channel settingsSven Eckelmann2018-05-142-1/+46
| | | | | | | | | | | | | | | | | | | The max_oper_chwidth settings was parsed incorrectly for big endian system. This prevented the system to switch to VHT80 (or VHT160). Instead they were mapped to: * HT20: 20MHz * VHT20: 20MHz * HT40: 40MHz * VHT40: 40MHz * VHT80: 40MHz * VHT160: 40MHz This happened because each max_oper_chwidth setting in the config file was parsed as "0" instead of the actual value. Fixes: a4322eba2b12 ("hostapd: fix encrypted mesh channel settings") Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
* mac80211: Re-enable encrypted 11s meshpointSven Eckelmann2018-05-142-2/+2
| | | | | | | | | | The commit 574e4377fad5 ("mac80211: properly setup mesh interface") uses the variable $wpa to decide whether encrypted meshpoint is requested by the user or not. But the variable $wpa will only be set correctly after the function wireless_vif_parse_encryption is called. Fixes: 574e4377fad5 ("mac80211: properly setup mesh interface") Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
* mvebu: add support for WRT32X (venom)Michael Gray2018-05-1414-8/+243
| | | | | | | | | | | | | | | | | | Linksys WRT32X (Venom) is identical in hardware to the WRT3200ACM with a different flash layout and boots zImage rather than uImage. Specification: - Marvell Armada 385 88F6820 (2x 1.8GHz) - 256MB of Flash - 512MB of RAM - 2.4GHz (bgn) and 5GHz (an+ac wave 2) - 4x 1Gbps LAN + 1x 1Gbps WAN - 1x USB 3.0 and 1x USB 2.0/eSATA (combo port) Flash instruction: Apply factory image via web-gui. Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
* firewall3: update to latest git HEADJohn Crispin2018-05-141-4/+4
| | | | | | | | b45e162 helpers: fix the set_helper in the rule structure f742ba7 helpers.conf: support also tcp in the CT sip helper 08b2c61 helpers: make the proto field as a list rather than one option Signed-off-by: John Crispin <john@phrozen.org>
* gemini: Augment DIR-685 device tree for RTL8366RBLinus Walleij2018-05-141-1/+70
| | | | | | | This makes the ethernet and RTL8366RB come up on the D-Link DIR-685. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gemini: create zImage for DIR-685Linus Walleij2018-05-141-3/+8
| | | | Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ramips: remove unnecessary resource details.NeilBrown2018-05-141-15/+2
| | | | | | | | These resources are extracted from devicetree, so they aren't needed here. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: remove conditional compilation.NeilBrown2018-05-141-58/+8
| | | | | | | | | | | | | Code currently defines: and then compiles code only if they are defined. We might want to disable some of these via devicetree one day, but for now just remove the #defines and the conditions - all the code for different ports is easy to identify. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: improve interrupt mappingNeilBrown2018-05-142-69/+14
| | | | | | | | | | | | | | As the Interrupts for the PCI adapters are listed in devicetree we shouldn't need to have them explicit in the code. The simplest way to do this is to use of_irq_parse_and_map_pci() and specify an interrupt-map which identifies the different PCI hosts by bus/slot numbers. This has the advantage that the hwirq number are mapped to virq numbers for us, so the ugly hack can go. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: Remove redundant owner assignmentChristian Lütke-Stetzkamp2018-05-141-1/+0
| | | | | | | | | Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: Move PCI driver to files directoryRosen Penev2018-05-142-842/+837
| | | | | | This will make it easier to port upstream code. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mac80211: properly setup mesh interfaceDaniel Golle2018-05-142-4/+15
| | | | | | | Setup wpa_supplicant for encrypted mesh or when using DFS channels and adjust interface setup to pass fixed frequency for mesh mode. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* hostapd: fix mesh+APDaniel Golle2018-05-1415-220/+171
| | | | | | | | Fix encrypted (or DFS) AP+MESH interface combination in a way similar to how it's done for AP+STA and fix netifd shell script. Refresh patches while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: update to lastest HEADJo-Philipp Wich2018-05-141-3/+3
| | | | | | | | 8206219 uci: fix memory leak in rpc_uci_replace_savedir() 10f7878 exec: close stdout and stderr streams on child signal 92d0d75 uci: use correct sort index when reordering sections Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* wireguard: bump to 0.0.20180513Kevin Darbyshire-Bryant2018-05-141-2/+2
| | | | | | | | | | | | | | | | | | | 6b4a340 version: bump snapshot faa2103 compat: don't clear header bits on RHEL 4014532 compat: handle RHEL 7.5's recent backports 66589bc queueing: preserve pfmemalloc header bit 37f114a chacha20poly1305: make gcc 8.1 happy 926caae socket: use skb_put_data 724d979 wg-quick: preliminary support for go implementation c454c26 allowedips: simplify arithmetic 71d44be allowedips: produce better assembly with unsigned arithmetic 5e3532e allowedips: use native endian on lookup 856f105 allowedips: add selftest for allowedips_walk_by_peer 41df6d2 embeddable-wg-library: zero attribute padding 9a1bea6 keygen-html: add zip file example f182b1a qemu: retry on 404 in wget for kernel.org race Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* at91: sama5d4: fix bad mkubifs optionsJo-Philipp Wich2018-05-131-1/+1
| | | | | | | | | | | Drop the "-x lzo" compression type override from MKUBIFS_OPTS since we do not support it in mkfs.ubifs. Attempting to use LZO compression results in "Error: bad compressor name". The build system also appends an explicit "--compr=zlib" to the mkfs command line, turning the "-x" flag into a no-op anyway. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: let kmod-rtl8366-smi conditionally depend on kmod-of-mdioJo-Philipp Wich2018-05-131-1/+1
| | | | | | | | | | | | We cannot depend on CONFIG_OF in the module definition context as this symbol is not defined for OpenWrt menuconfig. Depend on the targets that appear to need the kmod-of-mdio module instead. The target dependency list may not be complete, it is based on the build failures encountered by the build bots. Fixes: dc629d9cf5 ("kernel: fix kmod-switch-rtl8366-smi dependency") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: use accepted version of bcm47xxpart fix commitRafał Miłecki2018-05-123-3/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport mtd patch for minor partitioning cleanupRafał Miłecki2018-05-1214-28/+364
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix build error in flow offload code with CONFIG_NETFILTER=nFelix Fietkau2018-05-123-17/+41
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: bump to 2.80test2Kevin Darbyshire-Bryant2018-05-1212-8/+1172
| | | | | | | | | | | | | | | | | | | Refresh patches and backport upstream to current HEAD: 1f1873a Log warning on very large cachesize config, instead of truncating it. 0a496f0 Do unsolicited RAs for interfaces which appear after dnsmasq startup. e27825b Fix logging in previous. 1f60a18 Retry SERVFAIL DNSSEC queries to a different server, if possible. a0088e8 Handle query retry on REFUSED or SERVFAIL for DNSSEC-generated queries. 34e26e1 Retry query to other servers on receipt of SERVFAIL rcode. 6b17335 Add packet-dump debugging facility. 07ed585 Add logging for DNS error returns from upstream and local configuration. 0669ee7 Fix DHCP broken-ness when --no-ping AND --dhcp-sequential-ip are set. f84e674 Be persistent with broken-upstream-DNSSEC warnings. Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* bcm53xx: backport the first bunch of 4.18 BCM5301X patchesRafał Miłecki2018-05-1210-6/+837
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* at91: cleanup kernel configurationsJo-Philipp Wich2018-05-115-1104/+141
| | | | | | | | | | The subtarget configurations contained a lot of reduntant symbols, arbitrary overrides and symbols set to =m. Remove most of these redundant settings to shrink the subtarget configurations to a manageable size. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: sama5d2: remove CONFIG_XZ_DEC overrideJo-Philipp Wich2018-05-111-5/+0
| | | | | | | | | Fixes the following error spotted by the buildbot: Package kmod-fs-squashfs is missing dependencies for the following libraries: xz_dec.ko Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: add missing config symbolsJo-Philipp Wich2018-05-112-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: rtl8366_smi: guard of_mdiobus_register() callJo-Philipp Wich2018-05-111-1/+5
| | | | | | | | Make the call to of_mdiobus_register() dependant on CONFIG_OF to avoid pulling in an unwanted dependency on of_mdio.ko. Fixes: 3dc523f232 kernel: add OF support to rtl8355 driver Signed-off-by: Jo-Philipp Wich <jo@mein.io>