Martin Husemann <[email protected]> wrote: >On Mon, Jul 15, 2019 at 07:25:45PM +0200, Manuel Bouyer wrote: >> Hello, >> I'm trying to use this wifi USB adapter: >> run0 at uhub7 port 1 >> run0: Ralink (0x148f) 802.11 n WLAN (0x5370), rev 2.00/1.01, addr 3 >> run0: MAC/BBP RT5390 (rev 0x0502), RF RT5592 (MIMO 1T1R), address >> e8:4e:e8:4e:af:44 >> 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 >> >> (tested on 8.1 and HEAD). >> wpa_supplicant doesn't find any AP (it finds dozens with the internal >> wpi(4)) and wiconfig fails with: >> rochebonne# wiconfig run0 -D >> scanning .............wiconfig: ioctl: Operation now in progress >> >> (the same command with wpi0 finds 12). >> >> Is anyone using such an adapter with NetBSD ? > >I have: > >run0 at uhub4 port 2 >run0: Ralink (0x148f) 802.11 n WLAN (0x5370), rev 2.00/1.01, addr 5 >run0: MAC/BBP RT5390 (rev 0x0502), RF RT5592 (MIMO 1T1R), address >3c:33:3c:33:70:96 >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 > >and it fails to scan as well. > >OpenBSD works fine, and there are quite a few differences for this variant >in the driver.
Maybe try the patch here: <https://mail-index.netbsd.org/tech-net/2017/01/19/msg006248.html> I had a patch based on a newer version of the OpenBSD driver in 2015 but that got broken by a commit of code from FreeBSD.
