openwrt/package/network/config/wifi-scripts/files
Valent Turkovic b52a3124db
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
wifi-scripts: wdev.uc: fix mesh mode frequency handling
Mesh mode interface creation fails when the freq parameter is empty or
undefined. Unlike adhoc mode which checks if freq exists before using it,
mesh mode blindly constructs the iw command with freq parameter, resulting
in invalid syntax like:

  iw dev mesh0 mesh join ssid freq  NOHT

This causes the mesh interface to be created without joining the mesh
network, leaving it in a DOWN state with no channel assigned.

Fix by adding freq validation check similar to adhoc mode.

Tested on two routers in parallel as mesh peers:
- Xiaomi AX3000T (MediaTek MT7981)
- OpenWrt One (MediaTek MT7981)
- OpenWrt 6.6.119, 802.11s mesh on 5GHz (Channel 36, HE80)

Signed-off-by: Valent Turkovic <valent@meshpointone.com>
Link: https://github.com/openwrt/openwrt/pull/21373
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 7214acd759)
2026-01-04 16:57:20 +01:00
..
etc wifi-scripts: retry setup of wireless devices that show up late 2025-10-02 13:30:31 +02:00
lib wifi-scripts: use OWE + country for 6GHz 2025-12-30 14:46:05 +01:00
sbin wifi-scripts: remove leftover legacy (non-netifd) wifi script support 2024-12-04 14:53:45 +01:00
usr/share wifi-scripts: wdev.uc: fix mesh mode frequency handling 2026-01-04 16:57:20 +01:00