Power management: how to test it?

kala_maico at tiscali.it kala_maico at tiscali.it
Wed Feb 11 09:59:33 EST 2004


Hello,

strange to say, it wasn' t my mistake....

I updated firmware (RAM download) to 1.7.4 and Power Management works.
It seems it's not implemented at all in 1.3.5 and 1.3.6

The "ping test" is valid and I can also see PS-Poll frames.

Only the "multicast" issue is still unresolved (there's a switch statement
in hostap_ioctl.c in which the options "all" and "unicast" are included
but there's no reference to "multicast"....I guess it' s the place where
the command
is issued to the card)

Regards,
/Giorgio

>-- Messaggio Originale --
>Date: Wed, 11 Feb 2004 10:05:29 +0100
>From: kala_maico at tiscali.it
>To: hostap at shmoo.com
>Subject: Power management: how to test it?
>
>
>Hello,

I have problems in setting up power saving mode.

I do a:

iwconfig wlan0 power value X  (X= 500m, 1, 2, 10 tried in sequence)
iwconfig wlan0 power timeout Y (Y=500m, 1, 2, 10)
iwconfig wlan0 power on

Making a iwconfig wlan0 now show
> the value X in the field "Power management".

The card is in managed mode and associated with the AP.

Now, I ping the (supposedly) sleeping station. An ethereal capture shows
that pings (ICMP echo request and replies) go forth and back, but no P
>-Poll
frames are sent, nor the "sleeping" station ever sets the Pwr Mgt bit in
the frame control. It's like power saving mode is not there.

I guess I made a mistake, but I don't know if in the setup or in the testing.
Is the "ping" a valid test t
> see power saving mode at work? If not, how
could I do?

Another "strange" thing I got is that if I type:

iwconfig wlan0 power multicast  (as "man iwconfig" says)

I get an error, something like "wrong parameter", while everything is ok
if I s
>ap "multicast" with "unicast" or "all". I guess that this is a problem
related to wireless extensions, but I am not sure at all.

Any hint/clue?

My setup:

kernel 2.4.22, hostap driver and utils 0.1.2, wireless extensions 15, wireless
tools 26
> card Prism2.5 with f/w 1.0.7/1.3.5

Thanks,
/Giorgio

__________________________________________________________________
Tiscali ADSL SENZA CANONE:
Attivazione GRATIS, contributo adesione GRATIS, modem GRATIS,
50 ore di navigazione GRATIS.  ABBONARTI TI COSTA SOLO UN CLICK!
http://point.tiscali.it/adsl/index.shtml






More information about the HostAP mailing list