<DIV>Thanks for the suggestion. I did give it a try, but had problems with resuming:</DIV>
<DIV>&nbsp;</DIV>
<DIV>---</DIV>
<DIV>noaodv-20:~# cardctl suspend 0<BR>cardmgr[63]: executing: './network suspend wlan0'<BR>noaodv-20:~# iwlist wlan0 scan<BR>wlan0&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;&nbsp;&nbsp;&nbsp; Interface doesn't support scanning : Invalid argument</DIV>
<DIV>---</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any ideas about what could be going on here?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Itchy<BR><BR><B><I>Vijay Raghunathan &lt;vijay@ee.ucla.edu&gt;</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>&gt; Hi,<BR>&gt; <BR>&gt; I am writing a tool that wakes up every n seconds,<BR>&gt; does an iwlist wlan0 scan, and goes back to sleep. I<BR>&gt; don't need to connect to anything or look at any<BR>&gt; packets beyond what is needed for the scan. The device<BR>&gt; I'm using for this is highly power-constrained, so I'm<BR>&gt; trying to figure out how to extend its battery life.<BR>&gt; <BR>&gt; I ran across this thread about turning the radio on<BR>&gt; and off:<BR>&gt; http://hostap.epitest.fi/hostap/2002-03/0300.html<BR>&gt; I've tried setting txpower to off in between scans,<BR>&gt;
 but to my surprise it hasn't helped much. So now I'm<BR>&gt; interested in trying to use the writemif ioctl for<BR>&gt; power management.<BR>&gt; <BR>&gt; My problem is that the datasheet has been moved to<BR>&gt; some licensee-only server, so I don't know the right<BR>&gt; values to use for my writemif experiments. Can anyone<BR>&gt; tell me what I should use? Or if I should trying<BR>&gt; something else completely in my quest for longer<BR>&gt; battery life?<BR>&gt; <BR>&gt; I'm using hostap 0.1.1, and a Netgear Ma701, firmware<BR>&gt; 1.4.9.<BR>&gt; <BR>&gt; Thanks in advance,<BR>&gt; <BR>&gt; -I<BR>&gt; <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>