summaryrefslogtreecommitdiffstats
path: root/data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp')
-rw-r--r--data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp58
1 files changed, 58 insertions, 0 deletions
diff --git a/data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp b/data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp
new file mode 100644
index 0000000..03e2a7c
--- /dev/null
+++ b/data/mnet/GP10/Host/Rlc_mac/src/ieMAIO.cpp
@@ -0,0 +1,58 @@
+// *******************************************************************
+//
+// (c) Copyright Cisco 2000
+// All Rights Reserved
+//
+// *******************************************************************
+
+// *******************************************************************
+//
+// File : ieMAIO.cpp
+// Author(s) : Tim Olson
+// Create Date : 6/5/2000
+// Description :
+//
+// *******************************************************************
+
+#include "ieMAIO.h"
+#include "logging\vclogging.h"
+#include "logging\vcmodules.h"
+
+// *******************************************************************
+// class IeMAIO
+//
+// Description:
+// MAIO IE -- GSM04.60 12.8
+// *******************************************************************
+RlcMacResult IeMAIO::EncodeIe(BitStreamOut &dataStream)
+{
+ DBG_FUNC("IeMAIO::EncodeIe", RLC_MAC);
+ DBG_ENTER();
+
+ RlcMacResult result = RLC_MAC_SUCCESS;
+
+ // Pack MAIO bits into the output bit stream.
+ if (isValid)
+ {
+ dataStream.InsertBits8(maio, 7);
+ }
+ else
+ {
+ result = RLC_MAC_INVALID_IE;
+ DBG_ERROR("IeMAIO::EncodeIe MAIO not valid\n");
+ }
+
+ DBG_LEAVE();
+ return (result);
+}
+
+
+void IeMAIO::DisplayDetails(DbgOutput *outObj)
+{
+ if (isValid)
+ {
+ outObj->Trace("\tMAIO ---> %d\n", maio);
+ }
+}
+
+