Skip to contentSkip to conversation

CARL9170/hostapd startup failures

DISCUSSION Brandt Deakin 1 participant 2 messages Jul 8, 2011 – Jul 11, 2011

lore
Share & tools
lore
#0 lore raw

I'm attempting to use carl9170 in AP mode and I'm seeing some interesting errors. When calling hostapd to initialize the AP, 10-50% of the attempts will be unsuccessful and report the following:

Could not set interface wlan0 flags: Connection ieee80211 phy1: lost 7 command responses/traps! w:9 g:0
usb 1-1: restart device (8)
timed out
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed. rmdir[ctrl_interface]: No such file or directory
usb 1-1: firmware upload failed (-110).
usb 1-1: Failed to restart device (-110).
usb 1-1: reset high speed USB device number 2 using ehci-omap usb 1-1: reset high speed USB device number 2 using ehci-omap
usb 1-1: driver API: 1.9.2 2011-01-22 [1-1]
usb 1-1: firmware API: 1.9.2 2010-12-25
usb 1-1: Atheros AR9170 is registered as 'phy2'

I'm seeing this error on the Beagleboard xM (Ubuntu 11.04 2.6.38) as well as on a Lenovo x200 PC (Ubuntu 11.04 2.6.38). I've reproduced it with 2.6.39 on the Beagleboard (not xM) as well. When initializing the normal client mode, I've never seen a failure to "upload" the firmware like this. It seems to be particular to the AP mode. Suggestions for resolution are appreciated. I'm going to open up the carl9170 firmware source and start trying to determine a possible cause there.

Thanks,
Brandt

Signature · 8 lines
Brandt Deakin
Card Access, Inc.
11778 S. Election Rd. Ste 260
Salt Lake City, UT 84020
801-748-4900 x23
801-748-4901 fax
[email protected]
www.cardaccess-inc.com
#1 lore raw

Updated news, built a carl9170 firmware off the 1.9.4 tag and this issue appears to have been resolved. I expect it was related to some of the "timing" changes that appear to have been made.

Thanks,
Brandt

Quoted 32 lines · Brandt Deakin

I'm attempting to use carl9170 in AP mode and I'm seeing some interesting errors. When calling hostapd to initialize the AP, 10-50% of the attempts will be unsuccessful and report the following:

Could not set interface wlan0 flags: Connection ieee80211 phy1: lost 7 command responses/traps! w:9 g:0
usb 1-1: restart device (8)
timed out
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed. rmdir[ctrl_interface]: No such file or directory
usb 1-1: firmware upload failed (-110).
usb 1-1: Failed to restart device (-110).
usb 1-1: reset high speed USB device number 2 using ehci-omap usb 1-1: reset high speed USB device number 2 using ehci-omap
usb 1-1: driver API: 1.9.2 2011-01-22 [1-1]
usb 1-1: firmware API: 1.9.2 2010-12-25
usb 1-1: Atheros AR9170 is registered as 'phy2'

I'm seeing this error on the Beagleboard xM (Ubuntu 11.04 2.6.38) as well as on a Lenovo x200 PC (Ubuntu 11.04 2.6.38). I've reproduced it with 2.6.39 on the Beagleboard (not xM) as well. When initializing the normal client mode, I've never seen a failure to "upload" the firmware like this. It seems to be particular to the AP mode. Suggestions for resolution are appreciated. I'm going to open up the carl9170 firmware source and start trying to determine a possible cause there.

Thanks,
Brandt