summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/ieee802_11h.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-07-09 16:15:06 +0000
committersam <sam@FreeBSD.org>2007-07-09 16:15:06 +0000
commit1bf2fd00c50865c26197a0fb9ce70f417b9fa121 (patch)
treec6f336fc28b042f00efc2373c71fceadfa394e52 /contrib/hostapd/ieee802_11h.h
parent620bfba12034be7d2ad4a357063d609ff5b6e63a (diff)
downloadFreeBSD-src-1bf2fd00c50865c26197a0fb9ce70f417b9fa121.zip
FreeBSD-src-1bf2fd00c50865c26197a0fb9ce70f417b9fa121.tar.gz
Import of hostapd 0.5.8
Diffstat (limited to 'contrib/hostapd/ieee802_11h.h')
-rw-r--r--contrib/hostapd/ieee802_11h.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/hostapd/ieee802_11h.h b/contrib/hostapd/ieee802_11h.h
new file mode 100644
index 0000000..b2bd549
--- /dev/null
+++ b/contrib/hostapd/ieee802_11h.h
@@ -0,0 +1,27 @@
+/*
+ * hostapd / IEEE 802.11h
+ * Copyright (c) 2005-2006, Devicescape Software, Inc.
+ * Copyright (c) 2007, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
+#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 */
OpenPOWER on IntegriCloud