<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-2">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Joseph Chiu wrote:<br>
<blockquote type="cite"
 cite="midBPEELMGAINDCONKDGDNCAENLDMAA.joseph@omnilux.net">
  <pre wrap="">I've had a string of the "Could not find STA for this TX error", but also
when there was be active traffic to the station (and thus should not have
disassociated).  It seems to happen when a timeout reset occurs.

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:hostap-bounces@shmoo.com">hostap-bounces@shmoo.com</a> [<a class="moz-txt-link-freetext" href="mailto:hostap-bounces@shmoo.com">mailto:hostap-bounces@shmoo.com</a>]On Behalf Of
Jiri Fojtasek
Sent: Thursday, June 26, 2003 12:06 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:hostap@shmoo.com">hostap@shmoo.com</a>
Subject: Re: Deauthentication of inactive STA causes a error


Jiri Fojtasek wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello Jouni

Iam trying to solve problem with random disassociatoin of my WDS
clients (in cause of few minutes not responding from my WDS clients).
I have done for this reason  a patch that that give me for this reason
more detailed informations about the "Could not find STA for this TX
error" error message ...

I have found that the deauthentication frame always followed by this
message:

wlan0: STA 00:02:72:00:0f:f8 did not ACK activity poll frame
wlan0: sending disassociation info to STA
xx:xx:xx:xx:xx:xx(last=2189385, jiffies=2219485)
wlan0: sending deauthentication info to STA
xx:xx:xx:xx:xx:xx(last=2189385, jiffies=2219585)
wlan0: Could not find STA xx:xx:xx:xx:xx:xx for this TX error
(jiffies=2219585)

(xx:xx:xx:xx:xx:xx is mac of the STA being deauthenticated)

I think it mean that deauth frame is not sent ...

I have took a deep look for this problem, and have found that in the
hostap_ap.c, exactly in the ap_handle_timer function is imediatly
after sending the deauth frame is the sta dealocated by ap_free_sta,
so i think the delivery od the deauth frame must fail ...

I think the solution should be by calling  the "ap_free_sta" in next
sheduled of the "ap_handle_timer" event .

PS: I had the same problem before you fix the activity pooling ...

Jiri


_______________________________________________
HostAP mailing list
<a class="moz-txt-link-abbreviated" href="mailto:HostAP@shmoo.com">HostAP@shmoo.com</a>
<a class="moz-txt-link-freetext" href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->Next proof . Txexc event is called in next jiffies:

wlan0: STA xx:xx:xx:xx:xx:xx did not ACK activity poll frame
wlan0: sending disassociation info to STA
xx:xx:xx:xx:xx:xx(last=2360077, jiffies=2390177)
wlan0: sending deauthentication info to STA
xx:xx:xx:xx:xx:xx(last=2360077, jiffies=2390277)
wlan0: Could not find STA xx:xx:xx:xx:xx:xx for this TX error
(jiffies=2390278)

Jiri

_______________________________________________
HostAP mailing list
<a class="moz-txt-link-abbreviated" href="mailto:HostAP@shmoo.com">HostAP@shmoo.com</a>
<a class="moz-txt-link-freetext" href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a>

  </pre>
</blockquote>
Hi <br>
<br>
I have no timeout resets. I had it but when i revert and change a part
ot hostap code timeots gone :<br>
<br>
--- ./hostap-0.0.3/driver/modules/hostap_hw.c   2003-06-25
07:10:40.000000000 +0200<br>
+++ ./hostap-0.0.3.work/driver/modules/hostap_hw.c      2003-06-26
10:04:13.000000000 +0200<br>
@@ -147,9 +147,9 @@<br>
<br>
 /* ca. 1 usec */<br>
 #define HFA384X_CMD_BUSY_TIMEOUT 5000<br>
+#define HFA384X_BAP_BUSY_TIMEOUT 10000<br>
<br>
 /* ca. 10 usec */<br>
-#define HFA384X_BAP_BUSY_TIMEOUT 5000<br>
 #define HFA384X_INIT_TIMEOUT 50000<br>
 #define HFA384X_CMD_COMPL_TIMEOUT 20000<br>
 #define HFA384X_DL_COMPL_TIMEOUT 1000000<br>
@@ -578,7 +578,7 @@<br>
<br>
        while ((HFA384X_INW(o_off) &amp; HFA384X_OFFSET_BUSY)
&amp;&amp; tries &gt; 0) {<br>
                tries--;<br>
-               udelay(10);<br>
+               udelay(1);<br>
        }<br>
        return (HFA384X_INW(o_off) &amp; HFA384X_OFFSET_BUSY);<br>
 }<br>
<br>
</body>
</html>