[haiku-commits] r34349 - haiku/trunk/headers/private/net

  • From: coling@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Nov 2009 19:09:33 +0100 (CET)

Author: colin
Date: 2009-11-29 19:09:33 +0100 (Sun, 29 Nov 2009)
New Revision: 34349
Changeset: http://dev.haiku-os.org/changeset/34349/haiku

Added:
   haiku/trunk/headers/private/net/bosii_driver.h
Log:
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.


Added: haiku/trunk/headers/private/net/bosii_driver.h
===================================================================
--- haiku/trunk/headers/private/net/bosii_driver.h                              
(rev 0)
+++ haiku/trunk/headers/private/net/bosii_driver.h      2009-11-29 18:09:33 UTC 
(rev 34349)
@@ -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_ */


Other related posts:

  • » [haiku-commits] r34349 - haiku/trunk/headers/private/net - coling