aboutsummaryrefslogtreecommitdiff
path: root/package
Commit message (Collapse)AuthorAge
...
* lldpd: extended interface(s) parsing to handle patternsPaul Donald2024-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For interface type parameters, the man page documents patterns: ``` *,!eth*,!!eth1 uses all interfaces, except interfaces starting with "eth", but including "eth1". ``` * Renamed `_ifname` to `_l2dev`. * get the l2dev via network_get_physdev (and not l3dev) * Glob pattern `*` is also valid - use noglob for this The net result is that now interface 'names' including globs '*' and '!' inversions are included in the generated lldpd configs. Temporarily `set -o noglob` and then `set +o noglob` to disable & enable globbing respectively, because when we pass `*` as an interface choice, other file and pathnames get sucked in from where the init script runs, and the `*` never makes it to lldpd. Tested extensively on: 22.03.6, 23.05.3 Signed-off-by: Paul Donald <newtwen+github@gmail.com> [ squash with commit bumping release version ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* uclient: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | e8780fa7792a uclient: fix http regression Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uclient: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | 704c78111a92 uclient-http: use ustream_ssl without ustream_fd Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | 524a76e5af78 ustream-ssl: add support for using a fd instead of ustream as backing Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-mvebu: update to version 2024.04Robert Marko2024-04-19
| | | | | | | | | Lets update to 2024.04 in order to drop all of the patches as they have been merged upstream. Tested on Methode eDPU. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
* uclient: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | c2bf660d88ec lib: add log_msg callback to get more detailed log messages 9adb4ca5219d uclient-fetch: add uclient / ustream-ssl log messages (enabled via -v) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | f9a28a9ce864 ustream-ssl: poll connection on incomplete reads 3c49e70c4622 ustream-ssl: increase number of read buffers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | | 60d8fbb5e669 mbedtls: handle session tickets for TLS 1.3 ac42af7981ae mbedtls: add ifdefs to fix legacy compatibility af7c3532ad49 mbedtls: another cosmetic ifdef fix Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: reduce IPv6 ULA prefix generation to a single callPaul Donald2024-04-18
| | | | | | | | | | | Reduce calls and pipes and read from urandom once directly with hexdump for the necessary 5 bytes of random data to build the 48 bit ULA Prefix. Fewer calls and forks; finish quicker; less memory used. Tested on: 23.05.3 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* mac80211: ath11k: re-enable ipq807x coldboot calibrationRobert Marko2024-04-18
| | | | | | | | | It seems that move to kernel 6.6 somehow fixed the remoteproc restart so now it properly restarts and thus coldboot calibration works as well. ipq60xx still seems to be broken in a different way so keep it disabled. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qca-nss-dp: add patch fixing rmmod and insmodChristian Marangi2024-04-18
| | | | | | | | | | | Add patch fixing rmmod and insmod. Lots of flawed logic fixed that permits the module to correctly rmmod and insmod later. Just to quote some change, use phy_detach instead of phy_disconnect, fix exclusive reset_control that could only be used once, fix kernel panic on second edma_cleanup, stop traffic before module exit... Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq807x: add support for Zbtlink ZBT-Z800AXChukun Pan2024-04-17
| | | | | | | | | | | | | | | | | | | Hardware specifications: SoC: Qualcomm IPQ8072A RAM: 1GB of DDR4 600MHz Flash1: Winbond W25Q64DW 8MB Flash2: MX30UF2G28AD 256MB WiFi1: QCN5024 2.4GHz AX 4x4 WiFi2: QCN5054 5GHz AX 4x4 Ethernet: 5x 1G RJ45 port USB: 2x USB 3.0 (1x M.2) Button: Reset, WPS Flash instructions: Upload factory.bin in stock firmware's upgrade page, do not preserve settings. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* ipq-wifi: update to version 2024-04-16Chukun Pan2024-04-17
| | | | | | | | | | | Contains following updates: * ipq8074: add Spectrum SAX1V1K BDF * ipq8074: add Zbtlink ZBT-Z800AX BDF * ipq8074: update regdb in Spectrum SAX1V1K BDF * ipq6018: add Linksys MR7350 BDF Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* qmi: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for qmi Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* mbim: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for mbim Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ncm: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for ncm Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ipset: update to 7.21Chuanhong Guo2024-04-17
| | | | | | | | | release notes: 7.21: https://www.spinics.net/lists/netfilter-devel/msg85299.html 7.20: https://www.spinics.net/lists/netfilter-devel/msg85120.html 7.19: https://www.spinics.net/lists/netfilter-devel/msg82985.html Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ipset: include libgen.h for basenameChuanhong Guo2024-04-17
| | | | | | | musl dropped the GNU version of basename prototype from string.h in 1.2.5. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* Revert "elfutils: fix a missing typedef in the last update"Felix Fietkau2024-04-15
| | | | | | | This reverts commit a9e22ffa5028e303dc32d15f1ce5e1be4c20e125. After doing a clean rebuild, it turns out that this change is not necessary Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: add missing error checks to packet steering scriptFelix Fietkau2024-04-15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* elfutils: fix a missing typedef in the last updateFelix Fietkau2024-04-15
| | | | | | Fixes perf Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bridger: update to Git HEAD (2024-04-15)Felix Fietkau2024-04-15
| | | | | | | | 3159bbe0a2eb improve isolation when selecting a fixed output port c77a7a1ff74d nl: fix getting flow offload stats a08e51e679dd add support for disabling bridge-local flows via config Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-rockchip: Update to 2024.04Tianling Shen2024-04-14
| | | | | | Removed upstreamed patch. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rkbin: bump to latest git HEADTianling Shen2024-04-14
| | | | | | | Fixed bugs for memory initialization/training, improved memory compatibility/stability. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* elfutils: update to 1.91Tony Ambardar2024-04-14
| | | | | | | | | | Release Notes: https://sourceware.org/pipermail/elfutils-devel/2024q1/006876.html Refresh patch: - 005-build_only_libs.patch Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* netifd: rewrite packet steering scriptFelix Fietkau2024-04-14
| | | | | | | | | | | The new script uses a different strategy compared to the previous one. Instead of trying to split flows by hash and spread them to all CPUs, use RPS to redirect packets to a single core only. Try to spread NAPI thread and RPS target CPUs across available CPUs and try to ensure that the NAPI thread is on a different CPU than the RPS target. This significantly reduces cycles wasted on the scheduler. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath11k: support DT property to limit channelsRobert Marko2024-04-13
| | | | | | | | Limiting allowed channels per device may be required and is commonly supported on other drivers, so include a pending patch to add support for the same. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mac80211: improve mesh fast tx patchFelix Fietkau2024-04-13
| | | | | | | Change hash key struct size for faster lookup. Fix clearing cache entries for forwarding Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix a crash corner caseFelix Fietkau2024-04-13
| | | | | | On some setup failures, iface->bss can be NULL Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-d1: define default BUILD_SUBTARGETTianling Shen2024-04-13
| | | | | | | | | As commit 3ce1e4c3d3da ("d1: define subtarget specifically") added the 'generic' subtarget, without 'BUILD_SUBTARGET' the correspond U-Boot package will be no longer selected automatically. Fixes: 3ce1e4c3d3da ("d1: define subtarget specifically") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* bpftool: Update to v7.4.0Tony Ambardar2024-04-13
| | | | | | | | | | Update to the latest upstream release to include recent improvements and bugfixes. Update copyright, fix typo in PKG_NAME, and remove unneeded use of MAKE_VARS definition in Makefile. Drop 001-cflags.patch and simplify 002-includes.patch after refreshing. Also simplify LTO/DCE build flags. Link: https://github.com/libbpf/bpftool/releases/tag/v7.4.0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* libbpf: Update to v1.4.0Tony Ambardar2024-04-13
| | | | | | | | | | Update to the latest upstream release to include recent improvements and bugfixes, and update copyright. Remove MAKE_VARS usage in Makefile and drop 001-cflags.patch which are no longer needed. Also add flags to disable LTO, mistakenly dropped earlier. Link: https://github.com/libbpf/libbpf/releases/tag/v1.4.0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* lldpd: make management address advertisement controllablePaul Donald2024-04-12
| | | | | | | | | | Defaults to off. Available from >= 0.7.15 These are sent in TLV Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* lldpd: make capabilities advertisement controllablePaul Donald2024-04-12
| | | | | | | | | | Defaults to off. Only available from >= 1.0.15 These capabilities are sent in TLV. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* lldpd: note about capabilitiesPaul Donald2024-04-12
| | | | | | | | | only available from >= 1.0.15 Comments are useful. Apparently this config parameter was committed when openwrt used an older version of lldpd which did not yet support it. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* lldpd: fix restartPaul Donald2024-04-12
| | | | | | | | | | | | | | | | | | | Redirection broke in 5364fe0f01ca ("lldpd: shellcheck fixes") redirects to /dev/null shall be handled correctly (i.e. last). This fixes these errors on `/etc/init.d/lldpd reload`: 2024-03-16T20:39:00 [WARN/lldpctl] unknown command from argument 1: `/dev/null` 2024-03-16T20:39:00 [WARN/lldpctl] unknown command from argument 1: `/dev/null` 2024-03-16T20:39:00 [WARN/lldpctl] unknown command from argument 1: `/dev/null` 2024-03-16T20:39:00 [WARN/lldpctl] unknown command from argument 1: `/dev/null` Tested-on: 22.03.6 Fixes: 5364fe0f01ca ("lldpd: shellcheck fixes") Signed-off-by: Paul Donald <newtwen+github@gmail.com> [ improve commit description, add fixes tag ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* package: kernel: leds-gca230718: fix build with Linux 6.6Daniel Golle2024-04-12
| | | | | | | | | | | Starting with Linux 6.3 the .probe call no longer got the id parameter, see also commit torvalds/linux@03c835f498b5 ("i2c: Switch .probe() to not take an id parameter"). As the parameter is anyway unused by the driver, drop it when building the GCA230718 LED driver for newer kernels. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: add support for Edgecore EAP111Robert Marko2024-04-11
| | | | | | | | | | | | | | | | | | | HW specifications: * Mediatek MT7981A * 256MB SPI-NAND * 512MB DRAM * Uplink: 1 x 10/100/1000Base-T Ethernet, Auto MDIX, RJ-45 with 802.3at PoE (Built-in GBe PHY) * LAN: 1 x 10/100/1000Base-T Ethernet, Auto MDIX, RJ-45 (Airoha EN8801SC) * 1 Tricolor LED * Reset button * 12V/2.0A DC input Installation: Board comes with OpenWifi/TIP which is OpenWrt based, so sysupgrade can be used directly over SSH. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
* kernel: add kmod-hwmon-emc2305 supportOleg S2024-04-10
| | | | | | | This module supports the Microchip Technology Inc (SMSC) EMC2301/EMC2302/EMC2303/EMC2305 fan speed PWM controller chips. Signed-off-by: Oleg S <remittor@gmail.com>
* ucode: update to Git HEAD (2024-04-07)Felix Fietkau2024-04-09
| | | | | | | | | | 1220992631d5 ubus: automatically clear error information d6fd94014eea uci: automatically clear error information 99837f280b61 uloop: automatically clear error information be767ae197ba vm: rework `in` operator semantics 4ade84e8fb81 ubus: add explicit support for deferring incoming requests Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: remove implicit SUBTARGETPaul Spooren2024-04-08
| | | | | | | | | | | | | | | | | | Historically it's possible to leave the `SUBTARGETS` undefined and automatically fallback to a "generic" subtarget. This however breaks various downstream scripts which may have expectations around filenames: While some targets with an explicit generic subtarget contain `generic` in the filenames of artifacts, implicit "subtargets" don't. Right now this breaks the CI[1], possibly also scripts using the ImageBuilders. This commit removes all code that support implicit handling of subtargets and instead requires every target to define "SUBTARGETS". [1]: https://github.com/openwrt/openwrt/actions/runs/8592821105/job/23548273630 Signed-off-by: Paul Spooren <mail@aparcar.org>
* uclient: update to Git HEAD (2024-04-05)Felix Fietkau2024-04-07
| | | | | | | | | | | | | | e209a4ced1d8 add strdupa macro for compatibility af1962b9a609 uclient: add helper function for getting ustream-ssl context/ops 488f1d52cfd2 http: add helper function for checking redirect status b6e5548a3ecc uclient: defer read notifications to uloop timer 352fb3eeb408 http: call ustream_poll if not enough read data is available e611e6d0ff0b add ucode binding ddb18d265757 uclient: add function for getting the amount of pending read/write data 980220ad1762 ucode: fix a few ucode binding issues 6c16331e4bf5 ucode: add support for using a prototype for cb, pass it to callbacks Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: minor fix to mmc_get_mac_ascii functionRodrigo Balerdi2024-04-07
| | | | | | | This is mostly a cosmetic cleanup. The absence of the return statement was not causing any problems. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
* ustream-ssl: update to Git HEAD (2024-04-07)Felix Fietkau2024-04-07
| | | | | | | | | | | 7621339d7694 mbedtls: fix build on non-linux systems 268050964b08 ustream-mbedtls: add missing psa_crypto_init call 956fba242ac0 add callbacks for debug messages 9fdf3fb87af5 mbedtls: add TLS 1.3 ciphers 28c4c1e6471b mbedtls: disable TLS 1.3 in client mode when skipping verification d61493a44204 mbedtls: add missing ifdef for build with disabled debug Signed-off-by: Felix Fietkau <nbd@nbd.name>
* at91bootstrap: update PKG_MIRROR_HASH to zstd for v3 at91bootstrapRobert Marko2024-04-07
| | | | | | | | | | | | So, when updating the hash for at91bootstrap it was done via CHECK_ALL=1 so that updated the PKG_MIRROR_HASH for the main v4 version hash, but at91bootstrap checkout version depends on the subtarget as well. Choosing to build for sam9x will change the at91bootstrap version to v3 and this hash was not refreshed thus causing the CI to fail. Fixes: 6918c637b797 ("treewide: package: update missed hashes after switch to ZSTD") Signed-off-by: Robert Marko <robimarko@gmail.com>
* treewide: package: update missed hashes after switch to ZSTDRobert Marko2024-04-07
| | | | | | | | With the switch to ZSTD for git clone packaging, hashes have changed so fixup remaining package hashes that were missed in the inital update. Fixes: b3c1c57 ("treewide: update PKG_MIRROR_HASH to zst") Signed-off-by: Robert Marko <robimarko@gmail.com>
* nu801: update PKG_MIRROR_HASH to zstRobert Marko2024-04-07
| | | | | | | | When using zst instead of xz, the hash changes. This was missed in the initial treewide updated. Fixes: b3c1c57a35a0 ("treewide: update PKG_MIRROR_HASH to zst") Signed-off-by: Robert Marko <robimarko@gmail.com>
* wifi-scripts: fix creation of IBSS in legacy (non-HT) modeAlexandru Gagniuc2024-04-07
| | | | | | | | | | | | | | | | | | | | | When an IBBS interface is configured for IBSS legacy mode, wdev.htmode is empty. This is empty string results in an empty positional argument to the "ibbs join" command, for example: iw dev phy0-ibss0 ibss join crymesh 2412 '' fixed-freq beacon-interval 100 This empty argument is interpreted as an invalid HT mode by 'iw', causing the entire command to fail and print a "usage" message: daemon.notice netifd: radio0 (4527): Usage: iw [options] \ dev <devname> ibss join <SSID> <freq in MHz> ... Although nobody will ever need more than 640K of IBSS, explicitly use "NOHT" if an HT mode is not given. This fixes the problem. Fixes: e56c5f7b276a ("hostapd: add ucode support, use ucode for the main ubus object") Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [extend to cover more cases]
* treewide: update PKG_MIRROR_HASH to zstPaul Spooren2024-04-06
| | | | | | | When using zst instead of xz, the hash changes. This commit fixes the hash for packages and tools in core. Signed-off-by: Paul Spooren <mail@aparcar.org>
* gettext-full: link libiconv when building host pkgYanase Yuki2024-04-05
| | | | | | | | On Fedora 40 system, some compile error happens when building iconv-ostream.c. Linking to libiconv-full fixes this. Signed-off-by: Yanase Yuki <dev@zpc.st>