hostap and sleeping mode.

Pavel Roskin proski at gnu.org
Tue Apr 20 01:09:15 EDT 2004


Hi, Andrea!

Fixing you topposting:

> > On Sat, Apr 17, 2004 at 05:17:53PM -0400, Andrea G. Forte wrote:
> >
> > > I am having a new problem. When I use host_roaming 2 and the laptop goes
> > > to sleep, hostap does not work anymore once it resumes from sleeping. I
> > > have to restart the card manager or reboot. I have noticed this with the
> > > old 0.0.4 version as well as with the new 0.1.3.
> > > When host_roaming 0 is enabled, everything works fine.

On Mon, 19 Apr 2004, Andrea G. Forte wrote:

> Please let me know if there is any way I can help...I really need to fix
> this bug since I am testing hostap on a handheld (the handheld goes only
> to sleep does not turn off). Please let me know if you guys already have
> some clues about it I can start from.

You can try reset instead of cardmgr restart.  Quoting from README:

iwpriv wlan0 reset <val>
        0: perform soft reset of the card
        1: perform COR sreset (almost hardreset ;-)
        2: perform port reset (disable and enable port 0)

1 is the hardest, 2 is the softest, 0 is intermediate.  Find the softest
reset that works for you and put it to the script you run after wake-up.

-- 
Regards,
Pavel Roskin



More information about the HostAP mailing list