Dong Anyuan
4e1beaa6e4
Fix Coverity Scan CID 300428 (Variable dl_info going out of scope leaks the storage it points to.)
2019-05-28 21:41:45 +09:00
Dong Anyuan
f8a9d517af
Fix Coverity Scan CID 300430 (Using uninitialized value msg when calling flexran_agent_mac_sr_info.)
2019-05-28 21:38:38 +09:00
Dong Anyuan
91be65e8a8
Fix Coverity Scan CID 300455 (Using uninitialized value msg when calling flexran_agent_mac_sf_trigger.)
2019-05-28 21:32:28 +09:00
Dong Anyuan
bf3db975bb
Fix Coverity Scan CID 300456 (Variable full_ul_report going out of scope leaks the storage it points to.)
2019-05-28 21:31:17 +09:00
Dong Anyuan
c91bfb228b
Fix Coverity Scan CID 300472 (Variable header going out of scope leaks the storage it points to.)
2019-05-28 21:25:02 +09:00
Dong Anyuan
9176f90a3d
Fix Coverity Scan CID 300476 (Variable dl_mac_config_msg going out of scope leaks the storage it points to.)
2019-05-28 21:19:17 +09:00
Dong Anyuan
c3854df16e
Fix Coverity Scan CID 300478 (Variable dl_report going out of scope leaks the storage it points to.)
2019-05-28 21:16:57 +09:00
Dong Anyuan
130c8d3da0
Fix Coverity Scan CID 300490 (Variable copy going out of scope leaks the storage it points to.)
2019-05-28 21:15:24 +09:00
Dong Anyuan
ba81c62eb7
Fix Coverity Scan CID 300496 (Variable header going out of scope leaks the storage it points to.)
2019-05-28 21:14:05 +09:00
Dong Anyuan
736c3b988b
Fix Coverity Scan CID 300499 (Variable paging_report going out of scope leaks the storage it points to.)
2019-05-28 21:12:16 +09:00
Dong Anyuan
f6b615636f
Fix Coverity Scan CID 300500 (Variable p_info going out of scope leaks the storage it points to.)
2019-05-28 21:10:25 +09:00
Dong Anyuan
5cb42d56f6
Fix Coverity Scan CID 300503 (Variable rlc_reports going out of scope leaks the storage it points to.)
2019-05-28 21:06:33 +09:00
Dong Anyuan
ddb9b21878
Fix Coverity Scan CID 300506 (Variable full_ul_report going out of scope leaks the storage it points to.)
2019-05-28 21:04:15 +09:00
Dong Anyuan
ccdd9f0495
Fix Coverity Scan CID 300508 (Variable ul_info going out of scope leaks the storage it points to.)
2019-05-28 20:32:21 +09:00
Robert Schmidt
030e11ba9a
Merge branch 'develop' into feature-127-protocol-split
2019-02-21 20:18:35 +01:00
Robert Schmidt
8c0ebfadda
Add FlexRAN PLMN ID list and remove defunct cell_id
2019-01-28 08:36:32 +01:00
Robert Schmidt
03b52216a0
FlexRAN: Access PDCP stats through RNTI
2019-01-19 18:22:43 +01:00
Robert Schmidt
397d2f4815
Merge commit 'develop' into feature-127-protocol-split
...
* remove a lot of white spaces
* many conflicts in enb_config.c
2018-11-07 16:07:59 +01:00
Robert Schmidt
c1e680dd89
FlexRAN: free memory of statistics reports
2018-11-07 10:58:09 +01:00
Robert Schmidt
836f6c6374
Include statistics flag only when values are written
2018-11-07 10:54:35 +01:00
Robert Schmidt
d7948d04b4
Always fill RRC part of ue_config with all parameters
2018-11-07 10:48:36 +01:00
Robert Schmidt
2fa8c29fd4
Put ue_config MAC and RRC parts in resp. CMs
2018-11-07 10:48:36 +01:00
Robert Schmidt
1fc631e2a4
RAN API RRC part: Change interface to RNTI, change flexran_get_aperiodic_cqi_rep_mode()
...
* the RAN API RRC part now takes rnti and does not look it up in the MAC every
time again
* the function flexran_get_aperiodic_cqi_rep_mode() has been changed to return
a proper protobuf variable, not OAI typedef
2018-11-07 10:48:36 +01:00
Robert Schmidt
e0742be747
RAN API flexran_get_num_ues() belongs to MAC, change name
2018-11-07 10:48:36 +01:00
Robert Schmidt
3035781485
Move ue_lc_config message filling into MAC CM
2018-11-07 10:48:36 +01:00
Robert Schmidt
b702b415a7
Split enb_config_reply->cell_conf message to PHY, MAC, RRC
2018-11-07 10:48:35 +01:00
Robert Schmidt
c81535a8b0
Add FlexRAN PHY CM
2018-11-07 10:40:17 +01:00
Robert Schmidt
391320b992
Simplify PDCP FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Robert Schmidt
5e0088fa52
Simplify RRC FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Robert Schmidt
33d0ac4982
Simplify MAC FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Bi-Ruei, Chiu
f58ad3c39f
Add prefix LTE_ to LTE-RRC generated data types by ASN1C_PREFIX=LTE_
...
1. Modify all expressions using original LTE-RRC data types for new generated ones
2. Does not change any program logic
2018-10-17 15:46:12 +08:00
Robert Schmidt
cbc78cd3db
Don't warn of ignoring sorting
2018-09-05 14:21:39 +02:00
Robert Schmidt
08b122e3ff
FlexRAN: update slice config array dimensions
2018-09-03 18:10:28 +02:00
Robert Schmidt
cca5c1b71a
FlexRAN: use correct identifiers for PDCP, RRC
...
* give the correct UE_id instead an index of the protobuf message (they can
diverge from each other)
* in the PDCP part of the RAN API, the RAN API has to make the conversion UE_id
(MAC) to UID (PDCP)
* a follow up commit could clean up the interfaces:
- the MAC functions take the UE_id
- the RRC functions take the RNTI
- the PDCP functions take the UID
this would mean the caller has to find those ID but would decrease
computations since the RAN API functions do not have to do that themselves
2018-09-03 18:10:28 +02:00
Robert Schmidt
3b80c73f93
FlexRAN: Loop over UEs using UE_id, not index
2018-09-03 18:10:28 +02:00
Robert Schmidt
9399bed23a
FlexRAN MAC: align allocated memory for lfds
2018-09-03 18:10:28 +02:00
Robert Schmidt
ef0d86564c
when sending config report, copy slice config to new mem
2018-09-03 18:10:28 +02:00
Robert Schmidt
7a0c00330b
put intra-/inter slice sharing within slice config
2018-09-03 18:10:28 +02:00
Robert Schmidt
44481a5649
FlexRAN: improve info messages
2018-09-03 18:10:28 +02:00
Robert Schmidt
472ebf5622
mark UL slice sorting overwriting as TODO
2018-09-03 18:10:28 +02:00
Robert Schmidt
e94b0bde51
FlexRAN fixes
...
* properly allocate memory for scheduler name/sorting
* free mem of sc_update, include todo for slice_config
* set has_x to one, add fct whether sorting update necessary
* set n_ul/n_dl to correct value after every loop iteration
* support for delete of multiple slices
* allocate memory for scheduler name in slice_config
* check that we really set the scheduler
2018-09-03 18:10:28 +02:00
Robert Schmidt
0c0e7b6ead
simplify control flow
2018-09-03 18:10:28 +02:00
Robert Schmidt
bd041a34aa
use changed RAN API, set scheduler for new slice
2018-09-03 18:10:28 +02:00
Robert Schmidt
6e5a2f45ce
FlexRAN: set deleted slice configuration to zero
2018-09-03 18:10:28 +02:00
Robert Schmidt
8804319322
FlexRAN MAC: before verifying slice params, set default vals
...
- in order to facilitate the steps as verification and parameter setting,
slices are "filled up" with default values:
* if it is an update, with the values of the concerned slice
* if it is a new one, with the parameters of slice 0
- because of this, it can be assumed that all slices have all parameters
2018-09-03 18:10:28 +02:00
Robert Schmidt
21f6609472
FlexRAN: move slice param verification to agent
...
- until now, on every iteration, the scheduler checked for changed parameter
(and verified some)
- this functionality moves to the FlexRAN Agent, which verifies all parameters
* individually, e.g. Max MCS <= 28 for DL
* group-based, e.g. the sum of slice percentages is <= 100
- slice configuration changes are only applied if all verifications pass
- it is assumed in the scheduler, that configuration passed from outside is
correct and can be used "as-is"
fix accounting setting
2018-09-03 18:10:28 +02:00
Robert Schmidt
5ceba4a2a6
FlexRAN: lock sc_update with mutex
...
Prevent sc_update from being changed by an incoming slice reconfiguration
change while writing data to the scheduler
2018-09-03 18:10:28 +02:00
Robert Schmidt
92a3b07bca
FlexRAN: send slice ID to which UE belongs + reformat
...
- flexran_agent_ue_config_reply() and flexran_agent_ue_state_change() send
slice_id
2018-09-03 18:10:28 +02:00
Robert Schmidt
fcaf237182
FlexRAN: Handle slice configuration
...
Incoming slice configuration changes are buffered in an intermediate structure.
The MAC scheduler periodically polls the agent about changes. If there has been
a slice configuration change, apply it.
2018-09-03 18:10:28 +02:00
frtabu
24f8fcf346
Use common log mechanism in layer 3, mapping specific macros to common ones and extending common log utilities to support specific layer3 requirements
2018-08-24 17:43:14 +02:00