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;
                }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to