From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from senator.holtmann.net ([87.106.208.187]:40835 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752091AbZFOS5H (ORCPT ); Mon, 15 Jun 2009 14:57:07 -0400 Subject: Re: [PATCH 0/2] ar9170: 1-stage firmware support / AVM fritz From: Marcel Holtmann To: "Luis R. Rodriguez" Cc: Luis Rodriguez , "linville@tuxdriver.com" , "chunkeey@web.de" , "linux-wireless@vger.kernel.org" , "jal2@gmx.de" , Peter Grabienski , Stephen Chen , Michael Fortin , Johnny Cheng , Yuan-Gu Wei , "otus-devel@lists.madwifi-project.org" , dwmw2@infradead.org In-Reply-To: <20090615181308.GC22922@tesla> References: <1243546565-19404-1-git-send-email-lrodriguez@atheros.com> <1244992308.15367.3.camel@violet> <20090615181308.GC22922@tesla> Content-Type: text/plain Date: Mon, 15 Jun 2009 20:57:03 +0200 Message-Id: <1245092223.15367.9.camel@violet> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Luis, > > > This series now works for me on my WNDA31000, it took a newer shiny > > > 1-stage firmware to work. I'll push the firmware into linux-firmware > > > next. > > > > > > Should work with the AVM Fritz devices now, haven't tested it but > > > I think it should work. > > > > I happened to have one of these AVM devices. With ar9170.fw firmware it > > does work fine with the other ones it doesn't. > > Excellent, that was the idea behind the patch, to enable these > devices. Thanks for testing. > > > The ar9170.fw is still not in linux-firmware.git, any reason for that? > > Yes, the patch I sent to David has some funk as objcopy to ihex seems > to have some trailing white space. I sent a new patch to him without > the ihex file though. > > > Also since ar9170-1.fw and ar9170-2.fw are not working at all, > > They work, they won't work for the AVM device though. > > > we better > > not even try and give the user a crypted error message that the device > > is in a bad state. Just printk that the firmware might be too old. > > Agreed, but as I sent the patch in we *require* the 1-stage firmware > for the AVM devices, if that is not present we should be bailing out. > Is that not what happens? nope, it tries ar9170-1.fw and then tries to load that and fails with a timeout (-110) and a weird message that the device might be in a bad state. Regards Marcel