[haiku-commits] r35358 - in haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack: . interfaces mac_management mac_management/frames mac_management/requests ...

  • From: coling@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 31 Jan 2010 16:04:40 +0100 (CET)

Author: colin
Date: 2010-01-31 16:04:40 +0100 (Sun, 31 Jan 2010)
New Revision: 35358
Changeset: http://dev.haiku-os.org/changeset/35358/haiku

Added:
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Event.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Frame.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/FrameFactory.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Jamfile
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Request.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Result.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Service.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Frame.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.cpp
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Jamfile
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Roster.h
Removed:
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Event.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Frame.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/FrameFactory.cpp
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/FrameFactory.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Request.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Result.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Service.h
Modified:
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Jamfile
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Stack.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/Jamfile
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/AuthenticationFrame.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Jamfile
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/AuthenticateRequest.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/JoinRequest.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/results/RequestResult.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/AuthenticateService.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/DistributeService.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/requests/ConnectRequest.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/results/RequestResult.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observable.h
   
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observer.h
Log:
* Refactor Frame class to distinct between the common Frame interface in
  interfaces and the management frame specific Frame interface
  MacManagement::Frame.
* Moving all stack wide interfaces into interfaces directory and thus cleaning
  up the somewhat crowded top stack directory. Leaving only classes in the
  top directory, that interact between Haiku's network stack and the object
  oriented WiFi-part stack.
* Introducing MpduCoordination::Roster, which will provide fragmentation
  and encryption services.


Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Jamfile
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Jamfile
  2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Jamfile
  2010-01-31 15:04:40 UTC (rev 35358)
@@ -8,7 +8,6 @@
 
 KernelMergeObject ieee80211_stack.o :
        Device.cpp
-       FrameFactory.cpp
        Stack.cpp
        : :
        mac_management.o
@@ -16,6 +15,8 @@
        utilities.o
        ;
 
+HaikuSubInclude interfaces ;
 HaikuSubInclude mac_management ;
+HaikuSubInclude mpdu_coordination ;
 HaikuSubInclude station_management ;
 HaikuSubInclude utilities ;
\ No newline at end of file

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Stack.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Stack.h
  2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Stack.h
  2010-01-31 15:04:40 UTC (rev 35358)
@@ -11,7 +11,7 @@
 #include <ieee80211_control.h>
 
 #include <Device.h>
