Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(186)

Unified Diff: src/nist/model/nist-lte-spectrum-signal-parameters.h

Issue 326890043: Public Safety Communication modeling tools based on ns-3
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/nist/model/nist-lte-spectrum-phy.cc ('k') | src/nist/model/nist-lte-spectrum-signal-parameters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/nist/model/nist-lte-spectrum-signal-parameters.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/nist/model/nist-lte-spectrum-signal-parameters.h
@@ -0,0 +1,196 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 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: Nicola Baldo <nbaldo@cttc.es>
+ * Modified by Marco Miozzo <mmiozzo@cttc.es> (add data and ctrl diversity)
+ * Modified by: NIST
+ */
+
+#ifndef NIST_LTE_SPECTRUM_SIGNAL_PARAMETERS_H
+#define NIST_LTE_SPECTRUM_SIGNAL_PARAMETERS_H
+
+
+#include <ns3/spectrum-signal-parameters.h>
+
+namespace ns3 {
+
+class PacketBurst;
+class NistLteControlMessage;
+
+
+/**
+ * \ingroup lte
+ *
+ * Signal parameters for Lte
+ */
+struct NistLteSpectrumSignalParameters : public SpectrumSignalParameters
+{
+
+ // inherited from SpectrumSignalParameters
+ virtual Ptr<SpectrumSignalParameters> Copy ();
+
+ /**
+ * default constructor
+ */
+ NistLteSpectrumSignalParameters ();
+
+ /**
+ * copy constructor
+ */
+ NistLteSpectrumSignalParameters (const NistLteSpectrumSignalParameters& p);
+
+ /**
+ * The packet burst being transmitted with this signal
+ */
+ Ptr<PacketBurst> packetBurst;
+};
+
+
+/**
+* \ingroup lte
+*
+* Signal parameters for Lte Data Frame (PDSCH), and eventually after some
+* control messages through other control channel embedded in PDSCH
+* (i.e. PBCH)
+*/
+struct NistLteSpectrumSignalParametersDataFrame : public SpectrumSignalParameters
+{
+
+ // inherited from SpectrumSignalParameters
+ virtual Ptr<SpectrumSignalParameters> Copy ();
+
+ /**
+ * default constructor
+ */
+ NistLteSpectrumSignalParametersDataFrame ();
+
+ /**
+ * copy constructor
+ */
+ NistLteSpectrumSignalParametersDataFrame (const NistLteSpectrumSignalParametersDataFrame& p);
+
+ /**
+ * The packet burst being transmitted with this signal
+ */
+ Ptr<PacketBurst> packetBurst;
+
+ std::list<Ptr<NistLteControlMessage> > ctrlMsgList;
+
+ uint16_t cellId;
+};
+
+
+/**
+* \ingroup lte
+*
+* Signal parameters for Lte DL Ctrl Frame (RS, PCFICH and PDCCH)
+*/
+struct NistLteSpectrumSignalParametersDlCtrlFrame : public SpectrumSignalParameters
+{
+
+ // inherited from SpectrumSignalParameters
+ virtual Ptr<SpectrumSignalParameters> Copy ();
+
+ /**
+ * default constructor
+ */
+ NistLteSpectrumSignalParametersDlCtrlFrame ();
+
+ /**
+ * copy constructor
+ */
+ NistLteSpectrumSignalParametersDlCtrlFrame (const NistLteSpectrumSignalParametersDlCtrlFrame& p);
+
+
+ std::list<Ptr<NistLteControlMessage> > ctrlMsgList;
+
+ uint16_t cellId;
+ bool pss; // primary synchronization signal
+};
+
+
+
+/**
+* \ingroup lte
+*
+* Signal parameters for Lte SRS Frame
+*/
+struct NistLteSpectrumSignalParametersUlSrsFrame : public SpectrumSignalParameters
+{
+
+ // inherited from SpectrumSignalParameters
+ virtual Ptr<SpectrumSignalParameters> Copy ();
+
+ /**
+ * default constructor
+ */
+ NistLteSpectrumSignalParametersUlSrsFrame ();
+
+ /**
+ * copy constructor
+ */
+ NistLteSpectrumSignalParametersUlSrsFrame (const NistLteSpectrumSignalParametersUlSrsFrame& p);
+
+ uint16_t cellId;
+};
+
+/**
+* \ingroup lte
+*
+* Signal parameters for Lte SL Frame (PSCCH and PSSCH)
+*/
+struct NistLteSpectrumSignalParametersSlFrame : public SpectrumSignalParameters
+{
+
+ // inherited from SpectrumSignalParameters
+ virtual Ptr<SpectrumSignalParameters> Copy ();
+
+ /**
+ * default constructor
+ */
+ NistLteSpectrumSignalParametersSlFrame ();
+
+ /**
+ * copy constructor
+ */
+ NistLteSpectrumSignalParametersSlFrame (const NistLteSpectrumSignalParametersSlFrame& p);
+
+
+ /**
+ * The packet burst being transmitted with this signal
+ */
+ Ptr<PacketBurst> packetBurst;
+
+ /**
+ * The control messages being sent (for sidelink, there should only be 1)
+ */
+ std::list<Ptr<NistLteControlMessage> > ctrlMsgList;
+
+ uint32_t nodeId;
+ uint8_t groupId;
+
+ /**
+ * The Sidelink synchronization signal identifier of the transmitting UE
+ */
+ uint64_t slssId;
+
+};
+
+} // namespace ns3
+
+
+#endif /* NIST_LTE_SPECTRUM_SIGNAL_PARAMETERS_H */
« no previous file with comments | « src/nist/model/nist-lte-spectrum-phy.cc ('k') | src/nist/model/nist-lte-spectrum-signal-parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b