Re: Small problem with host-ap

Thomas Skibo <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization College Avenue Surf Shop
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.