On Wed, 19 Mar 2025 22:02:12 -0700 Vagrant Cascadian <vagr...@debian.org> wrote: > Well, turns out that it was simply missing the kernel configuration > for... > > CONFIG_ATH9K=m Nice.
> ... now it at least partly works and sees some access points, although > there are issues that prevent associating successfully... I recall > similar symptoms when using the ath9k_htc usb dongle before, and there > was a workaround for it. Possibly related, reform-tools has this: > > > https://source.mnt.re/reform/reform-tools/-/blob/main/NetworkManager/default-wifi-powersave-off.conf Since you use a custom kernel, it is also possible to use a custom configuration, so you could try to disable this option: > config CFG80211_DEFAULT_PS > bool "enable powersave by default" > default y > help > This option enables powersave mode by default. > > If this causes your applications to misbehave you should > fix your applications instead -- they need to register their network > latency requirement, see > Documentation/power/pm_qos_interface.rst. I'm unsure if this is sufficient though as userspace can easily enable it back. For instance with iw, anyone can do: > sudo iw dev wlp2s0 set power_save <on|off> (I'm not sure if the interface needs to up or down though), so I wonder if wpa_supplicant / NetworkManager or other userspace tool/daemon do it automatically or not. > I suspect only one of the supported GHz frequencies is enabled in the > kernel too as it sees one access point but not another (and I forget > which is which, they're on the same physical machine). But at least I > know this is likely to work with a bit more fiddling! Here's how to find the supported frequencies: > $ guix install iw > [...] > $ iw phy > Wiphy phy0 > wiphy index: 0 > max # scan SSIDs: 4 > [...] > * 2412 MHz [1] (17.0 dBm) > * 2417 MHz [2] (17.0 dBm) > * 2422 MHz [3] (17.0 dBm) > * 2427 MHz [4] (17.0 dBm) > * 2432 MHz [5] (17.0 dBm) > * 2437 MHz [6] (17.0 dBm) > * 2442 MHz [7] (17.0 dBm) > * 2447 MHz [8] (17.0 dBm) > * 2452 MHz [9] (17.0 dBm) > * 2457 MHz [10] (17.0 dBm) > * 2462 MHz [11] (17.0 dBm) > * 2467 MHz [12] (17.0 dBm) (no IR) > * 2472 MHz [13] (17.0 dBm) (no IR) > * 2484 MHz [14] (17.0 dBm) (no IR) Here I only have 2.4 GHz. Denis.
pgpNTBD84DOMz.pgp
Description: OpenPGP digital signature