svn commit: r283531 - head/sys/net80211
Gleb Smirnoff
glebius at FreeBSD.org
Mon May 25 15:08:39 UTC 2015
Author: glebius
Date: Mon May 25 15:08:38 2015
New Revision: 283531
URL: https://svnweb.freebsd.org/changeset/base/283531
Log:
Add void * member to struct ieee80211com, so that drivers can obtain their
softc without going through the struct ifnet.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Modified:
head/sys/net80211/ieee80211_var.h
Modified: head/sys/net80211/ieee80211_var.h
==============================================================================
--- head/sys/net80211/ieee80211_var.h Mon May 25 14:54:10 2015 (r283530)
+++ head/sys/net80211/ieee80211_var.h Mon May 25 15:08:38 2015 (r283531)
@@ -117,6 +117,7 @@ struct ieee80211_frame;
struct ieee80211com {
struct ifnet *ic_ifp; /* associated device */
+ void *ic_softc; /* driver softc */
const char *ic_name; /* usually device name */
ieee80211_com_lock_t ic_comlock; /* state update lock */
ieee80211_tx_lock_t ic_txlock; /* ic/vap TX lock */
More information about the svn-src-head
mailing list