Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 05:32:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 227602] [regression] ralink hostap mode with authmode WPA2 works in 10.3, broken in CURRENT
Message-ID:  <bug-227602-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227602

            Bug ID: 227602
           Summary: [regression] ralink hostap mode with authmode WPA2
                    works in 10.3, broken in CURRENT
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: damjan.jov@gmail.com

My WiFi USB dongle, using the ralink driver, works reproducibly and reliabl=
y in
hostap mode in 10.3, but never works in CURRENT, giving an error of "run0:
could not load 8051 microcode" when hostapd starts, and becoming invisible =
to
WiFi clients.

I've confirmed it works well in GitHub commit
74ee552c5dacc20b6dde64cbb8a44e8c8ce975d0 (from around the 10.3 release), and
have begun bisecting for the regression.

In CURRENT it does work in authmode "open", but not with WPA2. The microcode
loads the first time, but doesn't load the second time when hostapd starts.=
 It
loads successfully both times in 74ee552c5dacc20b6dde64cbb8a44e8c8ce975d0.


How I test it:

# ifconfig wlan0 create wlandev run0 wlanmode hostap
# ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid home
# service hostapd start


/etc/rc.conf:

hostapd_enable=3D"YES"


/etc/hostapd.conf:

interface=3Dwlan0
debug=3D1
ctrl_interface=3D/var/run/hostapd
ctrl_interface_group=3Dwheel
ssid=3Dhome
wpa=3D2
wpa_passphrase=3Dabc123
wpa_key_mgmt=3DWPA-PSK
wpa_pairwise=3DCCMP


My USB dongle:

# usbconfig dump_device_desc

ugen0.5: <Ralink 802.11 n WLAN> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (48=
0Mbps)
pwr=3DON (450mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0200=20
  bDeviceClass =3D 0x0000  <Probed by interface class>
  bDeviceSubClass =3D 0x0000=20
  bDeviceProtocol =3D 0x0000=20
  bMaxPacketSize0 =3D 0x0040=20
  idVendor =3D 0x148f=20
  idProduct =3D 0x3070=20
  bcdDevice =3D 0x0101=20
  iManufacturer =3D 0x0001  <Ralink>
  iProduct =3D 0x0002  <802.11 n WLAN>
  iSerialNumber =3D 0x0003  <1.0>
  bNumConfigurations =3D 0x0001

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227602-21060>