diff options
author | glebius <glebius@FreeBSD.org> | 2015-05-25 13:51:13 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-05-25 13:51:13 +0000 |
commit | f67a4dcfd7b755e279a3eacad335e4b19f063aab (patch) | |
tree | 20c52d5b70928dbf070e0479f87a9ad4dd8df9e2 /sys/net80211/ieee80211_var.h | |
parent | 9f7fffcc5b3bcf5932d21d2c7a6fe6ff3586ebb7 (diff) | |
download | FreeBSD-src-f67a4dcfd7b755e279a3eacad335e4b19f063aab.zip FreeBSD-src-f67a4dcfd7b755e279a3eacad335e4b19f063aab.tar.gz |
Make net80211 drivers supply their device name to the net80211 layer, so
that the latter doesn't need to go through struct ifnet to get their name.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 4710697..40fab79 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 */ + 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 */ TAILQ_HEAD(, ieee80211vap) ic_vaps; /* list of vap instances */ |