Dong Anyuan
ca1e83187f
Fix Coverity Scan CID 300377 (Variable p_info going out of scope leaks the storage it points to.)
2019-06-20 11:02:10 +09:00
Dong Anyuan
525e0da714
Fix Coverity Scan CID 300379 (Variable csi_reports going out of scope leaks the storage it points to.)
2019-06-20 11:01:19 +09:00
Dong Anyuan
a9e9488cd2
Fix Coverity Scan CID 300392 (Variable dl_report going out of scope leaks the storage it points to.)
2019-06-20 10:54:34 +09:00
Dong Anyuan
097d78cab1
Fix Coverity Scan CID 300393 (Variable copy going out of scope leaks the storage it points to.)
2019-06-20 10:51:06 +09:00
Dong Anyuan
324da70ee1
ReFix Coverity Scan CID 300503 (Variable rlc_reports going out of scope leaks the storage it points to.)
2019-05-30 23:04:16 +09:00
Dong Anyuan
32bb6c9ebf
ReFix Coverity Scan CID 300428 (Variable dl_info going out of scope leaks the storage it points to.)
2019-05-30 19:10:05 +09:00
Dong Anyuan
540e409b2e
ReFix Coverity Scan CID 300508 (Variable ul_info going out of scope leaks the storage it points to.)
2019-05-30 19:01:02 +09:00
Dong Anyuan
8fcce371d8
Fix Coverity Scan CID 300402 (Variable header going out of scope leaks the storage it points to.)
2019-05-28 22:20:15 +09:00
Dong Anyuan
554058d4b0
Fix Coverity Scan CID 300407 (Variable stats_reply_msg going out of scope leaks the storage it points to.)
2019-05-28 22:18:45 +09:00
Dong Anyuan
4f55adf6e2
Fix Coverity Scan CID 300412 (Variable macstats going out of scope leaks the storage it points to.)
2019-05-28 22:16:38 +09:00
Dong Anyuan
1f752815cf
Fix Coverity Scan CID 300414 (Variable lib going out of scope leaks the storage it points to.)
2019-05-28 22:04:20 +09:00
Dong Anyuan
71a7ba5738
Fix Coverity Scan CID 300415 (Variable ul_report going out of scope leaks the storage it points to.)
2019-05-28 22:03:19 +09:00
Dong Anyuan
ddf6cfe002
Fix Coverity Scan CID 300420 (Variable ul_mac_config_msg going out of scope leaks the storage it points to.)
2019-05-28 21:47:40 +09:00
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
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
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
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
33d0ac4982
Simplify MAC FlexRAN agent interface
2018-11-07 10:40:17 +01: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