svn commit: r229165 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Sun Jan 1 01:08:52 UTC 2012


Author: adrian
Date: Sun Jan  1 01:08:51 2012
New Revision: 229165
URL: http://svn.freebsd.org/changeset/base/229165

Log:
  If frames are dumped out of the queue, let's at least see what they are.
  
  This shows that the majority of the weird traffic I see here are probe
  frames that haven't been sent out, but I can also trigger this condition
  by doing ICMP w/ -i 0.3 - enough to trigger the TX during actual scanning,
  but not fast enough to stop scanning from occuring.
  
  PR:		kern/163689

Modified:
  head/sys/dev/ath/if_ath_tx.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Sun Jan  1 00:23:32 2012	(r229164)
+++ head/sys/dev/ath/if_ath_tx.c	Sun Jan  1 01:08:51 2012	(r229165)
@@ -2405,6 +2405,12 @@ ath_tx_tid_drain(struct ath_softc *sc, s
 			     tid->hwq_depth, tid->incomp, tid->baw_head,
 			     tid->baw_tail, tap == NULL ? -1 : tap->txa_start,
 			     ni->ni_txseqs[tid->tid]);
+
+			/* XXX Dump the frame, see what it is? */
+			ieee80211_dump_pkt(ni->ni_ic,
+			    mtod(bf->bf_m, const uint8_t *),
+			    bf->bf_m->m_len, 0, -1);
+
 			t = 1;
 		}
 


More information about the svn-src-head mailing list