Author: adrian
Date: Mon Aug 27 20:30:07 2012
New Revision: 239756
URL: http://svn.freebsd.org/changeset/base/239756

Log:
  Improve the sample rate logging.

Modified:
  head/sys/dev/ath/ath_rate/sample/sample.c

Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c   Mon Aug 27 20:25:26 2012        
(r239755)
+++ head/sys/dev/ath/ath_rate/sample/sample.c   Mon Aug 27 20:30:07 2012        
(r239756)
@@ -929,7 +929,7 @@ ath_rate_tx_complete(struct ath_softc *s
                 * Only one rate was used; optimize work.
                 */
                IEEE80211_NOTE(an->an_node.ni_vap, IEEE80211_MSG_RATECTL,
-                    &an->an_node, "%s: size %d (%d bytes) %s rate/try %d 
%s/%d/%d nframes/nbad [%d/%d]",
+                    &an->an_node, "%s: size %d (%d bytes) %s rate/short/long 
%d %s/%d/%d nframes/nbad [%d/%d]",
                     __func__,
                     bin_to_size(size_to_bin(frame_size)),
                     frame_size,
@@ -961,11 +961,12 @@ ath_rate_tx_complete(struct ath_softc *s
 
                IEEE80211_NOTE(an->an_node.ni_vap, IEEE80211_MSG_RATECTL,
                    &an->an_node,
-"%s: size %d (%d bytes) finaltsidx %d tries %d %s rate/try [%d %s/%d %d %s/%d 
%d %s/%d %d %s/%d] nframes/nbad [%d/%d]", 
+"%s: size %d (%d bytes) finaltsidx %d short %d long %d %s rate/try [%d %s/%d 
%d %s/%d %d %s/%d %d %s/%d] nframes/nbad [%d/%d]", 
                     __func__,
                     bin_to_size(size_to_bin(frame_size)),
                     frame_size,
                     finalTSIdx,
+                    short_tries,
                     long_tries,
                     status ? "FAIL" : "OK",
                     dot11rate(rt, rc[0].rix),
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to