enb: expose RRC inactivity timer
allow the user to specifiy the RRC inactiviy timer used in the eNB. set the default value to 20s Change-Id: I6a264b8dee893b883d40a48831cbb47eb15e1e7b
This commit is contained in:
parent
736c30b4dc
commit
0cfc08436d
|
@ -35,6 +35,7 @@ def on_register_schemas():
|
|||
'rf_dev_type': schema.STR,
|
||||
'rf_dev_args': schema.STR,
|
||||
'additional_args[]': schema.STR,
|
||||
'inactivity_timer': schema.INT,
|
||||
'enable_measurements': schema.BOOL_STR,
|
||||
'enable_dl_awgn': schema.BOOL_STR,
|
||||
'dl_awgn_snr': schema.INT,
|
||||
|
@ -99,6 +100,8 @@ class eNodeB(log.Origin, metaclass=ABCMeta):
|
|||
self._txmode = int(values['enb'].get('transmission_mode', None))
|
||||
assert self._txmode
|
||||
config.overlay(values, dict(enb={ 'num_ports': self.num_ports() }))
|
||||
self._inactivity_timer = int(values['enb'].get('inactivity_timer', None))
|
||||
assert self._inactivity_timer
|
||||
assert self._epc is not None
|
||||
config.overlay(values, dict(enb={ 'addr': self.addr() }))
|
||||
config.overlay(values, dict(enb={ 'mme_addr': self._epc.addr() }))
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
|
||||
/* (in ms) send RRC connection release after this time of network
|
||||
inactivity */
|
||||
inactivity_timer: 10000,
|
||||
inactivity_timer: ${enb.inactivity_timer},
|
||||
|
||||
/* SRB configuration */
|
||||
srb_config: [
|
||||
|
|
|
@ -272,7 +272,7 @@ enable = false
|
|||
#pregenerate_signals = false
|
||||
#tx_amplitude = 0.6
|
||||
#link_failure_nof_err = 50
|
||||
rrc_inactivity_timer = 5000
|
||||
rrc_inactivity_timer = ${enb.inactivity_timer}
|
||||
#max_prach_offset_us = 30
|
||||
#eea_pref_list = EEA0, EEA2, EEA1
|
||||
#eia_pref_list = EIA2, EIA1, EIA0
|
||||
|
|
|
@ -112,6 +112,7 @@ enb:
|
|||
mnc: 70
|
||||
transmission_mode: 1
|
||||
num_cells: 1
|
||||
inactivity_timer: 20000
|
||||
enable_measurements: false
|
||||
enable_dl_awgn: false
|
||||
dl_awgn_snr: 30
|
||||
|
|
Loading…
Reference in New Issue