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

Unified Diff: src/contrib/physim-wifi/test/physim-wifi-convolutional-test.h

Issue 2173042: NS-3: New and accurate physical layer for IEEE 802.11 OFDM called PhySim-WiFi
Patch Set: Created 13 years, 6 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
Index: src/contrib/physim-wifi/test/physim-wifi-convolutional-test.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/contrib/physim-wifi/test/physim-wifi-convolutional-test.h
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2010 Jens Mittag, Stylianos Papanastasiou
+ *
+ * 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
+ *
+ * Authors:
+ * Jens Mittag <jens.mittag@kit.edu>
+ * Stylianos Papanastasiou <stylianos@gmail.com>
+ */
+
+#ifndef PHYSIM_WIFI_CONVOLUTIONAL_TEST_H_
+#define PHYSIM_WIFI_CONVOLUTIONAL_TEST_H_
+
+#include "ns3/test.h"
+#include "ns3/physim-convolutional-encoder.h"
+
+using namespace ns3;
+
+/**
+ * Test case to verify that convolutional (de)coding works according to the
+ * specifications outlined in Section 17 of the IEEE 802.11 standard.
+ */
+class PhySimWifiConvolutionalTest : public ns3::TestCase
+{
+public:
+ PhySimWifiConvolutionalTest ();
+ virtual ~PhySimWifiConvolutionalTest ();
+
+private:
+ bool DoRun (void);
+ bool RunSingle (WifiCodeRate rate);
+ bool RunAnnexG (void);
+ Ptr<PhySimConvolutionalEncoder> m_convolutional;
+};
+
+#endif /* PHYSIM_WIFI_CONVOLUTIONAL_TEST_H_ */

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