src/lte/model/lte-enb-net-device.h
changeset 8015 e8fd3bf1692f
parent 7976 541eee38ac12
child 8098 575e7f7c6146
--- a/src/lte/model/lte-enb-net-device.h	Wed May 04 19:23:57 2011 +0200
+++ b/src/lte/model/lte-enb-net-device.h	Wed May 04 19:27:33 2011 +0200
@@ -105,6 +105,26 @@
    */
   void SetDlBandwidth (uint8_t bw);
 
+  /** 
+   * \return the downlink carrier frequency (EARFCN)
+   */
+  uint16_t GetDlEarfcn () const;
+
+  /** 
+   * \param bw the downlink carrier frequency (EARFCN)
+   */
+  void SetDlEarfcn (uint16_t earfcn);
+
+  /** 
+   * \return the uplink carrier frequency (EARFCN)
+   */
+  uint16_t GetUlEarfcn () const;
+
+  /** 
+   * \param bw the uplink carrier frequency (EARFCN)
+   */
+  void SetUlEarfcn (uint16_t earfcn);
+
 
 protected:
 
@@ -144,6 +164,9 @@
 
   uint8_t m_dlBandwidth; /**< downlink bandwidth in RBs */
   uint8_t m_ulBandwidth; /**< uplink bandwidth in RBs */
+
+  uint16_t m_dlEarfcn;  /**< downlink carrier frequency */ 
+  uint16_t m_ulEarfcn;  /**< uplink carrier frequency */ 
   
 };