<DIV>Thanks for the suggestion. I did give it a try, but had problems with resuming:</DIV>
<DIV> </DIV>
<DIV>---</DIV>
<DIV>noaodv-20:~# cardctl suspend 0<BR>cardmgr[63]: executing: './network suspend wlan0'<BR>noaodv-20:~# iwlist wlan0 scan<BR>wlan0 Interface doesn't support scanning : No such device</DIV>
<DIV>noaodv-20:~# cardctl resume 0<BR>wlan0: Interrupt, but SWSUPPORT0 does not match: FFFF != 8A32 - card removed?<BR>wlan0: could not find matching txfid (0xf9f0, new read 0xf9f0) for alloc event<BR>hostap_cs: wlan0: resetting card<BR>hostap_cs: Initialization failed<BR>wlan0: interrupt delivery does not seem to work<BR>wlan0: interrupt delivery does not seem to work<BR>wlan0: Port type setting to 1 failed<BR>wlan0: MAC port 0 enabling failed<BR>cardmgr[63]: executing: './network resume wlan0'<BR>noaodv-20:~# iwlist wlan0 scan<BR>wlan0 Interface doesn't support scanning : Invalid argument</DIV>
<DIV>---</DIV>
<DIV> </DIV>
<DIV>Any ideas about what could be going on here?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV> </DIV>
<DIV>Itchy<BR><BR><B><I>Vijay Raghunathan <vijay@ee.ucla.edu></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Another way (ugly hack?) to do this is to simply use cardctl to shutdown<BR>the interface. So, issuing a "cardctl suspend" should completely<BR>shutdown the PCMCIA interface, which can be woken up using "cardctl<BR>resume".<BR><BR>-Vijay<BR><BR>On Wed, 2003-11-12 at 13:42, Ichiro Barnes wrote:<BR>> Hi,<BR>> <BR>> I am writing a tool that wakes up every n seconds,<BR>> does an iwlist wlan0 scan, and goes back to sleep. I<BR>> don't need to connect to anything or look at any<BR>> packets beyond what is needed for the scan. The device<BR>> I'm using for this is highly power-constrained, so I'm<BR>> trying to figure out how to extend its battery life.<BR>> <BR>> I ran across this thread about turning the radio on<BR>> and off:<BR>> http://hostap.epitest.fi/hostap/2002-03/0300.html<BR>> I've tried setting txpower to off in between scans,<BR>>
but to my surprise it hasn't helped much. So now I'm<BR>> interested in trying to use the writemif ioctl for<BR>> power management.<BR>> <BR>> My problem is that the datasheet has been moved to<BR>> some licensee-only server, so I don't know the right<BR>> values to use for my writemif experiments. Can anyone<BR>> tell me what I should use? Or if I should trying<BR>> something else completely in my quest for longer<BR>> battery life?<BR>> <BR>> I'm using hostap 0.1.1, and a Netgear Ma701, firmware<BR>> 1.4.9.<BR>> <BR>> Thanks in advance,<BR>> <BR>> -I<BR>> <BR><BR></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with Yahoo! Mail AddressGuard</a>