コード例 #1
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80')
         ])
     self._post_init(with_options, **kwargs)
コード例 #2
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Int('ESMCause', Pt=0, Type='uint8', Dict=ESMCause_dict),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80')
         ])
     self._post_init(with_options, **kwargs)
コード例 #3
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Bit('spare', Pt=0, BitLen=4),
         Bit('Bearer', ReprName='Linked EPS Bearer ID', Pt=5, BitLen=4,
             Repr='hum'),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80')
         ])
     self._post_init(with_options, **kwargs)
コード例 #4
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Bit('spare', Pt=0, BitLen=4),
         Bit('Bearer', ReprName='Linked EPS Bearer ID', Pt=5, BitLen=4,
             Repr='hum'),
         Type4_LV('TFA', ReprName='Traffic Flow Aggregate', V='\0'),
         Type4_LV('EQoS', ReprName='Required Traffic Flow QoS', V='\0'),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80'),
         Type1_TV('DevProp', ReprName='Device Properties', T=0xC, V=0)
         ])
     self._post_init(with_options, **kwargs)
コード例 #5
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Bit('PDNType', Pt=0, BitLen=4, Dict=PDNType_dict, Repr='hum'),
         Bit('ReqType', ReprName='Request Type', Pt=0, BitLen=4,
             Dict=RequestType_dict, Repr='hum'),
         Type1_TV('ESMTransFlag', ReprName='ESM Information Transfer Flag',
                  T=0xD, V=0, Dict=ESMTransFlag_dict),
         Type4_TLV('APN', ReprName='Access Point Name', T=0x28, V='\0'),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80'),
         Type1_TV('DevProp', ReprName='Device Properties', T=0xC, V=0)
         ])
     self._post_init(with_options, **kwargs)
コード例 #6
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Type4_TLV('EQoS', ReprName='New EPS QoS', T=0x5B, 
                   V='\0'),
         Type4_TLV('TFT', ReprName='Traffic Flow Template', T=0x36, V='\0'),
         Type4_TLV('QoS', ReprName='New QoS', T=0x30, V=12*'\0'),
         Type3_TV('LLC_SAPI', ReprName='Negotiated LLC Service Access ' \
                   'Point ID', T=0x32, V='\0', Len=1),
         Type1_TV('RadioPrio', ReprName='Radio Priority', T=0x8, V=1),
         Type4_TLV('PFlowID', ReprName='Packet Flow ID', T=0x34, V='\0'),
         Type4_TLV('APN_AMBR', ReprName='APN Aggregate Maximum Bitrate', 
                   T=0x5E, V='\0\0'),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80')
         ])
     self._post_init(with_options, **kwargs)
コード例 #7
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Bit('spare', Pt=0, BitLen=4),
         Bit('Bearer', ReprName='Linked EPS Bearer ID', Pt=5, BitLen=4,
             Repr='hum'),
         Type4_LV('EQoS', ReprName='EPS QoS', V='\0'),
         Type4_LV('TFT', ReprName='Traffic Flow Template', V='\0'),
         Type4_TLV('TI', ReprName='Transaction Identifier', T=0x5D, V='\0'),
         Type4_TLV('QoS', ReprName='Negotiated QoS', T=0x30, V=12*'\0'),
         Type3_TV('LLC_SAPI', ReprName='Negotiated LLC Service Access ' \
                   'Point ID', T=0x32, V='\0', Len=1),
         Type1_TV('RadioPrio', ReprName='Radio Priority', T=0x8, V=1),
         Type4_TLV('PFlowID', ReprName='Packet Flow ID', T=0x34, V='\0'),
         Type4_TLV('ProtConfig', ReprName='Protocol Config Options',
                   T=0x27, V='\x80')
         ])
     self._post_init(with_options, **kwargs)
コード例 #8
0
 def __init__(self, with_options=False, with_security=False, **kwargs):
     Layer3NAS.__init__(self, with_security)
     self.extend([
         Type4_LV('EQoS', ReprName='EPS QoS', V='\0'),
         Type4_LV('APN', ReprName='Access Point Name', V='\0'),
         Type4_LV('PDNAddr', ReprName='PDN Address', V=5*'\0'),
         Type4_TLV('LTI', ReprName='Linked Transaction Identifier', T=0x5D, V='\0'),
         Type4_TLV('QoS', ReprName='Negotiated QoS', T=0x30, V=12*'\0'),
         Type3_TV('LLC_SAPI', ReprName='Negotiated LLC Service Access ' \
                   'Point ID', T=0x32, V='\0', Len=1),
         Type1_TV('RadioPrio', ReprName='Radio Priority', T=0x8, V=1),
         Type4_TLV('PFlowID', ReprName='Packet Flow ID', T=0x34, V='\0'),
         Type4_TLV('APN_AMBR', ReprName='APN Aggregate Maximum Bitrate', 
                   T=0x5E, V='\0\0'),
         Type3_TV('ESMCause', T=0x58, V='\0', Len=1),
         Type4_TLV('ProtConfig', ReprName='Protocol Configuration options',
                   T=0x27, V='\x80'),
         Type1_TV('ConType', ReprName='Connectivity Type', T=0xB, V=0)
         ])
     self._post_init(with_options, **kwargs)