summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_freebsd.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-03-24 17:57:48 +0000
committersam <sam@FreeBSD.org>2009-03-24 17:57:48 +0000
commitda77f06ea9a5e54f2a61aff7e6aa5046a5cc3114 (patch)
tree4bdd27648fdfa4e8e7fdb0b96e7ddcde6ef000fd /sys/net80211/ieee80211_freebsd.h
parentb71af5fd28581d28a57f13fe87d6986de2bd73ec (diff)
downloadFreeBSD-src-da77f06ea9a5e54f2a61aff7e6aa5046a5cc3114.zip
FreeBSD-src-da77f06ea9a5e54f2a61aff7e6aa5046a5cc3114.tar.gz
add linker sets for get/set ioctl handlers so optional net80211
code is isolated
Diffstat (limited to 'sys/net80211/ieee80211_freebsd.h')
-rw-r--r--sys/net80211/ieee80211_freebsd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_freebsd.h b/sys/net80211/ieee80211_freebsd.h
index 519e37d..41cc190 100644
--- a/sys/net80211/ieee80211_freebsd.h
+++ b/sys/net80211/ieee80211_freebsd.h
@@ -393,6 +393,17 @@ alg##_modevent(int type) \
TEXT_SET(rate##_set, alg##_modevent)
#endif /* _KERNEL */
+struct ieee80211req;
+typedef int ieee80211_ioctl_getfunc(struct ieee80211vap *,
+ struct ieee80211req *);
+SET_DECLARE(ieee80211_ioctl_getset, ieee80211_ioctl_getfunc);
+#define IEEE80211_IOCTL_GET(_name, _get) TEXT_SET(ieee80211_ioctl_getset, _get)
+
+typedef int ieee80211_ioctl_setfunc(struct ieee80211vap *,
+ struct ieee80211req *);
+SET_DECLARE(ieee80211_ioctl_setset, ieee80211_ioctl_setfunc);
+#define IEEE80211_IOCTL_SET(_name, _set) TEXT_SET(ieee80211_ioctl_setset, _set)
+
/* XXX this stuff belongs elsewhere */
/*
* Message formats for messages from the net80211 layer to user
OpenPOWER on IntegriCloud