2210 Commits

Author SHA1 Message Date
John Crispin
4d0e34a194 patches: replace mediatek build tree hacks with fw3 variant (0061)
Remove obsolete mediatek-sdk build tree integration patches (0067, 0069)
and replace with a cleaner approach using a firewall3 default packages
variant. This simplifies the MediaTek SDK integration for OpenWrt 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
5b9baf5119 patches: fix crypto module packaging for older kernels (0060)
The MediaTek SDK uses kernel 5.4.271 which requires adjustments to
the crypto module packaging:

1. The gf128mul module location changed between kernel versions:
   - Kernels < 6.2: crypto/gf128mul.ko
   - Kernels >= 6.2: lib/crypto/gf128mul.ko
   Add version-specific file paths to handle both locations.

2. The sha512-arm64 module doesn't exist in older ARM64 kernels like 5.4,
   causing package build failures. Exclude this module for the mt7981
   target which uses the older MediaTek SDK kernel.

These changes allow the kernel modules to build correctly whilst
maintaining compatibility with newer kernel versions.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
3b1ccdf4e9 patches: add kernel 5.4.271 hash for MediaTek SDK (0059)
Add kernel version and hash for MediaTek target using Linux 5.4.271
from the MediaTek SDK external feed.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
a7313c707a patches: carry forward LED turnoff command (0058)
Adds a turnoff command to the LED script for disabling LEDs via the led command.

Renumbered from patches/0014.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
5ee1804d86 patches: carry forward DHCP options 138 and 224 support (0057)
Adds support for DHCP option 138 (CAPWAP AC) and option 224 (private/site-specific) in netifd and busybox udhcpc.

Renumbered from patches/0101.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
c4aeb0b3e1 patches: consolidate hostapd TIP patches (0056)
Consolidates all TIP-specific hostapd patches into a single patch including drop script, TIP extensions, shell scripts, global_ban support, builtin patches sync, and radar notification fixes.

Consolidated from patches 0020-0025.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
f753b0f226 patches: add ugps warning fixes (0055)
Silences compiler warnings in ugps build.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
7b7bddf633 patches: add ubox warning fixes (0054)
Silences compiler warnings in ubox build.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
b21b7c5bb9 patches: carry forward Morse Micro iwinfo support (0053)
Adds iwinfo support for Morse Micro wireless chipsets.

Renumbered from patches/0089.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
24eaf6da9e patches: carry forward uci-defaults sync (0052)
Adds sync after uci-defaults execution to ensure changes are written to disk.

Renumbered from patches/0096.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
715e50abdd patches: carry forward WWAN modemmanager support (0051)
Calls modemmanager script to set up Quectel LTE modems for WWAN connectivity.

Renumbered from patches/0093.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
c0e7c5d0fd patches: carry forward IPQ807x UBI force detach (0050)
Adds UBI force detach patch for IPQ807x to handle problematic UBI volumes.

Renumbered from patches/0071.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
d573996d08 patches: carry forward Japan channel 14 fix (0049)
Fixes channel 14 configuration in wireless regulatory database for Japan.

Renumbered from patches/0099.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
6c9df1c826 patches: carry forward yuncore ax820 partition update (0048)
Adds insta1 and insta2 partitions to yuncore ax820 device tree.

Renumbered from patches/0097.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
81f569ba54 patches: add IPQ807x sysupgrade config behaviour (0047)
Prevents carrying configuration over during sysupgrade on IPQ807x targets.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
7b83658bc5 patches: carry forward Indio UM-305AX device support (0046)
Adds device support for Indio UM-305AX on MT7621 platform.

Renumbered from patches/0058.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2a9713fc14 patches: add description to 0045-ramips-add-certificates-partitions
Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
53bbf45c48 patches: carry forward ramips certificates partition (0045)
Adds certificates partition to ramips device tree for secure storage.

Renumbered from patches/0057.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2031d7d0e3 patches: add EdgeCore EAP111 device fixes (0044)
Device-specific fixes for EdgeCore EAP111 MediaTek platform.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
5bcec18afb patches: carry forward ucode nl80211 QCA support (0043)
Adds lib/nl80211 support for QCA WiFi 6/7 nl80211 operations in ucode.

Renumbered and updated from patches/0081.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
f3cb3fe4d7 patches: carry forward RTL8367C/S switch support (0042)
Adds compile option for RTL8367C/S switch support.

Renumbered from patches/0054.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
ba1763b01b patches: carry forward busybox NTP priority fix (0041)
Prevents using pool NTP servers if DHCP-provided NTP servers are available.

Renumbered from patches/0079.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
4c71fe5aee patches: carry forward fwtool EST support check (0040)
Checks for EST (Enrollment over Secure Transport) support if the certificate was issued via EST.

