Hello, and welcome!
Please note that there is a patch for the latest release -- OpenBSD 7.1 -- that fixes a channel scanning issue with some WiFi NICs, including run(4). You haven't posted your dmesg(8) so it is unclear what you're running; if you are running OpenBSD 7.1 without the patch, this could explain the issue. It's errata patch #001 for 7.1, installable with syspatch(8) on popular architectures.
From the commit log for sys/dev/usb/if_run.c:
Quote:
Use memset() to initialize struct ieee80211_rxinfo properly. Sven Wolf noticed that scans on ral(4) are buggy ever since I added a new field to this struct. Turns out a lot of drivers were initializing fields one-by-one, leaving any newly added fields uninitialized by default. Affected drivers may report wrong channel numbers for received beacons. The net80211 stack will discard such beacons, assuming they were received on the wrong channel due to signal leakage. Scanning is broken as result. from stsp@; ok miod@ this is errata/7.1/001_wifi.patch.sig
|