On Mon, Mar 14, 2022 at 10:34:04PM +0100, Stefan Sperling wrote: >On Mon, Mar 14, 2022 at 04:07:33PM -0500, rea...@catastrophe.net wrote: >> Just sitting around doing nothing I'm seeing 30% loss to my next hop. >> >> # ifconfig iwm0 >> iwm0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 >> lladdr 80:19:34:ab:ab:ab >> index 5 priority 4 llprio 3 >> groups: wlan egress >> media: IEEE802.11 autoselect (HT-MCS3 mode 11n) >> status: active >> ieee80211: nwid WIFI-NET chan 1 bssid 6c:70:9f:XX:XX:XX 52% wpakey >> wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp >> inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 >> # ping -qc 30 192.168.1.1 >> PING 192.168.1.1 (192.168.1.1): 56 data bytes >> >> --- 192.168.1.1 ping statistics --- >> 30 packets transmitted, 21 packets received, 30.0% packet loss >> round-trip min/avg/max/std-dev = 2.092/5.420/10.804/2.673 ms >> >> >> What exact model do you have of the 3160? Maybe I can try and source one >> and give it a try. > >I doubt it would make a difference. This doesn't look like a hardware >defect, given that your run(4) device was also unhappy. > >My guess would be that the channel is noisy. Try to move your AP to >another channel, like channel 6 or channel 11. And if your AP can use >the 5 GHz band (channel 36 and up) that might help a lot more.
No doubt there's a lot of radio traffic where I'm located. However, every other device on my network sees my 5 Ghz ssid except for the OpenBSD machine. I'd expect to see the ssid WIFI-NET-5G, which is on channel 132 of an Apple Airport Extreme 802.11ac. Instead, I only see WIFI-NET (moved to channel 7 purposefully for testing). # ifconfig iwm0 up # ifconfig iwm0 scan iwm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 80:19:34:ab:ab:ab index 5 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "" nwid "Kelly's Killer Crib" chan 3 bssid 88:d7:f6:XX:XX:XX 55% HT-MCS15 privacy,short_slottime,wpa2 nwid GJMD chan 9 bssid 60:45:cb:XX:XX:XX 46% HT-MCS23 privacy,short_slottime,radio_measurement,wpa2 nwid WIFI-NET chan 7 bssid 6c:70:9f:YY:YY:YY 40% HT-MCS23 privacy,spectrum_mgmt,radio_measurement,wpa2 nwid "HP-Print-1F-ENVY 5530 series" chan 11 bssid fc:15:b4:XX:XX:XX 40% 54M privacy,short_preamble,short_slottime,wpa2 nwid "Kelly's Killer Crib_5G" chan 44 bssid 88:d7:f6:XX:XX:XX 34% HT-MCS15 privacy,spectrum_mgmt,short_slottime,wpa2 Trying to manually monitor channel 132, I get an error, SIOCS80211CHANNEL. # ifconfig iwm0 iwm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 80:19:34:ab:ab:ab index 5 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "" # ifconfig iwm0 mediaopt monitor # echo $? 0 # ifconfig iwm0 chan 132 ifconfig: SIOCS80211CHANNEL: Invalid argument Dmesg shows it's a 7260 with good firmware. # dmesg|grep iwm iwm0 at pci5 dev 0 function 0 "Intel AC 7260" rev 0xc3, msi iwm0: hw rev 0x140, fw ver 17.3216344376.0, address 80:19:34:ab:ab:ab Even after a clean reboot I can't bring the interface up in monitor mode and join anything other than channels 1-11.