Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 01:08:51 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229165 - head/sys/dev/ath
Message-ID:  <201201010108.q0118pCt090836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201010108.q0118pCt090836>