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

Unified Diff: src/lte/model/lte-asn1-header.cc

Issue 262000043: GSoC 2015 - FinalTerm Milestone - Carrier Aggregation
Patch Set: Created 8 years, 7 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/lte/model/lte-asn1-header.h ('k') | src/lte/model/lte-ccm-rrc-sap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lte/model/lte-asn1-header.cc
===================================================================
--- a/src/lte/model/lte-asn1-header.cc
+++ b/src/lte/model/lte-asn1-header.cc
@@ -1,6 +1,7 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
+ * Copyright (c) 2015 Danilo Abrignani
*
* 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
@@ -16,6 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Lluis Parcerisa <lparcerisa@cttc.cat>
+ * Danilo Abrignani <danilo.abrignani@unibo.it> (few mod for GSoC 2015, CA support)
*/
#include "ns3/log.h"
@@ -270,6 +272,11 @@
SerializeSequence<6> (optionalOrDefaultMask,isExtensionMarkerPresent);
}
+void Asn1Header::SerializeSequence (std::bitset<7> optionalOrDefaultMask, bool isExtensionMarkerPresent) const
+{
+ SerializeSequence<7> (optionalOrDefaultMask,isExtensionMarkerPresent);
+}
+
void Asn1Header::SerializeSequence (std::bitset<9> optionalOrDefaultMask, bool isExtensionMarkerPresent) const
{
SerializeSequence<9> (optionalOrDefaultMask,isExtensionMarkerPresent);
@@ -727,6 +734,11 @@
return DeserializeSequence<6> (optionalOrDefaultMask,isExtensionMarkerPresent,bIterator);
}
+Buffer::Iterator Asn1Header::DeserializeSequence (std::bitset<7> *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator)
+{
+ return DeserializeSequence<7> (optionalOrDefaultMask,isExtensionMarkerPresent,bIterator);
+}
+
Buffer::Iterator Asn1Header::DeserializeSequence (std::bitset<9> *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator)
{
return DeserializeSequence<9> (optionalOrDefaultMask,isExtensionMarkerPresent,bIterator);
« no previous file with comments | « src/lte/model/lte-asn1-header.h ('k') | src/lte/model/lte-ccm-rrc-sap.h » ('j') | no next file with comments »

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