From 53b11310d44cd7bbe9cd13b7098ce63edafb390e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20G=C3=BCnther?= Date: Sun, 29 Nov 2009 18:09:33 +0000 Subject: [PATCH] Needed header to allow compilation of the wlan stack. Bosii is a transcription of 802.11. It is a work-in-progress title to point out parts of the wlan stack which are still in an experimental state. For example the control codes within bosii_driver.h are moving targets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34349 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/net/bosii_driver.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 headers/private/net/bosii_driver.h diff --git a/headers/private/net/bosii_driver.h b/headers/private/net/bosii_driver.h new file mode 100644 index 0000000000..5c81a5580a --- /dev/null +++ b/headers/private/net/bosii_driver.h @@ -0,0 +1,20 @@ +/* + * Copyright 2009, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _BOSII_DRIVER_H_ +#define _BOSII_DRIVER_H_ + + +#define ETHER_OP_CODES_END (ETHER_GET_LINK_STATE + 1) + +/* ioctl() opcodes a wlan driver should support */ +enum { + BOSII_DEVICE = ETHER_OP_CODES_END, + BOSII_DETECT_NETWORKS, + BOSII_GET_DETECTED_NETWORKS, + BOSII_JOIN_NETWORK, + BOSII_GET_ASSOCIATED_NETWORK +}; + +#endif /* _BOSII_DRIVER_H_ */