conserving power with hostap

Antonio Vilei antonio.vilei
Fri Nov 14 03:22:00 PST 2003


Please try to resume the card before scanning.
In the sequence of commands that you gave, you performed the scan while the
card was still suspended.

Regards,
Antonio

----- Original Message -----
From: "Ichiro Barnes" <glibcnoobie at yahoo.com>
To: "Vijay Raghunathan" <vijay at ee.ucla.edu>
Cc: <hostap at shmoo.com>
Sent: Thursday, November 13, 2003 11:07 PM
Subject: Re: conserving power with hostap


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


----------------------------------------------------------------------------
----


> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





More information about the Hostap mailing list