svn commit: r188556 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Thu Feb 12 21:31:19 PST 2009


Author: sam
Date: Fri Feb 13 05:31:18 2009
New Revision: 188556
URL: http://svn.freebsd.org/changeset/base/188556

Log:
  remove ic_stats; it was intended to accumulate stats from vaps as they
  were reaped but was never used and is inaccessible

Modified:
  head/sys/net80211/ieee80211.c
  head/sys/net80211/ieee80211_ddb.c
  head/sys/net80211/ieee80211_var.h

Modified: head/sys/net80211/ieee80211.c
==============================================================================
--- head/sys/net80211/ieee80211.c	Fri Feb 13 05:30:22 2009	(r188555)
+++ head/sys/net80211/ieee80211.c	Fri Feb 13 05:31:18 2009	(r188556)
@@ -533,7 +533,6 @@ ieee80211_vap_detach(struct ieee80211vap
 	 */
 	ieee80211_stop_locked(vap);
 
-	/* XXX accumulate iv_stats in ic_stats? */
 	TAILQ_REMOVE(&ic->ic_vaps, vap, iv_next);
 	ieee80211_syncflag_locked(ic, IEEE80211_F_WME);
 	ieee80211_syncflag_locked(ic, IEEE80211_F_TURBOP);

Modified: head/sys/net80211/ieee80211_ddb.c
==============================================================================
--- head/sys/net80211/ieee80211_ddb.c	Fri Feb 13 05:30:22 2009	(r188555)
+++ head/sys/net80211/ieee80211_ddb.c	Fri Feb 13 05:31:18 2009	(r188556)
@@ -438,7 +438,6 @@ _db_show_com(const struct ieee80211com *
 	db_printf("\tifp %p", ic->ic_ifp);
 	db_printf(" comlock %p", &ic->ic_comlock);
 	db_printf("\n");
-	_db_show_stats(&ic->ic_stats);
 	db_printf("\theadroom %d", ic->ic_headroom);
 	db_printf(" phytype %d", ic->ic_phytype);
 	db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]);

Modified: head/sys/net80211/ieee80211_var.h
==============================================================================
--- head/sys/net80211/ieee80211_var.h	Fri Feb 13 05:30:22 2009	(r188555)
+++ head/sys/net80211/ieee80211_var.h	Fri Feb 13 05:31:18 2009	(r188556)
@@ -111,7 +111,6 @@ struct ieee80211com {
 	struct ifnet		*ic_ifp;	/* associated device */
 	ieee80211_com_lock_t	ic_comlock;	/* state update lock */
 	TAILQ_HEAD(, ieee80211vap) ic_vaps;	/* list of vap instances */
-	struct ieee80211_stats	ic_stats;	/* statistics */
 	int			ic_headroom;	/* driver tx headroom needs */
 	enum ieee80211_phytype	ic_phytype;	/* XXX wrong for multi-mode */
 	enum ieee80211_opmode	ic_opmode;	/* operation mode */


More information about the svn-src-head mailing list