aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ieee802_11h.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-10-21 00:04:53 (GMT)
committerJouni Malinen <j@w1.fi>2006-10-21 00:04:53 (GMT)
commitf2c87bc794c6515779b8162a20d5792cd501c260 (patch)
tree103594ebcfd81e98d88c129e12df2f0768631580 /hostapd/ieee802_11h.h
parent25d7da278784a01a4a903012359b2260648f4a4f (diff)
downloadhostap-history-f2c87bc794c6515779b8162a20d5792cd501c260.zip
hostap-history-f2c87bc794c6515779b8162a20d5792cd501c260.tar.gz
hostap-history-f2c87bc794c6515779b8162a20d5792cd501c260.tar.bz2
Added preliminary code for IEEE 802.11d and 802.11h support. This is
not yet complete, so the functionality is not available, but the basic helper functions and some of the configuration options are now in. (from Devicescape)
Diffstat (limited to 'hostapd/ieee802_11h.h')
-rw-r--r--hostapd/ieee802_11h.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/hostapd/ieee802_11h.h b/hostapd/ieee802_11h.h
new file mode 100644
index 0000000..584540e
--- /dev/null
+++ b/hostapd/ieee802_11h.h
@@ -0,0 +1,18 @@
+/*
+ * hostapd / IEEE 802.11h
+ * Copyright 2005-2006, Devicescape Software, Inc.
+ * All Rights Reserved.
+ */
+
+#ifndef IEEE802_11H_H
+#define IEEE802_11H_H
+
+#define SPECT_LOOSE_BINDING 1
+#define SPECT_STRICT_BINDING 2
+
+#define CHAN_SWITCH_MODE_NOISY 0
+#define CHAN_SWITCH_MODE_QUIET 1
+
+int hostapd_check_power_cap(struct hostapd_data *hapd, u8 *power, u8 len);
+
+#endif /* IEEE802_11H_H */