Shutdown wlan interface

Jouni Malinen jkmaline
Tue Aug 19 17:44:42 PDT 2003


On Tue, Aug 19, 2003 at 07:53:55PM +0530, Shripad N wrote:

> Is there any way to shutdown the wlan interface, ie stop consuming power, by
> issuing a command.

What kind of level of power saving would you need? Using cardctl to
eject the card is probably pretty close to removing the card (I would
assume it disconnects operating voltage from the card). Another option
would be to just disable most of the Prism2 operations with "iwpriv
wlan0 reset 3". This is supposed to drop power consumption a lot, but
not as much as cardctl eject. One benefit of just disabling the card is
in not having to reconfigure Linux netdev when the card is needed next
time ("iwpriv wlan0 reset 4"). However, if you anyway do all the setup
from pcmcia-cs scripts, cardctl eject & insert should work fine.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list