Date: Sun, 19 May 2002 21:32:15 -0700 From: Thomas Skibo <skibo@pacbell.net> To: Nick Sayer <nsayer@quack.kfu.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Small problem with host-ap Message-ID: <3CE87C4F.D9146566@pacbell.net> References: <3CE84C16.7080904@quack.kfu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nick Sayer wrote: > > Machine 1 has a Netgear MA401 and is running FreeBSD and is in host-ap mode. > > Machine 2 has an orinoco gold card and is running Windows XP. > > The symptom is that if about 30 seconds go by without any traffic going > across the link, the XP machine will report that the wireless network > has gone away. It will then immediately rediscover it, but in the mean > time, any open TCP connections will be dropped. What is supposed to happen is that after 2 minutes of inactivity, a station is dis-associated. Some changes made to the host ap code incorrectly changed the time to 24 seconds (I submitted some fixes for that). Still, I haven't seen the behavior you describe with Windows XP. Perhaps it's driver related. My windows XP machine keeps itself associated by sending occasional do-nothing LLC frames. Maybe if the inactivity time-out value were larger (like 5 minutes), the LLC frames will come often enough to keep it from being timed out. (?) My freebsd client doesn't send LLC frames but it doesn't care if it gets dis-associated: it just reassociates without flapping the interface. Try the following change to wi_hostap.h: 120,121c122 < #define WIHAP_INTERVAL 5 < #define WIHAP_DFLT_INACTIVITY_TIME (120/WIHAP_INTERVAL) /* 2 minutes */ --- > #define WIHAP_DFLT_INACTIVITY_TIME 120 /* 2 minutes */ If that doesn't work, maybe I need to rethink how this disassociation stuff works. -- ------------------------------------------------------------------------ skibo@ Thomas pacbell.net Skibo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE87C4F.D9146566>