Renumbered from patches/0091.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
18de3bf9f3 patches: add gpio-button-hotplug compatibility fix (0039)
Fixes gpio-button-hotplug compilation on older kernel versions.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
408a880b49 patches: carry forward WiFi interface renaming revert (0038)
Reverts upstream WiFi interface/device renaming changes from <phy>-<type><index> back to traditional wlan<N> naming to maintain compatibility with existing configurations.

Renumbered from patches/0026. In 24.10 the script moved from mac80211 package to wifi-scripts package.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
48d003b3c8 patches: carry forward rootfs size increase (0037)
Increases rootfs size to 500M for targets requiring larger firmware images.

Renumbered and generalised from patches/0085.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
18a711ba1e patches: carry forward netifd PSK2+RADIUS support (0036)
Adds support for WPA2-PSK with RADIUS accounting (PSK2+RADIUS mode).

Renumbered from patches/0034.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
49942e244d patches: carry forward netifd swconfig reload optimisation (0035)
Only reloads swconfig if configuration actually changed, avoiding unnecessary switch resets.

Renumbered from patches/0033.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
4ab04dd3ff patches: carry forward netifd GCMP-256 support (0034)
Adds GCMP-256 as a cipher suite when SAE is enabled, particularly for 6GHz operation.

Renumbered from patches/0090.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
15c117ddf3 patches: carry forward India DFS region fix (0033)
Adds DFS region configuration for India wireless regulatory compliance.

Renumbered from patches/0073.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
c66595294a patches: carry forward ubox log priority filtering (0032)
Adds log priority filtering capability to ubox logread.

Renumbered from patches/0075.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
4fa4b7ffe6 patches: carry forward libubox CLOCK_BOOTTIME (0031)
Uses CLOCK_BOOTTIME instead of CLOCK_MONOTONIC for better suspend/resume handling.

Renumbered from patches/0042.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
1451c0aa13 patches: carry forward libubox runqueue fix (0030)
Prevents clearing the cancelled flag when a runqueue task is cancelled.

Renumbered from patches/0041.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
8f21896227 patches: carry forward dnsmasq EDNS options (0029)
Enables EDNS configuration options including CPE-ID and other extensions.

Renumbered from patches/0039.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
9860aeb3e1 patches: carry forward dnsmasq ifb-dhcp ignore (0028)
Configures dnsmasq to ignore DHCP on the ifb-dhcp interface.

Renumbered from patches/0038.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
64309085e8 patches: carry forward yuncore ax820 SPI fix (0027)
Reduces SPI clock speed to 20MHz for yuncore ax820 to fix stability issues.

Renumbered from patches/0050.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
1e0b4da8c1 patches: carry forward ugps AFC fields (0026)
Adds AFC (Automated Frequency Coordination) related fields to ubus GPS info command.

Renumbered from patches/0076.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2837f4406a patches: carry forward busybox DHCP supersede fix (0025)
Fixes issue where DHCP client would sometimes send supersede requests incorrectly.

Renumbered from patches/0087.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
6bf7c2306d patches: carry forward busybox watchdog enable (0024)
Enables the watchdog tool in busybox configuration for device monitoring.

Renumbered from patches/0008.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
64af62042f patches: carry forward nand.sh removal (0023)
Removes nand.sh from base-files as NAND handling is now done by the sysupgrade framework.

Renumbered and generalised from patches/0065.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
ccdda654c0 patches: carry forward ucidef_set_wireless_macaddr_base (0022)
Adds helper function to set wireless MAC address base in board configuration.

Renumbered from patches/0083.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
d0dba71673 patches: carry forward interface generation disable (0021)
Prevents automatic generation of default network interfaces on first boot, allowing full uCentral control.

Renumbered from patches/0082.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
b37b1e4c6e patches: carry forward ucentral-schema hash tracking (0020)
Adds wlan-ucentral-schema revision hash to /etc/openwrt_release for version tracking.

Renumbered from patches/0087.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
affead153e patches: carry forward CI_FWSETENV support (0019)
Adds support for CI_FWSETENV environment variable for firmware environment manipulation.

Renumbered from patches/0018.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
4c640fa16e patches: carry forward ucidef_set_wifi_country (0018)
Adds helper function to set WiFi country code in board configuration.

Renumbered from patches/0017.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
fbf236413b patches: carry forward sysupgrade safety flag (0017)
Makes sysupgrade default to not preserving configuration unless explicitly requested with -f flag.

Renumbered from patches/0013.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
a84610bbf1 patches: carry forward wlan-ap repo hash (0016)
Adds the wlan-ap repository hash to /etc/openwrt_release for version tracking.

Renumbered from patches/0012.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
04a294afec patches: carry forward banner update (0015)
Updates the login banner with TIP/OpenWiFi branding.

Renumbered from patches/0011.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
1a3a475e1c patches: carry forward default password setting (0014)
Sets the default root password to 'openwifi' for initial device access.

Renumbered from patches/0010.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
808b47789e patches: add serial console login enforcement (0013)
Forces users to log in on the serial console for security, removing automatic root access.

New patch for 24.10.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00