src/devices/wifi/wifi-phy.h
changeset 5189 8fcdf87a790a
parent 5179 5791fa40e7b1
child 5820 1c02054740eb
--- a/src/devices/wifi/wifi-phy.h	Tue Sep 15 00:05:36 2009 -0700
+++ b/src/devices/wifi/wifi-phy.h	Tue Sep 15 10:47:02 2009 +0200
@@ -97,6 +97,14 @@
    * what duration it reported.
    */
   virtual void NotifyMaybeCcaBusyStart (Time duration) = 0;
+  /**
+   * \param duration the expected channel switching duration.
+   *
+   * We do not send any event to notify the end of 
+   * channel switching. Listeners should assume that the
+   * channel implicitely reverts to the idle or busy states.
+   */
+  virtual void NotifySwitchingStart (Time duration) = 0; 
 };
 
 
@@ -127,7 +135,11 @@
     /**
      * The PHY layer is IDLE.
      */
-    IDLE
+    IDLE,
+    /**
+     * The PHY layer is switching to other channel.
+     */
+    SWITCHING
   };
   /**
    * arg1: packet received successfully