<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/package, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-11-26T16:25:38Z</updated>
<entry>
<title>kernel: ag71xx-legacy: load the MDIO driver before the MAC driver</title>
<updated>2026-11-26T16:25:38Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-11-26T16:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=82b0c292ea2ef419c1c67c14aa592de086e3f728'/>
<id>urn:sha1:82b0c292ea2ef419c1c67c14aa592de086e3f728</id>
<content type='text'>
kmod-ag71xx-legacy autoloads "ag71xx-legacy ag71xx-legacy-mdio", but
the build sorts an AutoLoad list, so the MAC driver always loads first.
Its probe populates the MDIO bus, which has no driver yet: a MAC with a
PHY on that bus defers, and a MAC on a fixed link probes first and takes
eth0.

On a RouterBOARD 922UAGS-5HPacD this swaps the ports: the SFP becomes
eth0 and the copper port eth1, and the copper PHY reads ID 0 and gets
the Generic PHY driver instead of the AR8031/AR8033 one. Built-in, the
MDIO driver is registered first and the copper port is eth0.

Move the MDIO driver into its own package that autoloads at 49, ahead
of the MAC driver at 50, and let the MAC package depend on it.

Booted as modules, the 922UAGS now names the copper port eth0 again, the
MAC no longer defers and the PHY binds to the AR8031/AR8033 driver.

Fixes: 12abb2413a5f ("ath79: mikrotik: also compile AG71XX_LEGACY as a module")
Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>linux-firmware: ath11k: QCN9074: 6 GHz board data for cards without an ID</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-11-16T10:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=afd73d026f4d1564d01e0fd2ef725d8dcd5b8c53'/>
<id>urn:sha1:afd73d026f4d1564d01e0fd2ef725d8dcd5b8c53</id>
<content type='text'>
The Emwicon QCN9074 Wi-Fi 6E cards have no board ID in their OTP (0xff).
ath11k then takes the generic "qmi-board-id=255" entry of board-2.bin,
which holds the 5 GHz board data (the same as board ID 160): the card
offers no 6 GHz channels.

Ship a board-2.bin whose ID 255 entry carries the 6 GHz board data of
board ID 162. All other entries are unchanged. Made with ath11k-bdencoder
from the entries of the linux-firmware 20261019 board-2.bin.

Older firmware did this by shipping board.bin and deleting board-2.bin
at startup; this needs neither.

Tested on two dr40x9 with an Emwicon card: 6 GHz band, 59 channels.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>ustream-ssl: build after mbedtls when only uclient needs it</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-11-04T13:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=f41c2ba9fd674f78217e139175f2b4dd13a76031'/>
<id>urn:sha1:f41c2ba9fd674f78217e139175f2b4dd13a76031</id>
<content type='text'>
uclient build-depends on ustream-ssl. With none of the libustream
packages selected, ustream-ssl is built for uclient alone, as its
default variant, mbedtls. The dependency of that variant on mbedtls
only applies when libustream-mbedtls is selected, so nothing orders the
two: when ustream-ssl configures before mbedtls is installed, CMake
fails with mbedtls_library, mbedx509_library and mbedcrypto_library set
to NOTFOUND. Builds of several trees on one jobserver hit this.

Build after mbedtls unless an openssl or wolfssl variant is selected.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>gdb: build only gdbserver when gdb is not selected</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-11-04T11:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=73cfbb52e35548dc191e5a9577253a08a77f0ef3'/>
<id>urn:sha1:73cfbb52e35548dc191e5a9577253a08a77f0ef3</id>
<content type='text'>
Selecting gdbserver alone builds all of gdb, and the build dependencies
of the gdb package pull in gmp, mpfr, ncurses, readline and zlib, while
gdbserver uses none of them. On ath79 that took 1245 s of CPU and 249 s
on 8 threads, most of it in a serial chain that tends to end the build.

Make the libraries of gdb depend on its own selection, so that they are
no longer build dependencies of gdbserver, and configure without gdb,
bfd, opcodes, libctf, libsframe, libbacktrace and libdecnumber when gdb
is not selected. gdbserver then builds from gdbsupport, gnulib and
libiberty alone: 132 s of CPU and 39 s. The binary and the runtime
dependencies of both packages stay the same, and selecting gdb as well
reconfigures for the full build.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: enable the bgscan modules in the full wpa_supplicant config</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-10-31T22:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=76b87955f84a274d00922dd7bdd7471d74683361'/>
<id>urn:sha1:76b87955f84a274d00922dd7bdd7471d74683361</id>
<content type='text'>
The full config, which the full and mesh wpa_supplicant variants are
built with, leaves CONFIG_BGSCAN_SIMPLE and CONFIG_BGSCAN_LEARN off.
A bgscan parameter in a network block is then accepted but does
nothing: the station never scans in the background, and moves to
another AP of its network only after it lost the current one.

Seen on stations with bgscan="simple:30:-75:300:...": three hours of
wpa_supplicant debug output without a single background scan, on
test boards and on stations in the field alike (no bgscan code in
the binary). An rb922 station (QCA988X, 10.1-ct firmware) that went
an hour with heavy traffic and no scan also got into a state where
its firmware no longer left the channel for a scan; with a scan every
10 minutes it ran 100 minutes of the same traffic without that.

