summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2015-05-25 15:08:38 +0000
committerglebius <glebius@FreeBSD.org>2015-05-25 15:08:38 +0000
commit00952a32f7e8cdddedcfd3838db201a723666b47 (patch)
treef9abb3ba9d07f371251302993def18988ac358e4 /sys/net80211/ieee80211_var.h
parent57d6114e7fa54233896faa977afc1998b258273c (diff)
downloadFreeBSD-src-00952a32f7e8cdddedcfd3838db201a723666b47.zip
FreeBSD-src-00952a32f7e8cdddedcfd3838db201a723666b47.tar.gz
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.
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 48449c9..e7d2f91 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -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 */
OpenPOWER on IntegriCloud