summaryrefslogtreecommitdiffstats
path: root/data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h
blob: cc724ecfe5a5c42905511ffa71f7bda5573077c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// *******************************************************************
//
// (c) Copyright Cisco 2000
// All Rights Reserved
//
// *******************************************************************

// *******************************************************************
//
// File        : ieNLN.h
// Author(s)   : Tim Olson
// Create Date : 6/5/2000
// Description : 
//
// *******************************************************************


#ifndef __IENLN_H__
#define __IENLN_H__

#include "IeBase.h"
#include "bitstream.h"

// *******************************************************************
// class IeNLN
//
// Description:
//    NLN IE -- GSM04.60 11.2.10
//              GSM04.08 10.5.2.23
// *******************************************************************


class IeNLN : public IeBase {
public:

   IeNLN() : IeBase() {}
   
   RlcMacResult EncodeIe(BitStreamOut &dataStream);
   void DisplayDetails(DbgOutput *outObj);
   
   RlcMacResult SetNLN(unsigned char val)
   {
      nln = val;
      isValid = TRUE;
      return (RLC_MAC_SUCCESS);
   }
   
   unsigned char GetNLN()
   {
      return (nln);
   }
   
   void ClearNLN() { isValid = FALSE; }
   
private:
   unsigned char nln;
};

#endif