Enable both modules (bgscan learn is what a "learn" bgscan parameter
asks for). They add 8 kB to the wpa_supplicant binary (mips_24kc).

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: AP: restart the inactivity timer when a STA authenticates again</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-10-30T20:24:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=b91748420a9f4e9b57d71e371a1e1b814eb112ee'/>
<id>urn:sha1:b91748420a9f4e9b57d71e371a1e1b814eb112ee</id>
<content type='text'>
A STA that roams to another AP with FT does not tell the AP it leaves,
so that AP times it out: it disassociates the STA after a failed poll
and deauthenticates and removes it AP_DEAUTH_DELAY (1 s) later. When
the STA comes back in that second, its Authentication frame is
accepted, but nothing stops the timer: it removes the STA before the
Reassociation Request frame arrives, which is then rejected as a Class
2 frame from a STA that is not authenticated. The STA has to start
over without FT, which takes 1-2 s instead of tens of milliseconds.

Restart the timer as for a new STA when an existing STA authenticates.

Seen on two rb922 roaming APs (ap_max_inactivity=30) with a station
roaming between them every 46 s: 1 of 90 roams took 1.7 s, with
"deauthenticated due to inactivity (timer DEAUTH/REMOVE)" between the
FT authentication and "Station tried to associate before
authentication". A new hwsim test that holds the Reassociation Request
frame until the timer has expired fails without this patch in every
run that gets that timing, and passes with it; the ap_ft module shows
no change.

The bug is still in upstream hostap (checked on 2026-10-30).

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: bgscan simple: scan right away on beacon loss</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-10-30T20:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=7f9aa7135371b5abf2e5f1f92d7ab287f8211e3c'/>
<id>urn:sha1:7f9aa7135371b5abf2e5f1f92d7ab287f8211e3c</id>
<content type='text'>
bgscan simple only logs a beacon loss report. A station whose AP goes
out of range, or stops sending beacons, looks for another AP only at
its next scan interval, which can be minutes away when the signal was
above the threshold until then. Meanwhile it stays with an AP it does
not hear, as long as that AP still acknowledges the frames the kernel
sends to probe it.

Scan right away on beacon loss, like on a further signal drop, unless
the last background scan was less than 10 seconds ago. An AP that is
not seen in that scan makes wpa_supplicant move to another AP of the
network.

Seen on field stations with bgscan simple:30:-75:300: up to 22 beacon
loss reports in 15 hours, most of them without a disconnection, and
no scan for minutes after them. The hwsim bgscan tests pass, and the
full hwsim run shows no change against the unpatched package.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: backport FT and nl80211 robustness fixes</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-10-30T16:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=f27cdf31fe1fe38ecd2f08517311cff089c7b15a'/>
<id>urn:sha1:f27cdf31fe1fe38ecd2f08517311cff089c7b15a</id>
<content type='text'>
Backport from upstream hostap, all after the 2026-08-07 snapshot:

fcae90b60 FT: Fix off-by-2 buffer bounds check in wpa_ft_process_rdie()
f6e620ec6 FT: Ignore request requests without any resource descriptors
ebe890e18 FT: Do not allow RIC related items to consume all available room
6daa7ff84 Check buffer room when writing Timeout Interval element
396a62817 FT: Ignore request descriptors with invalid or incomplete element(s)
741d70dd8 FT: Do not process RIC-Request in initial MD association
8a2611102 nl80211: Verify frame length before reading auth_alg

The FT fixes bound what a station can make an AP write into its
(Re)Association Response; roaming APs here run 802.11r FT-PSK.
6daa7ff84 uses buf + buflen in send_assoc_resp(): the end pointer of
upstream 0eb84a59d is not in this snapshot.

Built for ath79 (all hostapd variants of the tree); the patches apply
on top of the full patch set.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: wpa_supplicant: request a scan when a timed out attempt holds the state</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-10-30T16:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=ba52ee7b416f4f57cd860b8dea8a4bb6ba41e12c'/>
<id>urn:sha1:ba52ee7b416f4f57cd860b8dea8a4bb6ba41e12c</id>
<content type='text'>
Since upstream commit bbcc1adbc ("Try the next AP from scan results if
connection attempt fails"), wpas_connection_failed() returns without
requesting a scan when fast associate selects a BSS from the last scan
results. After an SME authentication or association timeout, the failed
attempt still holds the state at that point: selecting the same BSS
again starts nothing, yet no scan is requested. The station then stays
DISCONNECTED until something else triggers a scan, also with other APs
of its network in range.

Seen on an rb922 station whose AP restarted during authentication: it
stayed disconnected for minutes next to two APs of its network. With
this patch it reconnected 11 s after the APs answered again (10 s
ignore list, then a scan), in each of the repeated tests.

The bug is still in upstream hostap (checked on 2026-10-30).

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>hostapd: sync config files with upstream</title>
<updated>2026-11-26T16:25:20Z</updated>
<author>
<name>Koen Vandeputte</name>
</author>
<published>2026-11-02T08:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=c283ea8d269df7c65c969b97e6b0eb8c6baaebe6'/>
<id>urn:sha1:c283ea8d269df7c65c969b97e6b0eb8c6baaebe6</id>
<content type='text'>
Sync the config files with the defconfig files of hostap 831364bf (2.12),
the version the package builds. Each file is now the upstream defconfig with
the OpenWrt settings, plus the OpenWrt-only uBus and CTRL_IFACE_MIB options
at the end.

The upstream defconfig now enables CONFIG_DPP2, CONFIG_OWE,
CONFIG_IEEE80211BE and CONFIG_IPV6 and disables CONFIG_WNM. The files keep
their current values, so no option changes state. CONFIG_DRIVER_HOSTAP,
which was disabled, is gone with the driver.

Assisted-by: Claude Opus 5.5
Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
</feed>
