aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* rssileds: add dependencies based on LDFLAGSopenwrt-19.07Adrian Schmutzler2020-03-111-1/+1
| | | | | | | | | | | | | | | | | | This adds the direct dependencies introduced by TARGET_LDFLAGS to the package's DEPENDS variable. This was found by accidentally building rssileds on octeon, which resulted in: "Package rssileds is missing dependencies for the following libraries: libnl-tiny.so" Though the dependencies are provided when building for the relevant targets ar71xx, ath79 and ramips, it seems more tidy to specify them explicitly. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a5b2c6f5edef1958d8789ff9bd89b408893b4358)
* mt76: update to the latest versionFelix Fietkau2020-03-111-3/+3
| | | | | | | | | | | | | | | | | | | | | 8682e0d0b49c mt76: speed up usb bulk copy 884c25e7caca mt76: usb: use max packet length for m76u_copy 1ad98b95cf4a mt76: mt76u: rely only on data buffer for usb control messagges 3d491603caff mt76: fix array overflow on receiving too many fragments for a packet 9792a62e7f30 mt76: set dma-done flag for flushed descriptors 53233cdf9486 mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw a4ae9219e6c7 mt76: dma: do not write cpu_idx on rx queue reset until after refill 1198fa57d185 mt76: mt7603: increase dma mcu rx ring size 91cd5be6ee37 mt76: avoid extra RCU synchronization on station removal 7d7fb26bb78a mt76: mt76x2: avoid starting the MAC too early aac609809de1 mt76: fix LED link time failure 18627db2e633 mt76: mt76x0u: add support to TP-Link T2UHP 5ecfdb1a6e0a mt76: mt76x02: fix handling MCU timeouts during hw restart f7e9be89db59 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power 23b834485070 mt76: mt7603: enable dynamic sensitivity adjustment by default 08054d5ab135 mt76: mt76x02: reset MCU timeout counter earlier in watchdog reset Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rpcd: add respawn paramFlorian Eckert2020-03-042-1/+2
| | | | | | | | | | | The rpcd service is an important service, but if the service stops working for any reason, no one will ever respawn that service. With this commit, the procd service will monitor if the rpcd service is running. If the rpcd service has crashed, then procd respawns the rpcd service. Signed-off-by: Florian Eckert <fe@dev.tdt.de> (cherry picked from commit 432ec292ccc8b634facacbd018d08947d204225a)
* rpcd: update to latest Git HEADJo-Philipp Wich2020-03-041-3/+3
| | | | | | | aaa0836 file: extend exec acl checks to commands with arguments Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 762aac50c09cca494bbc8cfbe8aff967f39ce8cd)
* OpenWrt v19.07.2: revert to branch defaultsJo-Philipp Wich2020-02-271-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* OpenWrt v19.07.2: adjust config defaultsv19.07.2Jo-Philipp Wich2020-02-271-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* libubox: update to latest Git HEADJo-Philipp Wich2020-02-271-3/+3
| | | | | | | | | 7da6643 tests: blobmsg: add test case 75e300a blobmsg: fix wrong payload len passed from blobmsg_check_array Fixes: FS#2833 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 955634b473284847e3c8281a6ac85655329d8b06)
* ppp: backport security fixesPetr Štetiar2020-02-264-1/+129
| | | | | | | | | | | 8d45443bb5c9 pppd: Ignore received EAP messages when not doing EAP 8d7970b8f3db pppd: Fix bounds check in EAP code 858976b1fc31 radius: Prevent buffer overflow in rc_mksid() Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 215598fd03899c19a9cd26266221269dd5ec8cee) Fixes: CVE-2020-8597 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "ppp: backport security fixes"Jo-Philipp Wich2020-02-264-129/+1
| | | | | | | | This reverts commit 6b7eeb74dbf8b491b6426820bfa230fca60047dc since it didn't contain a reference to the CVE it addresses. The next commit will re-add the commit including a CVE reference in its commit message. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uhttpd: update to latest Git HEADJo-Philipp Wich2020-02-261-3/+3
| | | | | | | 2ee323c file: poke ustream after starting deferred program Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 04069fde19e86af7728111814afadf780bf08018)
* ppp: backport security fixesPetr Štetiar2020-02-204-1/+129
| | | | | | | | | 8d45443bb5c9 pppd: Ignore received EAP messages when not doing EAP 8d7970b8f3db pppd: Fix bounds check in EAP code 858976b1fc31 radius: Prevent buffer overflow in rc_mksid() Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 215598fd03899c19a9cd26266221269dd5ec8cee)
* hostapd: remove erroneous $(space) redefinitionJo-Philipp Wich2020-02-081-3/+0
| | | | | | | | | | | | | | | | | The $(space) definition in the hostapd Makefile ceased to work with GNU Make 4.3 and later, leading to syntax errors in the generated Kconfig files. Drop the superfluous redefinition and reuse the working $(space) declaration from rules.mk to fix this issue. Fixes: GH#2713 Ref: https://github.com/openwrt/openwrt/pull/2713#issuecomment-583722469 Reported-by: Karel Kočí <cynerd@email.cz> Suggested-by: Jonas Gorski <jonas.gorski@gmail.com> Tested-by: Shaleen Jain <shaleen@jain.sh> Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 766e778226f5d4c6ec49ce22b101a5dbd4306644)
* uboot-envtools: ath79: add Netgear WNDR3700v2Michal Cieslakiewicz2020-02-071-1/+2
| | | | | | | | | Add Netgear WNDR3700v2 to the list of supported boards. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> [rebase, adjusted commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a09408fa576c6482c21f683662cb2d5a49e14ecf)
* mac80211: brcm: backport remaining 5.6 kernel patchesRafał Miłecki2020-02-0710-3/+651
| | | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit aca274091ad3b50b770c0dd44f3ceefe8095d528)
* OpenWrt v19.07.1: revert to branch defaultsJo-Philipp Wich2020-01-291-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* OpenWrt v19.07.1: adjust config defaultsv19.07.1Jo-Philipp Wich2020-01-291-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* opkg: update to latest Git HEADJo-Philipp Wich2020-01-291-3/+3
| | | | | | | | | 80d161e opkg: Fix -Wformat-overflow warning c09fe20 libopkg: fix skipping of leading whitespace when parsing checksums Fixes: CVE-2020-7982 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit c69c20c6670081d1eaab000734d89de57eb64148)
* mac80211: Update to version 4.19.98Hauke Mehrtens2020-01-2737-570/+74
| | | | | | The removed patches are all integrated in the upstream version now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-ptm: vr9: fix skb handling in ptm_hard_start_xmit()Martin Schiller2020-01-262-1/+4
| | | | | | | | | | | Call skb_orphan(skb) to call the owner's destructor function and make the skb unowned. This is necessary to prevent sk_wmem_alloc of a socket from overflowing, which leads to ENOBUFS errors on application level. Signed-off-by: Martin Schiller <ms@dev.tdt.de> (cherry picked from commit 996f02e5bafad2815e72821c19d41fb5297e4dad)
* mbedtls: update to 2.16.4Magnus Kroken2020-01-262-24/+24
| | | | | | | | | | | | | | | | Fixes side channel vulnerabilities in mbed TLS' implementation of ECDSA. Release announcement: https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.4-and-2.7.13-released Security advisory: https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2019-12 Fixes: * CVE-2019-18222: Side channel attack on ECDSA Signed-off-by: Magnus Kroken <mkroken@gmail.com> (cherry picked from commit 6e96fd90471a49185bcfe9dcb4844d444674ecab)
* procd: update to version 2020-01-24Petr Štetiar2020-01-241-4/+4
| | | | | | | | | | | | Get only fix backports from openwr-19.07 procd branch: 31e4b2dfdbd7 state: fix reboot causing shutdown inside LXC container 557f11b3a20f instance: provide error feedback if ujail binary is missing 0a11aa405d3f instance: Fix instance_config_move_strdup() function 44dd9419812b instance: fix typo in error message 153820c76471 instance: fix pidfile and seccomp attributes double free Signed-off-by: Petr Štetiar <ynezz@true.cz>
* hostapd: fix faulty WMM IE parameters with ETSI regulatory domainsFelix Fietkau2020-01-232-0/+88
| | | | | | | | hostapd sets minimum values for CWmin/CWmax/AIFS and maximum for TXOP. The code for applying those values had a few bugs leading to bogus values, which caused significant latency and packet loss. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-envtools: ath79: add support for glinet,gl-ar150Kimmo Vuorinen2020-01-231-0/+3
| | | | | | | | | Add ubootenv uci config for GL.inet GL-AR150 Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com> [commit title/message facelift] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a8723c48add5cc8381d88234b9cdda2bb6a866aa)
* uboot-envtools: ar71xx: add support for gl-ar150/-domino/-mifiKimmo Vuorinen2020-01-231-0/+5
| | | | | | | | | Add ubootenv uci config for gl-ar150, gl-domino and gl-mifi Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com> [commit message/title facelift] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit dc6dfaac80f392baef1d0d7b06bb1fc19812e041)
* urngd: update to version 2020-01-21Petr Štetiar2020-01-211-3/+3
| | | | | | | | c7f7b6b65b82 Tag version 1.0.2 236b7a0aef21 Fix blocked entropy generation Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 3d8edd9bb4759f56df4482b3ed9c7fc26ed86028)
* urngd: update to latest Git headPetr Štetiar2020-01-211-4/+4
| | | | | | | | | | * 40f939d57c67 Tag version 1.0.1 * 9e758e6e6aec jitterentropy-rngd: update to version v1.1.0 + clang compile fix * 193586a25adc Fix wrong types in format strings used in debug build * d474977bb611 Add initial GitLab CI support Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit ed67b137c748365d7a3be886a2f5309c3bc44c48)
* libubox: update to version 2020-01-20Petr Štetiar2020-01-201-3/+3
| | | | | | | | | | | | | | | | | 43a103ff17ee blobmsg: blobmsg_parse and blobmsg_parse_array oob read fixes 5c0faaf4f5e2 tests: prefer dynamically allocated buffers 1ffa41535369 blobmsg_json: prefer snprintf usage 132ecb563da7 blobmsg: blobmsg_vprintf: prefer vsnprintf a2aab30fc918 jshn: prefer snprintf usage b0886a37f39a cmake: add a possibility to set library version a36ee96618a9 blobmsg: blobmsg_add_json_element() 64-bit values f0da3a4283b7 blobmsg_json: fix int16 serialization 20a070f08139 tests: blobmsg/json: add more test cases 379cd33d1992 tests: include json script shunit2 based testing Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 5c73bb12c82c078d8a93cb896348b41598ed9e19)
* fstools: backport fix from version 2020-01-18Petr Štetiar2020-01-201-3/+3
| | | | | | | | | | | | | Contains only the FS#2735 fix: 189b41b6b487 libblkid-tiny: fix f2fs labels by increasing label buffer Commit adding new feature wasn't backported (needs patched kernel anyway): f5c7c1813f52 fstools: Add support to read-only MTD partitions (eg. recovery images) Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 63000bfaf7163d97ac6feb343c7587e3d339e65e)
* hostapd: cleanup IBSS-RSNDaniel Golle2020-01-162-6/+2
| | | | | | | set noscan also for IBSS and remove redundant/obsolete variable. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 702c70264b388c2b47e171843f297f43c71b86b9)
* cryptodev-linux: remove DEFAULT redefinitionEneas U de Queiroz2020-01-151-1/+0
| | | | | | | | | The 'DEFAULT:=m if ALL' line prevents the phase1 buildbots from building the package, and users from downloading it, since they use 'ALL_KMODS=y' but 'ALL' is not set. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commit 9b25f833eb840527d07c47930de2c769115844f3)
* mac80211: fix a page refcounting issue leading to leaks/crashes in rx A-MSDU ↵Felix Fietkau2020-01-151-0/+25
| | | | | | | decap Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 9501469e1146c6d76b7dde6391479314897ba4d8)
* mac80211: fix sta TID stats leak on a few nl80211 callsFelix Fietkau2020-01-151-0/+21
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit d5b3024139089e38f57bd1827273d7fba8497635)
* ucert: update to version 2019-12-19Petr Štetiar2020-01-141-3/+3
| | | | | | | | | | | | | | | 14a279411cff fix certificate blob parsing vulnerability by using blob_parse_untrusted 19a7225ac018 fix leaking memory in cert_dump_blob 9dba44ddd4f5 fix possibly garbage value returned in cert_process_revoker 4462ff9dedfa add cram based unit tests 5fe64b5606aa cmake: split usign bits into static library 5d7626a2b6d8 cmake: reindent the file e284ed941972 cmake: enable hardening compiler flags and fix the reported issues 7e5390666347 add initial GitLab CI support fa0bf4ef45b1 cmake: add proper include and library dependencies Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 2544cb1ba377149a8663c7ac4a625d5399993e33)
* ethtool: fix PKG_CONFIG_DEPENDSMatthias Schiffer2020-01-071-1/+1
| | | | | | | Add missing CONFIG_ prefix. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> (cherry picked from commit 41c19dd542973dbc1336ecceaa32777506933cdf)
* OpenWrt v19.07.0: revert to branch defaultsHauke Mehrtens2020-01-061-2/+2
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* OpenWrt v19.07.0: adjust config defaultsv19.07.0Hauke Mehrtens2020-01-061-2/+2
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* dnsmasq: Fix potential dnsmasq crash with TCPHauke Mehrtens2020-01-062-1/+36
| | | | | | | | | | | | | | | | This is a backport from the dnsmasq master which should fix a bug which could cause a crash in dnsmasq. I saw the following crashes in my log: [522413.117215] do_page_fault(): sending SIGSEGV to dnsmasq for invalid read access from 2a001450 [522413.124464] epc = 004197f1 in dnsmasq[400000+23000] [522413.129459] ra = 004197ef in dnsmasq[400000+23000] This is happening in blockdata_write() when block->next is dereferenced, but I am not sure if this is related to this problem or if this is a different problem. I am unable to reproduce this problem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 414d0541381d432e69190f394dfe2a6e8122d6bb)
* ca-certificates: provide ca-certs by both ca-certificates and ca-bundleMaxim Storchak2020-01-051-2/+4
| | | | | | | | | | - both packages provide ca-certs - make ca-bundle the default provider This should allow easy transition between these two forms of CA certificates storage Signed-off-by: Maxim Storchak <m.storchak@gmail.com> (cherry picked from commit dd299805ad18472a8245b4524a25e4381e166057)
* package: remove accidentally added symlinkPetr Štetiar2020-01-051-1/+0
| | | | | | | | In the commit f3439c401900 ("procd: update to version 2020-01-04") I've somehow managed to add local testing symlink to the uledd package, so removing it now. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* fstools: update to latest Git HEADJo-Philipp Wich2020-01-051-3/+3
| | | | | | | 823faa0 block: re-discover mtd devices on extroot mount retry Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 22a178e89282c7bd5bb181fc5c2c5cb6ff2403c8)
* procd: update to version 2020-01-04Petr Štetiar2020-01-052-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains following changes: a5af33ce9a16 instance: strdup string attributes d2e8bf6ef7cf system: watchdog_set: fix misleading indentation 9814807bd71c system: sysupgrade: fix possibly misleading error c7a2db3c1eb6 system: sysupgrade: rework firmware validation ea45c4a0f07c system: fix failing image validation due to EINTR 4fde95506243 cmake: fix lookup of external libraries 5ed190aae1b3 jail: remove accidentally added lines 52c5c1980ba3 jail: set user and group inside jail 3aa051b44177 system: sysupgrade: close input side of pipe before reading f47622e89c4d instance: Warn about unexpected number of parameters 564ecdfd9cc4 instance: ujail: Fix allocated size for no_new_privs parameter 7fb2e1dfa221 procd: simplify code in procd_inittab_run 4a127c3c60af procd: replace exit(-1) with exit(EXIT_FAILURE) bc0a73eaad58 procd: add upgraded binary to .gitignore ba4c4dbbbd65 procd: add start-console support 3e39fe539490 procd: shift arguments for askfirst only once 5d6282906baf procd: skip respawn in case device disappeared d27949f12fd7 procd: guard fork_worker calls 258aa04328a2 procd: Add cached and available to memory table 8e9fb51fa66e procd: Switch to nanosleep c844ace9729a system: Fix possible integer overflows Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ubus: update to version 2019-12-27Petr Štetiar2020-01-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains following changes: 041c9d1c052b ubusd/libubus-io: fix socket descriptor passing 8f2292478c57 ci: enable unit testing a1523d76b016 fix blob parsing vulnerability by using blob_parse_untrusted c60583743ccf ubus_monitor: workaround possibly false positive uses of memory after it is freed dac6c7c575ac ubusd_monitor: fix possible null pointer dereference 060dfbb26da3 ubus_common: remove duplicate ARRAY_SIZE and add missing include c5f2053dfcfd workaround possibly false positive uses of memory after it is freed 72be8e93f07d lua: ubus_lua_do_subscribe: fix copy&paste error a995b1e68129 lua: workaround false positive dereference of null pointer 08f17c87a000 add fuzzer and cram based unit tests c413be9b376c refactor ubusd.c into reusable ubusd_library afd47189e864 examples: remove dead increments b2e544238672 add initial GitLab CI support 058f4e9526ed libubus: fix incompatible pointer types assigment d2e026a33df8 iron out all extra compiler warnings 5d7ca8309d0a ubusd/libubus-io: fix variable sized struct position warning d61282db5640 ubusd: fix comparison of integers of different signs 90fb16234c22 cmake: enable extra compiler checks 2e051f628996 ubus: Support static builds 588baa3cd784 ubusd: retry sending messages on EINTR 76ea27a62774 libubus: attempt to receive data before calling poll 4daab27d004f libubus: do not abort recv_retry before completing a message and bumps ABI_VERSION to 20191227. Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* libubox: update to version 2019-12-28Petr Štetiar2020-01-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains following changes: cd75136b1342 blobmsg: fix wrong payload len passed from blobmsg_check_array eb7eb6393d47 blobmsg: fix array out of bounds GCC 10 warning 86f6a5b8d1f1 blobmsg: reuse blobmsg_namelen in blobmsg_data 586ce031eaa0 tests: fuzz: fuzz _len variants of checking methods b0e21553ae8c blobmsg: add _len variants for all attribute checking methods cd3059796a57 Replace use of blobmsg_check_attr by blobmsg_check_attr_len 143303149c8b Ensure blob_attr length check does not perform out of bounds reads f2b2ee441adb blobmsg: fix heap buffer overflow in blobmsg_parse 4dfd24ed88c4 blobmsg: make blobmsg_len and blobmsg_data_len return unsigned value 2df6d35e3299 tests: add test cases for blobmsg parsing 8a34788b46c4 test: fuzz: add blobmsg_check_attr crashes 478597b9f9ae blob: fix OOB access in blob_check_type 325418a7a3c0 tests: use blob_parse_untrusted variant 0b24e24b93e1 blob: introduce blob_parse_untrusted 6d27336e4a8b blob: refactor attr parsing into separate function 833d25797b16 test: fuzz: add blob_parse crashes 09ee90f8d6ed tests: add test cases for blob parsing 436d6363a10b tests: add libFuzzer based tests bf680707acfd tests: add unit tests covered with Clang sanitizers f804578847de cmake: add more hardening compiler flags 46f8268b4b5b blobmsg/ulog: fix format string compiler warnings eb216a952407 cmake: use extra compiler warnings only on gcc6+ 07413cce72e1 tests: jshn: add more test cases 26586dae43a8 jshn: fix missing usage for -p and -o arguments 8e832a771d3a jshn: fix off by one in jshn_parse_file cb698e35409b jshn: jshn_parse: fix leaks of memory pointed to by 'obj' c42f11cc7c0f jshn: main: fix leak of memory pointed to by 'vars' 93848ec96dc5 jshn: refactor main into smaller pieces 9b6ede0e5312 avl: guard against theoretical null pointer dereference c008294a8323 blobmsg_json: fix possible uninitialized struct member 0003ea9c45cc base64: fix possible null pointer dereference 8baeeea1f52d add assert.h component b0a5cd8a28bf add cram based unit tests 1fefb7c4d7f9 add initial GitLab CI support c955464d7a9b enable extra compiler checks 6228df9de91d iron out all extra compiler warnings and bumps ABI_VERSION to 20191228. Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* base-files: sysupgrade: exit if the firmware download failedPetr Štetiar2020-01-052-2/+2
| | | | | | | | | | Sysupgrade process shouldn't continue if the firmware image couldn't be downloaded. Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-December/020940.html Reported-by: Petr Novák <petrn@me.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit cf3da66d2ce11a30ae2993b56276ade10c9bddb9)
* base-files: upgrade: add case to export_bootdeviceKlaus Kudielka2020-01-051-1/+13
| | | | | | | | | | | | | | The factory uboot of the Turris Omnia boots with "root=b301", and we instruct new users to sysupgrade from there (e.g. method 1, step 7). Currently, this will fail with "Unable to determine upgrade device". Add a new case to export_bootdevice, which parses the hex argument. Ref: https://github.com/openwrt/openwrt/pull/2340#issuecomment-561317688 Fixes: 2e5a0b81ec29 ("mvebu: sysupgrade: sdcard: keep user added partitons") Reviewed-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 3a4f587c465a0531b820ca1a3e90eb05c4927b68)
* wolfssl: bump to 4.3.0-stableEneas U de Queiroz2020-01-041-3/+3
| | | | | | | | This update fixes many bugs, and six security vulnerabilities, including CVE-2019-18840. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commit d5ede68f8b67f8fa2b4102b90e5dd3722172299a)
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-041-3/+3
| | | | | | 8a78567 mt76: fix compilation warning in mt76_eeprom_override() Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: fix incorrect firmware pathDavid Bauer2020-01-041-2/+2
| | | | | | | | | | | | | The mt76 driver does load the firmware for the MT7615 chip from /lib/firmware/mediatek instead of /lib/firmware. The driver loads the firmware from this path since mt76 commit ea3ab68c7589 ("mt76: mt7615: fix mt7615 firmware path definitions"). Fixes: a2e2c40b5ebd ("mt76: update to the latest openwrt-19.07 version") Reported-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Segers <foss@volatilesystems.org>
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 330e832 mt76: mt76x0: fix default mac address overwrite f97c33e mt76: mt7603: fix input validation issues for powersave-filtered frames 875f6d7 mt76: mt7615: increase MCU command timeout abd7d86 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup 96c7b07 mt76: eeprom: add support for big endian eeprom partition 19c8e20 mt76: fix possible undetected invalid MAC address df64c56 mt76: Off by one in mt76_calc_rx_airtime() 1702b24 mt76: mt7603: reset STA_CCA counter setting the channel 383a631 mt76: mt76x0u: do not reset radio on resume 2dcfbdd mt76: disable bh in mt76_dma_rx_poll 947d20d mt76: fix rx dma ring descriptor state on reset f3348f5 mt7615: replace sta_state callback with sta_add/sta_remove faf5e6f mt76: mt7615: read {tx,rx} mask from eeprom db78ee0 mt76: move mt76_get_antenna in mt76_core module 7121e16 mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs 5dfb0ec mt76: mt7615: disable radar pattern detector during scanning e2f90ad mt76: move interface_modes definition in mt76_core module cfdb751 mt76: mt7615: add ibss support e0731a8 mt76: move SUPPORTS_REORDERING_BUFFER hw property in mt76_register_device a85c06c mt76: use mt76_dev in mt76_is_{mmio,usb} ea19cd7 mt76: Remove set but not used variable 'idx' 3cbaf81 mt76: mt76u: rely on a dedicated stats workqueue 20f0589 mt76: mt76u: rely on usb_interface instead of usb_dev f2be00b mt76: dma: fix buffer unmap with non-linear skbs c14d656 mt76: mt76x2e: disable pcie_aspm by default 58e1e96 mt76: mt7615: remove unneeded semicolon c93a2d1 mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb 1987b74 mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate 50b1e9b mt76: refactor cc_lock locking scheme d868638 mt76: remove obsolete .add_buf() from struct mt76_queue_ops dc14ac6 mt7615: remove vif sta from poll list on interface remove 2a0a191 mt7603: remove vif sta from poll list on interface remove d3a5895 mt76: fix a-mpdu boundary detection issue for airtime reporting 391e148 mt76: add sanity check for a-mpdu rx wcid index 01642d8 mt76: mt76x02: fix use-after-free in tx status code handling airtime c11a4ad mt76: mt76x0: eeprom: add support for MAC address from OF d94cc81 mt76: drop rcu read lock in mt76_rx_aggr_stop 7d8764d mt76: avoid enabling interrupt if NAPI poll is still pending 5b02a07 mt76: add missing locking around ampdu action 71c2ef0 mt76: fix aggregation stop issue 6f7d0f5 mt76: fix use-after-free bug in airtime fairness code 8f22de0 mt76: do not use devm API for led classdev e7199f9 mt76: enable airtime fairness 81f2be0 mt76: mt7615: track tx/rx airtime for airtime fairness 2579122 mt76: mt7615: introduce mt7615_mac_wtbl_update routine d91f7c1 mt76: mt7615: fix survey channel busy time 028071d mt76: mt7615: report tx_time, bss_rx and busy time to mac80211 0e5050e mt76: mt76x02: track approximate tx airtime for airtime fairness and survey 3429cc7 mt76: mt76x02: move MT_CH_TIME_CFG init to mt76x02_mac_cc_reset de118bb mt76: unify channel survey update code fdf0163 mt76: mt7603: switch to a different counter for survey busy time ee31030 mt76: mt7603: track tx airtime for airtime fairness and survey f34b1ae mt76: track rx airtime for airtime fairness and survey a1d6891 mt76: store current channel survey_state in struct mt76_dev b042987 mt76: rename mt76_driver_ops txwi_flags to drv_flags and include tx aligned4 2027763 mt76: report rx a-mpdu subframe status 1ddcadb mt76: mt7603: remove q_rx field from struct mt7603_dev ea3ab68 mt76: mt7615: fix mt7615 firmware path definitions 081926a mt76: mt7603: collect aggregation stats 696c0fc mt76: mt7615: collect aggregation stats 23e8aed mt76: move aggr_stats array in mt76_dev 1118b5e mt76: mt7615: add queue entry in debugfs fbc59e6 mt76: move queue debugfs entry to driver specific code 0b01ace mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module c394887 mt76: mt76x0u: reset counter starting the device 0355b7a mt76: mt76x2: move mt76x02_mac_reset_counters in mt76x02_mac_start f3792b5 mt76: mt76x02: move mac_reset_counter in mt76x02_lib module 63e8152 mt76: mt7615: enable SCS by default b140512 mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller a20c20b mt76: usb: add lockdep_assert_held in __mt76u_vendor_request 0308d75 mt76: remove empty flag in mt76_txq_schedule_list 0efbc5d mt76: use cancel_delayed_work_sync in mt76_rx_aggr_shutdown 9c5df3c mt76: remove aggr_work field from struct mt76_wcid 8739f87 mt76: mt7615: fix control frame rx in monitor mode e07407a mt7603: fix build with CONFIG_KERNEL_DYNAMIC_DEBUG=y c7f8214 mt76: mt7615: add support to read temperature from mcu 6797378 mt76: mt7615: introduce mt7615_txwi_to_txp utility routine 496c78e mt76: mt76x0: remove unneeded return value on set channel 1d2acd5 mt76: mt76x0: remove redundant chandef copy 0167bfa mt76: make mt76_rx_convert static Signed-off-by: David Bauer <mail@david-bauer.net>
* rt2x00: add throughput LED triggerDavid Bauer2019-12-301-0/+44
| | | | | | | | | | This adds a (currently missing) throughput LED trigger for the rt2x00 driver. Previously, LED triggers had to be assigned to the netdev, which was limited to a single VAP. Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Christoph Krapp <achterin@googlemail.com> (cherry picked from commit 985ec835aea100e9245baaef8ebb15628601fe5e)