wl18xx: iwd needs to be restarted before (a particular) AP appears
Donald <[email protected]> Tue, 22 Apr 2025 21:33:56 -0700
| Newsgroups | dev.linux.lists.iwd |
|---|---|
| Message-ID | <CAOVeLGSPJneA66x_3Ov6HRs9YoUcY0bauH7qe+pLDs0qWpBLkg@mail.gmail.com> |
Top of the morning, I am seeing a quirk against wl18xx, where the first time iwd is launched it fails to see certain APs and produces: Received error during CMD_TRIGGER_SCAN: Invalid argument (22) on relaunch of iwd, this CMD_TRIGGER_SCAN error does not manifest and the AP in question is visible. Some APs are visible, but not the one we happen to be interested in. I see a bug from the distant past which alludes to this: https://lore.kernel.org/all/[email protected]/T/#m6fd56354e1cdb32233adcce414bd8ff098c011da and which demonstrates the same error message/symptoms. but adding: [DriverQuirks] DefaultInterface=wl18xx to main.conf does not change the outcome. I am running: commit 7d5bcd738bb92cd33756985ffd2c4c67452a7f85 (tag: 3.6, origin/master, origin/HEAD) Author: Marcel Holtmann <[email protected]> Date: Wed Apr 2 15:05:43 2025 +0200 Release 3.6 against: commit c5e32b0a3c19f6cf40241e323e02dff00810406e (tag: v6.13.5) Author: Greg Kroah-Hartman <[email protected]> Date: Thu Feb 27 04:34:22 2025 -0800 Linux 6.13.5 The only solution I have found which consistently works is to run: timeout 1 /usr/libexec/iwd &> /dev/null exec /usr/libexec/iwd in my systemd service, which consistently works. It warrants mentioning that: iwctl station wlan0 scan && iwctl station wlan0 get-networks does not show the desired AP on first run of the restarted iwd daemon, but when running this a second time I can see/connect. So start iwd, restart iwd, scan, scan, get-networks - success Yours sincerely, Donald -- ------------------------------- °v° Donald Carr /(_)\ Chaos Reins ^ ^ http://chaos-reins.com/