Commit Graph

2115 Commits

Author SHA1 Message Date
John Crispin
9cd7a0475e nat46-qca: update PKG_MIRROR_HASH for 24.10
Update the package mirror hash as OpenWrt 24.10 uses a new digest
algorithm.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2e5afc692f hostapd: update PKG_MIRROR_HASH for 24.10
Update the package mirror hash as OpenWrt 24.10 uses a new digest
algorithm.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
948946bb51 feeds: update package hashes
Update package mirror hashes for ucrun and bridger as 24.10 uses a new digest algorithm.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
0850f215c5 ucentral-schema: fix ucentral-gps init script to prevent boot log spam
Add quiet flag to uci command to suppress error messages when GPS
configuration doesn't exist, preventing unnecessary log spam during
boot.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
aed20d2516 ucentral-schema: fix onlinecheck init script to prevent boot log spam
Add quiet flag to uci command and check for empty interval to suppress
error messages when onlinecheck configuration doesn't exist, preventing
unnecessary log spam during boot.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
3f57866846 ucentral-event: fix wifiscan init script to prevent boot log spam
Add quiet flag to uci command to suppress error messages when event
configuration doesn't exist, preventing unnecessary log spam during
boot.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
27e9f05908 ucentral-client: fix init script file handling
Add file existence checks before reading gateway.json and initialise
variables to prevent boot log spam when configuration file doesn't
exist.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
e5b3a6506b cloud_discovery: fix init script file handling
Add file existence check before reading gateway.json, fix variable
assignment typo, and improve error output redirection to prevent boot
log spam when configuration files don't exist.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
d7adb9ec5f rtty: fix init script error handling
Fix variable quoting in test conditions and remove explicit stderr
redirects to improve error message handling and prevent boot log spam.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
f3cfa2be93 udnssnoop: fix init script to prevent boot log spam
Add quiet flag to uci command to suppress error messages when qosify
configuration doesn't exist, preventing unnecessary log spam during
boot.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
01f809d5c4 ucentral-tools: add clang-format configuration
Add clang-format configuration file used for code formatting.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
1ac05ccc68 ucentral-tools: format radiusprobe.c with clang-format
Apply clang-format and fix code quality issues found by cppcheck:
- Consistent pointer style
- Standardise indentation and brace style
- Improve code readability

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
d701eeda6b ucentral-tools: format firstcontact.c with clang-format
Apply clang-format and fix code quality issues found by cppcheck:
- Consistent pointer style
- Standardise indentation and brace style
- Improve code readability

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
31a2888b77 ucentral-tools: format dnsprobe.c with clang-format
Apply clang-format and fix code quality issues found by cppcheck:
- Consistent pointer style
- Standardise indentation and brace style
- Improve code readability

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
190bccf588 ucentral-tools: format dhcpdiscover.c with clang-format
Apply clang-format and fix code quality issues found by cppcheck:
- Consistent pointer style (char* → char *)
- Fix variable shadowing issues
- Improve error message formatting
- Standardise indentation and brace style

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
afdfb5aa4a ucentral-tools: modernise build system and remove ip-collide
Update CMakeLists.txt to CMake 3.10 with comprehensive compiler
warnings and security hardening flags. Add strict warning flags
(-Wall, -Wextra, -Werror plus ~30 additional checks) and security
features (stack protector, RELRO). Separate Debug/Release
configurations with appropriate optimisation flags.

Remove ip-collide tool from build and installation as it's no longer
needed.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
1c4bcd823d ucentral: add custom lldpd package
Add custom lldpd package with older UCI and SYSV init scripts. The
upstream init scripts have changed significantly in 24.10, and we
want to keep the tested version that is known to work.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
8701fb97d6 spotfilter: fix compilation with gcc13
Add missing header includes (linux/if_vlan.h and net/ndisc.h) for
gcc13 compatibility.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2018b327d8 rtty: fix compilation with gcc13
Add missing libgen.h header and fix basename usage for gcc13
compatibility.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
28c1c38faf libwebsockets: fix lws_tls_server_abort_connection compilation
Fix return type declaration for lws_tls_server_abort_connection to
match the expected signature for gcc13 compatibility.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
abb36ee1e4 qca-ssdk: fix rtl826xb PHY driver compilation with gcc13
Fix return type mismatch in phy_common_general_reg_mmd_set function
for gcc13 compatibility.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
91f443582f mac80211: fix ath12k driver compilation with gcc13
Fix various compilation issues in the ath12k driver for gcc13:
- Remove invalid ATH12K_DBG_WMI parameter from ath12k_warn calls
- Fix return type mismatch in ath12k_mac_he_gi_to_nl80211_he_gi

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
c093c9425f mac80211: fix kconf compilation with gcc13
Fix kconf Makefile to explicitly use gcc instead of $(CC) variable
for compatibility with gcc13 build environment.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2492a29324 ipq53xx: fix bootconfig driver compilation with gcc13
Fix CONFIG_EMMC macro to CONFIG_MMC for compatibility with gcc13
and newer kernel configurations.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
8d8eee1e87 qca-wifi-7: add batctl and batman-adv packages
Copy batctl and batman-adv packages from 23.05 as the 24.10 versions
do not compile after the upgrade.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
11575ca7c6 qca-wifi-7: update iwinfo and add wifi-scripts dependency
Update iwinfo to latest version (2024-10-20) and add the wifi-scripts
package to work with the latest WiFi configuration changes in OpenWrt
24.10.

