Add missing files lte-vendor-specific-parameters.h-cc
authorMarco Miozzo <marco.miozzo@cttc.es>
Wed, 11 Jul 2012 13:03:05 +0200
changeset 9046 eab4c6514af0
parent 9045 9786bf474ea1
child 9047 284d30c8dd42
Add missing files lte-vendor-specific-parameters.h-cc
src/lte/model/lte-vendor-specific-parameters.cc
src/lte/model/lte-vendor-specific-parameters.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/lte/model/lte-vendor-specific-parameters.cc	Wed Jul 11 13:03:05 2012 +0200
@@ -0,0 +1,46 @@
+/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Author: Marco Miozzo  <marco.miozzo@cttc.es>
+ */
+
+#include <ns3/lte-vendor-specific-parameters.h>
+#include <ns3/log.h>
+
+NS_LOG_COMPONENT_DEFINE ("LteVendorSpecificParameters");
+
+namespace ns3 {
+  
+SrsCqiRntiVsp::SrsCqiRntiVsp (uint16_t rnti)
+:  m_rnti (rnti)
+{
+  
+}
+
+SrsCqiRntiVsp::~SrsCqiRntiVsp ()
+{
+  
+}
+
+uint16_t
+SrsCqiRntiVsp::GetRnti ()
+{
+  return (m_rnti);
+}
+
+
+}; // namespace ns3
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/lte/model/lte-vendor-specific-parameters.h	Wed Jul 11 13:03:05 2012 +0200
@@ -0,0 +1,52 @@
+/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Author: Marco Miozzo  <marco.miozzo@cttc.es>
+ */
+
+#ifndef LTE_VENDOR_SPECIFIC_PARAMETERS
+#define LTE_VENDOR_SPECIFIC_PARAMETERS
+
+#include <ns3/ff-mac-common.h>
+
+
+#define SRS_CQI_RNTI_VSP 1
+
+
+namespace ns3 {
+
+/**
+* \brief Define the RNTI that has generated the 
+*/
+class SrsCqiRntiVsp : public VendorSpecificValue
+{
+  public:
+  SrsCqiRntiVsp (uint16_t rnti);
+  virtual ~SrsCqiRntiVsp ();
+  
+  uint16_t GetRnti ();
+  
+  private:
+  uint16_t m_rnti;
+};
+
+
+
+}; // namespace ns3
+
+#endif /* LTE_VENDOR_SPECIFIC_PARAMETERS */
+