NetBSD Problem Report #53358

From www@NetBSD.org  Tue Jun 12 12:32:34 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 855647A152
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Jun 2018 12:32:34 +0000 (UTC)
Message-Id: <20180612123233.745487A158@mollari.NetBSD.org>
Date: Tue, 12 Jun 2018 12:32:33 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: run0 wifi interface remains in scanning state forever
X-Send-Pr-Version: www-1.0

>Number:         53358
>Category:       kern
>Synopsis:       run0 wifi interface remains in scanning state forever
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 12:35:00 +0000 2018
>Originator:     Mayuresh
>Release:        8.0_RC1
>Organization:
>Environment:
NetBSD asusnetbsd 8.0_RC1 NetBSD 8.0_RC1 (GENERIC.201804191727Z) amd64

>Description:
The behavior was tested on amd64 as well as armv7 and found to be same.

When trying to use wpa_supplicant with run0 device the it always shows the status as SCANNING.

# dmesg | grep run0
run0 at uhub1 port 3
run0: Ralink (0x148f) 802.11 n WLAN (0x5370), rev 2.00/1.01, addr 4
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5592 (MIMO 1T1R), address
00:c1:00:c1:94:b6
run0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

# wpa_cli status
Selected interface 'run0'
20:31:07.754: wpa_state=SCANNING
address=00:c1:00:c1:94:b6


>How-To-Repeat:
Following normal wpa_supplicant steps as given on:
https://wiki.netbsd.org/tutorials/how_to_use_wpa_supplicant/

with a usb wifi adapter that maps to run0.
>Fix:
Not known.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.