Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 00:54:14 +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: r302100 - head/sys/dev/ath
Message-ID:  <201606230054.u5N0sESS076501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Thu Jun 23 00:54:14 2016
New Revision: 302100
URL: https://svnweb.freebsd.org/changeset/base/302100

Log:
  [ath] fix comments!
  
  I keep asking myself "what do these fields mean" and so now I've clarified
  it for myself.
  
  Tested:
  
  * Reading the comments, going "a-ha!" a couple times.
  
  Approved by:	re (gjb)

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Thu Jun 23 00:34:03 2016	(r302099)
+++ head/sys/dev/ath/if_athvar.h	Thu Jun 23 00:54:14 2016	(r302100)
@@ -370,9 +370,9 @@ struct ath_txq {
 	 */
 	struct {
 		TAILQ_HEAD(axq_q_f_s, ath_buf)	axq_q;
-		u_int				axq_depth;
+		u_int				axq_depth;	/* how many frames (1 per legacy, 1 per A-MPDU list) are in the FIFO queue */
 	} fifo;
-	u_int			axq_fifo_depth;	/* depth of FIFO frames */
+	u_int			axq_fifo_depth;	/* how many FIFO slots are active */
 
 	/*
 	 * XXX the holdingbf field is protected by the TXBUF lock



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