Flaky connection with latest CVS version

Jouni Malinen jkmaline at cc.hut.fi
Sun Aug 3 13:40:15 EDT 2003


On Sun, Aug 03, 2003 at 07:03:23PM +0200, Michael Guntsche wrote:

> I changed from an older CVS-version (~3 weeks old) to a recent one to test 
> the new 32bit tallies.
> The good news is that I no longer get INFDROP events during larger file transfers,
> the bad news is that the connection seems flaky.

How often did the connection get disconnected? Do you notice long
periods of data packets not being sent or just extra re-associations?

> AFAIK I haven't seen this problem before the 32bit tallies change.
> Jouni, do you think that this change is responsible for the errors?

I would find it surprising; these should be unrelated.. Anyway, could
you please test the same new version with 32-bit tallies disabled?
Attached patch should be enough to just change this part and leave
everything else as is.

-- 
Jouni Malinen                                            PGP id EFC895FA
-------------- next part --------------
Index: driver/modules/hostap_hw.c
===================================================================
RCS file: /home/jm/cvsroot/hostap/driver/modules/hostap_hw.c,v
retrieving revision 1.136
diff -u -p -B -4 -r1.136 hostap_hw.c
--- driver/modules/hostap_hw.c	3 Aug 2003 16:45:59 -0000	1.136
+++ driver/modules/hostap_hw.c	3 Aug 2003 17:33:54 -0000
@@ -1016,16 +1016,18 @@ static int prism2_setup_rids(struct net_
 	 * This has been fixed in 0.8.2, so enable 32-bit tallies only
 	 * beginning with that firmware version. Another bug fix for 32-bit
 	 * tallies in 1.4.0; should 16-bit tallies be used for some other
 	 * versions, too? */
+#if 0
 	if (local->sta_fw_ver >= PRISM2_FW_VER(0,8,2)) {
 		if (hostap_set_word(dev, HFA384X_RID_CNFTHIRTY2TALLY, 1)) {
 			printk(KERN_INFO "%s: cnfThirty2Tally setting "
 			       "failed\n", dev->name);
 			local->tallies32 = 0;
 		} else
 			local->tallies32 = 1;
 	} else
+#endif
 		local->tallies32 = 0;
 
 	if (local->ap &&
 	    hostap_set_word(dev, HFA384X_RID_CNFAUTHENTICATION,


More information about the HostAP mailing list