The mac80211 package now depends on wifi-scripts, and the mirror hash
has been updated for the new digest algorithm.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
aa36bd4ccd ipq53xx: rename sysupgrade images from .tar to .bin
Standardise the sysupgrade image format across all IPQ5332-based
devices by renaming the output from .tar to .bin format.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
5651c0f386 qca-wifi-7: remove qca-nss-clients package
Remove the qca-nss-clients package as it is not actively used and
causes errors during feed setup.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
18de2196a7 profiles: update feed name and sysupgrade image extension
Update device profiles to reflect the feed rename from ipq807x_v5.4
to qca-wifi-6, and change sysupgrade image extension from .tar to
.bin to match the new image format.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
43cb94c8f5 feeds: rename ipq807x_v5.4 to qca-wifi-6
Rename the ipq807x_v5.4 feed to qca-wifi-6 to align with the naming
convention used for qca-wifi-7. This change improves consistency and
better reflects the content, which encompasses WiFi 6 (802.11ax)
packages across various Qualcomm IPQ platforms (IPQ5018, IPQ6018,
IPQ8074, etc.).

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
805d4b8d09 feeds: remove hfcl feed
Remove the hfcl feed which contained workarounds for old bugs that
are now resolved in the mainline code.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
14769925cf feeds: remove qosify package
Remove the custom qosify package as the new upstream version from
OpenWrt 24.10 is now being used.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
9e98527320 feeds: remove udevmand package
Remove the deprecated udevmand package. Its functionality is now
handled directly in ucentral-schema.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
5019c58fc8 feeds: remove ustp package
Remove the deprecated and unused ustp package.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
81e4f4036f feeds: remove usteer package
Remove the deprecated and unused usteer package.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
3a060fe41f feeds: remove mcu feed
Remove the old and unused mcu feed which provided MCU firmware
management and communication utilities for Bluetooth-related
hardware.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
2018539a0c feeds: remove edgecore feed
Remove the old and unused edgecore feed which provided the ELTT2
(Edgecore Link Layer Test Tool) utility.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
9c90c62e0b feeds: remove bluetooth feed
Remove the old and unused bluetooth feed which provided generic
Bluetooth support including 6LoWPAN, iBeacon, NRF52840, and LED
indicator utilities.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
ff704b282f feeds: remove bluetooth-csr feed
Remove the old and unused bluetooth-csr feed which provided BlueZ
and CSR8811 Bluetooth chip support.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
82cb988e56 feeds: remove bluetooth-cc2652 feed
Remove the old and unused bluetooth-cc2652 feed which provided BLE
scanning and firmware flashing support for TI CC2652 chips.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00
John Crispin
207a592896 ucentral-client: set version to v4.1.1
Signed-off-by: John Crispin <john@phrozen.org>
2025-10-07 11:31:11 +02:00
John Crispin
1bae90f681 ucentral-schema: set version to v4.1.1
Signed-off-by: John Crispin <john@phrozen.org>
2025-10-07 11:30:57 +02:00
John Crispin
f2afe49977 ipq53xx: enable LED heartbeat trigger in kernel config
Enable CONFIG_LEDS_TRIGGER_HEARTBEAT to allow LED heartbeat
functionality when device goes offline. Without this kernel option,
the LED trigger mechanism was unavailable, preventing the LED from
flashing to indicate offline status.

Fixes: WIFI-14646
Signed-off-by: John Crispin <john@phrozen.org>
2025-10-02 15:38:50 +02:00
Jimmy Cheng
04cc064026 ath12k-wifi: update NWA50BE BDF files
Adjust 2.4G CCA threshold from 32 to 38 to avoid false detection

Fixes: WIFI-15164
Signed-off-by: Jimmy Cheng <jimmy.cheng@zyxel.com.tw>
2025-10-02 07:43:18 +02:00
John Crispin
14778e1d2f ucentral-event: add VLAN reference counting to prevent race condition
When a station roams between bands on the same VLAN, the vlan_remove
event from the old band can arrive after the vlan_add event from the
new band, causing the VLAN to be incorrectly deleted whilst still in use.

Add reference counting that tracks how many interfaces are using each
VLAN ID. Only create VLAN devices on the first reference and only
remove them when the last reference is dropped.

On startup, initialise refcounts from current station state to handle
daemon restarts correctly.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-01 16:19:01 +02:00
John Crispin
9712ce581f ucentral-schema: update to latest HEAD
676e155 dhcp_inject: fix a syntax issue in dhcp_inject
e594c44 captive.uam.mac-auth: the default was wrong

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-01 16:19:01 +02:00
pratibha
a4dbeb376e ipq50xx: Add support for Indio-525AXM outdoor AP
Fixes: WIFI-14454
Signed-off-by: pratibha <pratibha.kuril@indionetworks.com>
2025-10-01 16:19:01 +02:00
jackcybertan
02b0457b28 ipq53xx: fix RAP750W-311A LAN ports
LAN switch exposes single eth1 instead of per-port interfaces for RAP750W-311A.
Using VLAN to separate LAN to each physical port for RAP750W-311A.

Fixes: WIFI-15163
Signed-off-by: jackcybertan <jack.tsai@cybertan.com.tw>
2025-10-01 16:19:01 +02:00
Shubham Vishwakarma
42007a147f update setup.py: make the profiles symlink relative instead of absolute
make openwrt/profiles relative so moving or renaming the repo directory won't break the symlink

Signed-off-by: Shubham Vishwakarma <shubhamvis98@fossfrog.in>
2025-10-01 07:44:35 +02:00
Shubham Vishwakarma
d1e18425b0 ramips: mt7621: update mt7621 indio um-305ax patch file
Changelog:
- Fix MAC address assignment for Ethernet ports
- Fix Ethernet port configuration (was not working in the current DTS
  because GPIOs 23 and 24, used for LEDs, are RGMII2 pins)
- Add package kmod-7915-firmware to enable Wi-Fi

Signed-off-by: Shubham Vishwakarma <shubhamvis98@fossfrog.in>
2025-10-01 07:44:35 +02:00