-#include <Request.h>
+#include <interfaces/Request.h>
 #include <station_management/Roster.h>
 #include <station_management/requests/ConnectRequest.h>
 #include <station_management/results/RequestResult.h>

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Event.h
 (from rev 35334, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Event.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Event.h
                               (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Event.h
       2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_EVENT_H_
+#define IEEE80211_EVENT_H_
+
+
+namespace Ieee80211 {
+
+class Event {
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_EVENT_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Event.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Frame.h
 (from rev 35334, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Frame.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Frame.h
                               (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Frame.h
       2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_FRAME_H_
+#define IEEE80211_FRAME_H_
+
+
+namespace Ieee80211 {
+
+class Frame {
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_FRAME_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Frame.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/FrameFactory.h
 (from rev 35297, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/FrameFactory.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/FrameFactory.h
                                (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/FrameFactory.h
        2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_FRAME_FACTORY_H_
+#define IEEE80211_FRAME_FACTORY_H_
+
+
+namespace Ieee80211 {
+
+class FrameFactory {
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_FRAME_FACTORY_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/FrameFactory.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Jamfile
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Jamfile
                               (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Jamfile
       2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,4 @@
+SubDir HAIKU_TOP src add-ons kernel network devices ieee80211 stack
+       interfaces ;
+
+UseHeaders [ FDirName $(SUBDIR) .. ] : true ;

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Request.h
 (from rev 35334, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Request.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Request.h
                             (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Request.h
     2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_REQUEST_H_
+#define IEEE80211_REQUEST_H_
+
+
+#include <SupportDefs.h>
+
+
+namespace Ieee80211 {
+
+template<class ResultType>
+class Request {
+public:
+       status_t        Confirm(ResultType*);
+       status_t        WaitForConfirm(ResultType**);
+};
+
+
+/* #pragma mark - implementation */
+
+
+/*!    Confirms the request and sets the respective confirmation result.
+       After successful completion of this method WaitForConfirm() will be
+       unblocked.
+
+       \param result to be set.
+       \return B_OK The result was set and WaitForConfirm() was unblocked.
+       \return Else Neither the result nor unblocking of WaitForConfirm() took
+               place, due to an unrecoverable error.
+ */
+template<class ResultType>
+status_t
+Request<ResultType>::Confirm(ResultType* result)
+{
+       return B_OK;
+}
+
+
+/*!    Waits until the request was completed.
+       Completion means that the request was either successfully carried out or
+       that there was an error during request-processing.
+       Such an error may arise, due to insufficient data provided by the 
request.
+
+       \param result of the processed request.
+       \return B_OK The result can be used.
+       \return Else No result returned, due to an unrecoverable error during
+               request processing.
+ */
+template<class ResultType>
+status_t
+Request<ResultType>::WaitForConfirm(ResultType** result)
+{
+       return B_OK;
+}
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_REQUEST_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Request.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Result.h
 (from rev 35297, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Result.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Result.h
                              (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Result.h
      2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_RESULT_H_
+#define IEEE80211_RESULT_H_
+
+
+namespace Ieee80211 {
+
+class Result {
+
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_RESULT_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Result.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Service.h
 (from rev 35334, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/Service.h)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Service.h
                             (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Service.h
     2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_SERVICE_H_
+#define IEEE80211_SERVICE_H_
+
+
+#include <SupportDefs.h>
+
+
+namespace Ieee80211 {
+namespace MacManagement {
+
+template<class ServiceRequest>
+class Service {
+public:
+       virtual status_t Process(ServiceRequest*) = 0;
+
+protected:
+       virtual status_t _Run() = 0;
+};
+
+}
+}
+
+#endif /* IEEE80211_SERVICE_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/interfaces/Service.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/Jamfile
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/Jamfile
   2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/Jamfile
   2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,6 +6,7 @@
 KernelMergeObject mac_management.o :
        Roster.cpp
        : :
+       mac_management_frames.o
        mac_management_requests.o
        mac_management_services.o
        ;

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/AuthenticationFrame.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/AuthenticationFrame.h
      2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/AuthenticationFrame.h
      2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,18 +6,16 @@
 #define IEEE80211_AUTHENTICATION_FRAME_H_
 
 
-#include <Frame.h>
+#include <mac_management/frames/Frame.h>
 
 
 namespace Ieee80211 {
 namespace MacManagement {
-class AuthenticationFrame;
-}      /* namespace MacManagement */
 
-class MacManagement::AuthenticationFrame : public Frame {
-
+class AuthenticationFrame : public Frame {
 };
 
+}      /* namespace MacManagement */
 }      /* namespace Ieee80211 */
 
 #endif /* IEEE80211_AUTHENTICATION_FRAME_H_ */

Added: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Frame.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Frame.h
                            (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Frame.h
    2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_MAC_MANAGEMENT_FRAME_H_
+#define IEEE80211_MAC_MANAGEMENT_FRAME_H_
+
+
+#include <interfaces/Frame.h>
+
+
+namespace Ieee80211 {
+namespace MacManagement {
+class Frame;
+}      /* namespace MacManagement */
+
+class MacManagement::Frame : public Ieee80211::Frame {
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_MAC_MANAGEMENT_FRAME_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Frame.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.cpp
 (from rev 35297, 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/FrameFactory.cpp)
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.cpp
                           (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.cpp
   2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ *             Colin Günther, coling@xxxxxx
+ */
+
+
+/*!    Central place for constructing IEEE 802.11 management frames.
+       \sa IEEE Standard 802.11-2007, section 7 "Frame formats"
+       \sa IEEE Standard 802.11-2007, section 7.2.3 "Management frames"
+       \sa IEEE Standard 802.11-2007, section 7.3 "Management frame body
+               components"
+       \sa IEEE Standard 802.11-2007, section 7.4 "Action frame format details"
+ */
+
+
+#include <mac_management/frames/FrameFactory.h>
+
+
+using namespace Ieee80211::MacManagement;
+
+
+/*!    Constructs an authentication frame.
+       \sa IEEE Standard 802.11-2007, section 7.2.3.10 "Authentication frame
+               format"
+
+       \param request containing data needed to construct the frame.
+       \param frame will contain the constructed frame upon success.
+       \return B_OK The authentication frame was constructed successful.
+       \return Else Constructing the authentication frame failed.
+ */
+status_t
+FrameFactory::CreateAuthentication(AuthenticateRequest* request,
+       AuthenticationFrame** frame)
+{
+       return B_OK;
+}


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.cpp
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.h
                             (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.h
     2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_MAC_MANAGEMENT_FRAME_FACTORY_H_
+#define IEEE80211_MAC_MANAGEMENT_FRAME_FACTORY_H_
+
+
+#include <SupportDefs.h>
+
+#include <interfaces/FrameFactory.h>
+#include <mac_management/frames/AuthenticationFrame.h>
+#include <mac_management/requests/AuthenticateRequest.h>
+
+
+namespace Ieee80211 {
+namespace MacManagement {
+class FrameFactory;
+}      /* namespace MacManagement */
+
+class MacManagement::FrameFactory : public Ieee80211::FrameFactory {
+public:
+       status_t        CreateAuthentication(AuthenticateRequest*,
+                                       AuthenticationFrame**);
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_MAC_MANAGEMENT_FRAME_FACTORY_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/FrameFactory.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Jamfile
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Jamfile
    2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/frames/Jamfile
    2010-01-31 15:04:40 UTC (rev 35358)
@@ -2,3 +2,7 @@
        mac_management frames ;
 
 UseHeaders [ FDirName $(SUBDIR) .. .. ] : true ;
+
+KernelMergeObject mac_management_frames.o :
+       FrameFactory.cpp
+       ;

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/AuthenticateRequest.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/AuthenticateRequest.h
    2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/AuthenticateRequest.h
    2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,7 +6,7 @@
 #define IEEE80211_AUTHENTICATION_REQUEST_H_
 
 
-#include <Request.h>
+#include <interfaces/Request.h>
 #include <mac_management/results/AuthenticateRequestResult.h>
 #include <station_management/requests/ConnectRequest.h>
 

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/JoinRequest.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/JoinRequest.h
    2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/requests/JoinRequest.h
    2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,7 +6,7 @@
 #define IEEE80211_JOIN_REQUEST_H_
 
 
-#include <Request.h>
+#include <interfaces/Request.h>
 #include <mac_management/results/JoinRequestResult.h>
 #include <station_management/requests/ConnectRequest.h>
 

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/results/RequestResult.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/results/RequestResult.h
   2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/results/RequestResult.h
   2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,7 +6,7 @@
 #define IEEE80211_MAC_MANAGEMANT_REQUEST_RESULT_H_
 
 
-#include <Result.h>
+#include <interfaces/Result.h>
 
 
 namespace Ieee80211 {

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/AuthenticateService.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/AuthenticateService.h
    2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/AuthenticateService.h
    2010-01-31 15:04:40 UTC (rev 35358)
@@ -8,10 +8,10 @@
 
 #include <SupportDefs.h>
 
-#include <Event.h>
-#include <FrameFactory.h>
-#include <Service.h>
+#include <interfaces/Event.h>
+#include <interfaces/Service.h>
 #include <mac_management/frames/AuthenticationFrame.h>
+#include <mac_management/frames/FrameFactory.h>
 #include <mac_management/requests/AuthenticateRequest.h>
 #include <mac_management/results/AuthenticateRequestResult.h>
 #include <mac_management/services/DistributeService.h>

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/DistributeService.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/DistributeService.h
      2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mac_management/services/DistributeService.h
      2010-01-31 15:04:40 UTC (rev 35358)
@@ -8,8 +8,8 @@
 
 #include <SupportDefs.h>
 
-#include <Frame.h>
-#include <Service.h>
+#include <interfaces/Service.h>
+#include <mac_management/frames/Frame.h>
 #include <utilities/Observable.h>
 #include <utilities/Observer.h>
 

Added: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Jamfile
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Jamfile
                                (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Jamfile
        2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,4 @@
+SubDir HAIKU_TOP src add-ons kernel network devices ieee80211 stack
+       mpdu_coordination ;
+
+UseHeaders [ FDirName $(SUBDIR) .. ] : true ;

Added: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Roster.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Roster.h
                               (rev 0)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Roster.h
       2010-01-31 15:04:40 UTC (rev 35358)
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2010 Haiku Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef IEEE80211_ROSTER_H_
+#define IEEE80211_ROSTER_H_
+
+
+#include <mac_management/frames/Frame.h>
+
+
+namespace Ieee80211 {
+namespace MpduCoordination {
+class Roster;
+}      /* namespace MpduCoordination */
+
+
+class MpduCoordination::Roster {
+public:
+       status_t        AddManagementFrame(MacManagement::Frame*);
+};
+
+}      /* namespace Ieee80211 */
+
+#endif /* IEEE80211_ROSTER_H_ */


Property changes on: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/mpdu_coordination/Roster.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/requests/ConnectRequest.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/requests/ConnectRequest.h
     2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/requests/ConnectRequest.h
     2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,7 +6,7 @@
 #define IEEE80211_CONNECT_REQUEST_H_
 
 
-#include <Request.h>
+#include <interfaces/Request.h>
 #include <station_management/results/ConnectRequestResult.h>
 
 

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/results/RequestResult.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/results/RequestResult.h
       2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/station_management/results/RequestResult.h
       2010-01-31 15:04:40 UTC (rev 35358)
@@ -6,7 +6,7 @@
 #define IEEE80211_STATION_MANAGEMANT_REQUEST_RESULT_H_
 
 
-#include <Result.h>
+#include <interfaces/Result.h>
 
 
 namespace Ieee80211 {

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observable.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observable.h
   2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observable.h
   2010-01-31 15:04:40 UTC (rev 35358)
@@ -8,7 +8,7 @@
 
 #include <SupportDefs.h>
 
-#include <Event.h>
+#include <interfaces/Event.h>
 
 
 namespace Ieee80211 {

Modified: 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observer.h
===================================================================
--- 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observer.h
     2010-01-31 13:53:10 UTC (rev 35357)
+++ 
haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack/utilities/Observer.h
     2010-01-31 15:04:40 UTC (rev 35358)
@@ -8,7 +8,7 @@
 
 #include <SupportDefs.h>
 
-#include <Event.h>
+#include <interfaces/Event.h>
 #include <utilities/Queue.h>
 
 


Other related posts:

  • » [haiku-commits] r35358 - in haiku/branches/developer/colin/wireless/src/add-ons/kernel/network/devices/ieee80211/stack: . interfaces mac_management mac_management/frames mac_management/requests ... - coling