Re: detect client disconnecting ...

From: Jun Sun (
Date: 2002-10-03 04:25:43 UTC

On Thu, Oct 03, 2002 at 06:23:37AM +0300, Jouni Malinen wrote:
> > I notice however it takes quite long to remove the MAC address
> > for a client who has already left (about 5min). Is there any
> > better way of doing this? Or can I shorten that lag time?
> I don't think there is a better way -- this requires AP polling the STA
> to get knowledge about all cases. If the STA is moving to another AP,
> IAPP or something similar could be used (i.e., the new AP would inform
> old one).

I think clients, at least well behaved ones, should send out deassociation packets, right? Can hostap intercept this and generate an event more promptly? Just a thought.  

> You can set the maximum inactivity time in driver/modules/hostap_wlan.h
> (AP_MAX_INACTIVITY) for driver-based management code or hostapd/ap.h for
> user space -based management code (hostapd).

Will give it a try. Thanks.


This archive was generated by hypermail 2.1.4.