Robert Schmidt
dcd43c1526
FlexRAN: use lock-free ringbuffers for slice conf
...
Use LFDS 7.0.0 Ringbuffer implementation to handle
* Slice Configuration
* UE slice association
which is then uploaded through MAC scheduling thread
2020-07-01 10:10:48 +02:00
Robert Schmidt
05c10662da
FlexRAN Bugfix: Free Ringbuffer on exit
2020-07-01 10:10:48 +02:00
Robert Schmidt
d926a9a9c8
FlexRAN: New protobuf slice structure + Static Slice handling
2020-07-01 10:10:48 +02:00
Robert Schmidt
8c76d6ab57
Delete old protobuf slice types flex_slice_{dl,ul}
2020-07-01 10:10:48 +02:00
Robert Schmidt
198822aa17
Remove any slice-related information from OAI
2020-07-01 10:10:48 +02:00
laurent
d1e8c23529
cleanup
2020-06-04 10:48:29 +02:00
laurent
dfafa90037
big merge with develop
2020-04-14 18:02:45 +02:00
Robert Schmidt
8ffe5b4920
Rename UE_list_t to UE_info_t, UE_list_t separate struct
...
UE_list_t is now used as a separate list. It can be e.g. used in the
scheduler to mark groups of users. The original UE_list_t is renamed to
UE_info_t to reflect that it is a container for information about UEs.
2020-04-01 10:47:02 +02:00
laurent
756ac05e4d
merge develop,fix basic sim and warnings
2020-03-04 13:32:03 +01:00
Robert Schmidt
c6e389ed4c
FlexRAN: assert if out of memory
2020-01-20 14:05:05 +01:00
Robert Schmidt
f87c1cbb92
FlexRAN refactor+format MAC stats function
2020-01-20 11:35:35 +01:00
Robert Schmidt
b6d466d772
FlexRAN: reimplement timers without ITTI
...
The timer code used to trigger periodic statistics message sending used
ITTI. Together with a high frequency reporting (e.g. 1ms), this resulted
in high CPU usage. This commit reimplements this:
* using a thread that is synchronized to the RU (if there is no MAC, we
assume there is no RU generating a tick so we create the tick source
ourselves)
* no RB trees but plain arrays
* smaller interface for users
* slight user interface changes
* remove stopped timer state: such timer might be simply removed
* remove one-shot timers
2020-01-20 11:35:35 +01:00
Robert Schmidt
7415d08138
FlexRAN: Simplify stats request handling
...
* only set up timer for sending requests
* simplify interface for timer setup
* on timer expiry, do not pass through stats request function but
directly send the reply
* Remove whatever report structure and use stats request directly for
inferring the data to send
2020-01-20 11:34:54 +01:00
Raphael Defosseux
3f2acf9485
Fix Coverity Scan CID 342010
...
Fix a few cppcheck errors/warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-07-05 11:03:30 +02:00
Dong Anyuan
3adb2efd8c
Fix Coverity Scan CID 339954 (Overrunning callee's array of size 16 by passing argument ue_id (which evaluates to 65535) in call to flexran_set_ue_ul_slice_idx.)
2019-06-20 14:06:32 +09:00
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