2011-07-08 18:50:38

by Brandt Deakin

[permalink] [raw]
Subject: CARL9170/hostapd startup failures

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


--
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]
http://www.cardaccess-inc.com




2011-07-11 15:04:51

by Brandt Deakin

[permalink] [raw]
Subject: Re: CARL9170/hostapd startup failures

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

On Fri, 2011-07-08 at 12:50 -0600, Brandt Deakin wrote:
> 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
>
>