NetBSD Problem Report #58262

From gson@gson.org  Wed May 15 18:34:24 2024
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 30EF31A9259
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 May 2024 18:34:24 +0000 (UTC)
Message-Id: <20240515183411.E9DAD253EF9@guava.gson.org>
Date: Wed, 15 May 2024 21:34:11 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: urtwn(4) signal strength indication never changes
X-Send-Pr-Version: 3.95

>Number:         58262
>Category:       kern
>Synopsis:       urtwn(4) signal strength indication never changes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 15 18:35:00 +0000 2024
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2024.05.15.11.01.27
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:
>How-To-Repeat:
>Fix:

I have a TP-LINK TL-WN725N USB WiFi adapter which I bought based on
other NetBSD users reporting that it works:

[     3.097619] urtwn0 at uhub0 port 1
[     3.097619] urtwn0: Realtek (0x0bda) 802.11n NIC (0x8179), rev 2.00/0.00, addr 2
[     4.127584] urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 9c:53:22:bb:f7:5a
[     4.127584] urtwn0: 1 rx pipe, 2 tx pipes

When I run "ifconfig run0 list scan", the "S:N" column always shows
"20:0" for all access points regardless of how far away they are.  For
example:

gunnel# ifconfig urtwn0 list scan
SSID                     BSSID              CHAN RATE  S:N     INT CAPS
[redacted]               [redacted]          10   54M  20:0    100 EPS  RSN WME
                         [redacted]          10   54M  20:0    100 EPS  RSN WME
gson2                    e8:8d:28:5e:6e:dd   11   54M  20:0    100 EPS  RSN WME
gson2                    90:84:0d:df:33:d7    1   54M  20:0    100 EPS  RSN WME
gson2                    90:84:0d:da:f2:05    6   54M  20:0    100 EPS  RSN WME

Since I have three APs with the same SSID, I was hoping it would
attach to the one with the strongest signal, but given that the signal
strength indication never changes, I doubt that works.
-- 
Andreas Gustafsson, gson@gson.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.