[DragonFlyBSD - Bug #3366] (Resolved) ifconfig wlan0 scan - S:N is 0 with iwm0

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Apr 2 08:29:36 PDT 2024


Issue #3366 has been updated by mneumann.

Status changed from New to Resolved

I fixed the bug with commit https://gitweb.dragonflybsd.org/dragonfly.git/commit/796562b1e5843c4cc8963c19ab36cfac04182dcd

It's possible that this positively affects AP selection based on proper S:N values in case there are multiple APs with the same SSID, but that's just a rough
guess. 

----------------------------------------
Bug #3366: ifconfig wlan0 scan - S:N is 0 with iwm0
http://bugs.dragonflybsd.org/issues/3366#change-14538

* Author: mneumann
* Status: Resolved
* Priority: Normal
* Target version: 6.6
* Start date: 2024-04-01
----------------------------------------
When I scan for all access points, all their S:N (Signal to Noise Ratio) is reported as zero!

# /etc/rc.conf
wlans_iwm0="wlan0"
ifconfig_wlan0="DHCP WPA"

Doing a `ifconfig wlan0 scan` reports for example:

SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
Bon House       7c:a1:07:12:86:c8    1   54M   0:0    200 EP   HTCAP WPA RSN WME
Thang Long ...  6c:5a:b0:35:42:f9    1   54M   0:0    100 EPS  RSN HTCAP WME ATH WPS
Quy's home      c8:bf:4c:19:48:99    1   54M   0:0    100 EP   WPA RSN WPS HTCAP WME
Long2003        a8:25:eb:20:c0:89    1   54M   0:0    100 EPS  HTCAP WME ATH RSN WPA WPS
Redmi_Quyda...  88:c3:97:3a:f3:fa    1   54M   0:0    100 EP   WPA RSN WPS HTCAP WME
DIRECT-6B-H...  f6:39:09:5a:e4:6b    6   54M   0:0    100 EP   RSN HTCAP WME WPS
DrayTek         16:49:bc:46:9c:84    6   54M   0:0    100 EPS  RSN HTCAP WME
Tang 2          a8:02:db:f1:b6:2c    6   54M   0:0    100 EPS  WPA RSN WPS HTCAP WME
0x54e1ba        50:0f:f5:35:9b:08    6   54M   0:0    100 EP   HTCAP WPA RSN WME

Note that on FreeBSD 14.0, the S:N has proper values.

The iwm0 driver is recognized as:

iwm0: <Intel(R) Dual Band Wireless AC 8265> mem 0xdd100000-0xdd101fff at device 0.0 on pci58
iwm0: hw rev 0x230, fw ver 22.361476.0, address 98:2c:bc:36:61:e5

FYI, the fw version is identical to the one on FreeBSD 14 (different Laptop though).

I can connect to the network with iwm0. Just wondering if the access point selection might be sub-optimal
if S:N is unknown, or it might be just a "display" problem.

Tested it both on 6.4-STABLE and latest HEAD revision of master branch.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list