Emil Mikulic wrote: > On Sun, May 22, 2005 at 09:51:42AM -0700, Sam Leffler wrote: > >>Emil Mikulic wrote: >> >>>At home I have a FreeBSD 6-CURRENT machine with an ath card acting as >>>an access point. Every once in a while, wireless traffic stops and I >>>have to log in to this machine and manually bounce the interface to >>>get it going again. >> >>When this happens can you see beacons being xmit'd by the ap? Also >>the output of athstats (src/tools/tools/ath) may be useful. > > > As well as the AP machine, I have a FreeBSD 5-STABLE machine upstairs > which is a WiFi client. On which machine do you want me to turn debugging > on, and which flags? > > I've played around with /usr/src/tools/tools/ath/athdebug.c and > /usr/src/tools/tools/ath/80211debug.c before. > > What I remember is: > > - using one of the two tools to set some some flag lets me see beacons > =) > > - not to turn on certain flags on the AP machine since it has a serial > console and the flood of debugging output makes it grind to a halt > =/ > > Is there an easy way around this? Or do I only need to watch for > beacons on the client machine? I thought you had a machine using the ath driver and acting as an ap. You said periodically that machine would stop operating correctly and you had to mark the interface down+up to revive it. Assuming this I said, when the machine acting as an ap stops working can you see still see beacon frames being transmitted? To do this you need to have another machine. If the other machine is a client to the ap and using an ath card then 80211stats should show the count of beacon frames processed growing. Otherwise you can use tcpdump on the other machine to see beacon frames using something like: tcpdump -i ath0 -y IEEE802_11 or if it's not any ath card then you may need to do something different. If your problem is that the ap stops broadcasting beacons then all data frames will backup behind because normal data frames are queued on a different h/w tx queue that will be blocked by the inability to xmit the beacon frames. This condition is usually described as the "stuck beacon problem". I have a fix for this problem that I haven't committed yet. SamReceived on Sat May 28 2005 - 16:08:43 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC