b***@freebsd.org
2018-04-18 05:32:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227602
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: ***@FreeBSD.org
Reporter: ***@gmail.com
My WiFi USB dongle, using the ralink driver, works reproducibly and reliably 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="YES"
/etc/hostapd.conf:
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=home
wpa=2
wpa_passphrase=abc123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
My USB dongle:
# usbconfig dump_device_desc
ugen0.5: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (450mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x148f
idProduct = 0x3070
bcdDevice = 0x0101
iManufacturer = 0x0001 <Ralink>
iProduct = 0x0002 <802.11 n WLAN>
iSerialNumber = 0x0003 <1.0>
bNumConfigurations = 0x0001
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: ***@FreeBSD.org
Reporter: ***@gmail.com
My WiFi USB dongle, using the ralink driver, works reproducibly and reliably 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="YES"
/etc/hostapd.conf:
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=home
wpa=2
wpa_passphrase=abc123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
My USB dongle:
# usbconfig dump_device_desc
ugen0.5: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (450mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x148f
idProduct = 0x3070
bcdDevice = 0x0101
iManufacturer = 0x0001 <Ralink>
iProduct = 0x0002 <802.11 n WLAN>
iSerialNumber = 0x0003 <1.0>
bNumConfigurations = 0x0001
--
You are receiving this mail because:
You are the assignee for the bug.
You are receiving this mail because:
You are the assignee for the bug.