Received: with ECARTIS (v1.0.0; list netdev); Wed, 08 Jun 2005 08:25:02 -0700 (PDT) Received: from mail.suse.cz (styx.suse.cz [82.119.242.94]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j58FOnXq029653 for ; Wed, 8 Jun 2005 08:24:50 -0700 Received: from griffin.suse.cz (griffin.suse.cz [10.20.1.99]) by mail.suse.cz (SUSE CR ESMTP Mailer) with ESMTP id 5586A628302; Wed, 8 Jun 2005 17:23:45 +0200 (CEST) Date: Wed, 8 Jun 2005 17:23:45 +0200 From: Jiri Benc To: Cc: "'Denis Vlasenko'" , "'Pavel Machek'" , "'Jeff Garzik'" , "'Netdev list'" , "'kernel list'" , "'James P. Ketrenos'" Subject: Re: ipw2100: firmware problem Message-ID: <20050608172345.64613254@griffin.suse.cz> In-Reply-To: <002901c56c3b$8216cdd0$600cc60a@amer.sykes.com> References: <200506081744.20687.vda@ilport.com.ua> <002901c56c3b$8216cdd0$600cc60a@amer.sykes.com> X-Mailer: Sylpheed-Claws 1.0.4a (GTK+ 1.2.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-archive-position: 2234 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: jbenc@suse.cz Precedence: bulk X-list: netdev Content-Length: 1157 Lines: 30 On Wed, 8 Jun 2005 09:05:27 -0600, Alejandro Bonilla wrote: > I might be lost here but... How is the firmware loaded when using the > ipw2100-1.0.0/patches Kernel patch? It is loaded by request_firmware() during initialization of the adapter. That doesn't work, as at that time no hotplug binary can be executed (we are talking about ipw2100 built in the kernel, not built as a module). > Currently, when we install the driver, it associates to any open network on > boot. This is good, cause we don't want to be typing the commands all the > time just to associate. It works this way now and is pretty nice. It sounds very dangerous to me. > So, to scan a network, I would have to do ifconfig eth1 up ; iwlist eth1 > scan? No. Driver should request the firmware when it is told to perform a scan. > When moving from modes with the firmwares, would I have to do ifconfig eth1 > up ; iwconfig eth1 mode monitor? or would the firmware be loaded with > iwconfig? Does it have that function? Firmware can be loaded automatically by the driver when there is some request from userspace and the firmware has not been loaded yet. -- Jiri Benc SUSE Labs