diff --git a/src/lte/model/lte-vendor-specific-parameters.cc b/src/lte/model/lte-vendor-specific-parameters.cc new file mode 100644 index 000000000..cd89f5777 --- /dev/null +++ b/src/lte/model/lte-vendor-specific-parameters.cc @@ -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 + */ + +#include +#include + +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 diff --git a/src/lte/model/lte-vendor-specific-parameters.h b/src/lte/model/lte-vendor-specific-parameters.h new file mode 100644 index 000000000..d5d65d8b8 --- /dev/null +++ b/src/lte/model/lte-vendor-specific-parameters.h @@ -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 + */ + +#ifndef LTE_VENDOR_SPECIFIC_PARAMETERS +#define LTE_VENDOR_SPECIFIC_PARAMETERS + +#include + + +#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 */ +