Robert Schmidt
9e5f9bdb94
Suppress warning "implicitly truncated to unsigned type"
2018-09-06 10:05:45 +02:00
Robert Schmidt
63a2fb0660
Handle warnings regarding undeclared functions for dec, enc, sctp
2018-09-06 10:03:55 +02:00
laurent
46231a5d5d
merge with latest develop
2018-09-06 09:43:26 +02:00
Robert Schmidt
14298413a4
Fix obvious warnings when building CU/DU tests
2018-09-06 09:25:10 +02:00
Raymond Knopp
b2583c6f23
CU is exectuable
2018-09-06 09:24:10 +02:00
Raymond Knopp
32a39e9a67
CU configuration modifications
2018-09-05 22:28:56 +02:00
laurent
abbffef015
fix some exit situations, that was badly done by SIGUSR1 handler
2018-09-05 17:03:19 +02:00
Robert Schmidt
70e1841bb1
Fix: RAN API: remove_ul_slice() frees ul sched_name pointer, when sched_name set, free it when resetting
2018-09-05 14:21:39 +02:00
Robert Schmidt
cbc78cd3db
Don't warn of ignoring sorting
2018-09-05 14:21:39 +02:00
Robert Schmidt
7162bf6895
Bugfix: Assure available_rbs is positive
2018-09-05 14:21:39 +02:00
Robert Schmidt
066ab90402
Bugfix: Give correct first_rb value to UE
2018-09-05 14:21:39 +02:00
Robert Schmidt
d798e03e9d
fix rb_table loop
2018-09-05 14:21:39 +02:00
Robert Schmidt
f86b51990c
restart: first stop RU, then eNB proc threads
2018-09-05 14:21:39 +02:00
Robert Schmidt
ff83dc7017
Fix greedy allocation: schedule not more than what slice has
2018-09-05 14:21:39 +02:00
Robert Schmidt
fa27b6dcce
Fix: Correct numbering of protobuf messages (as in RTC)
2018-09-05 14:21:39 +02:00
Robert Schmidt
af83d352c8
Fix: use frame_subframe2_dl_harq_pid()
2018-09-05 14:21:39 +02:00
Robert Schmidt
5a1e8c2869
Lock sync_var access in restart_L1L2()
2018-09-05 14:21:39 +02:00
Robert Schmidt
c1b024d354
stop_L1L2(): Do not turn of RF, is done in ru_thread
2018-09-05 14:21:39 +02:00
Robert Schmidt
d3afce4f3c
Print detailed info why mutex locking failed
2018-09-05 14:21:39 +02:00
Robert Schmidt
1f60f4ecea
Log Level Debug for Freeing Transport Channel Msg
2018-09-05 14:21:39 +02:00
Robert Schmidt
9f04614304
Remove huge comment from sort_UEs()
...
Commit 7823858e2d11e8cabc1ca7bf7f507b9a050942d3 introduced this as a comment.
2018-09-05 14:21:38 +02:00
Robert Schmidt
07ad2470d1
Remove warnings pre_processor_fairRR
2018-09-05 14:21:36 +02:00
Raymond Knopp
ce07a11ed8
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
2018-09-05 11:53:34 +02:00
Raymond Knopp
3e987bc143
update of cu configuration file
2018-09-05 11:53:08 +02:00
Bing-Kai Hong
cdfca6c00a
F1:
...
1.create the f1ap handlers procedure
2.hide asn1c warning when in compile
2018-09-05 11:14:35 +02:00
Raphael Defosseux
87d5a07ee1
CI: removing UL iperf test at 20 MHz on basic simulator
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2018-09-05 10:59:59 +02:00
Raphael Defosseux
d721e2de1a
CI: improved basic simulator testing
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2018-09-05 09:47:19 +02:00
Raymond Knopp
e2dd22b6ae
added parsing of F1AP_SETUP_RESP message and subsequent RAN configuration in DU
2018-09-04 23:07:46 +02:00
Cedric Roux
487a599b7b
bugfix: fix memory error
...
Using valgrind revealed that those two arrays
were too small. Let's use 512 bytes, which should
be enough for every practical cases.
2018-09-04 16:18:46 +02:00
Cedric Roux
c83fc1b544
bugfix: fix compilation problem
...
This includes damages check_vcd.c in the T tracer
(in develop branch).
2018-09-04 15:18:59 +02:00
Cedric Roux
95b7966894
bugfix: fix crash when UE disconnects
...
Using the basic simulator and valgrind, it was found that
the lack of initialization of those two pointers leads to
some very nasty behavior of some other parts of the system.
2018-09-04 15:16:34 +02:00
Haruki NAOI
b1920797ae
Revert "Fix: --log-mem options is erased."
...
This reverts commit 3182183860 .
2018-09-04 22:15:27 +09:00
Cedric Roux
6270d94f91
bugfix: use correct comparison
...
The comparison in AssertFatal was not correct,
taking the opposite meaning to the one expected.
2018-09-04 12:43:29 +02:00
Cedric Roux
5131449160
bugfix: add handling of DFT 768 everywhere it's needed
...
In the eNB it's not really used for the moment because there
is a limitation to uplink scheduling. In
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c we have:
while (((rb_table[rb_table_index] > (N_RB_UL - 1 - first_rb[CC_id]))
|| (rb_table[rb_table_index] > 45))
That limits uplink scheduling to at most 44 RBs. The 768 case is for
64 RBs.
2018-09-04 12:36:42 +02:00
Raymond Knopp
b584ddeda8
added configuration files for cu/du, ngran_types.h
2018-09-04 09:36:01 +02:00
Raymond Knopp
1daed67012
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
common/utils/T/T_IDs.h
common/utils/T/T_messages.txt
2018-09-04 09:28:35 +02:00
Raphael Defosseux
2a82e02a32
CI: fix TDD scenario (missing rebuild)
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2018-09-04 09:26:49 +02:00
Raymond Knopp
c8c8032358
initial DU part for F1AP_setup_resp
2018-09-04 09:25:02 +02:00
Raymond Knopp
c56eb9eda7
addition of configuration (DU) for F1AP and filling of F1AP_SET_REQ parameters
2018-09-04 07:40:04 +02:00
Raphael Defosseux
d774d09d24
CI: proper gitlab notifications for FDD/TDD test
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2018-09-03 18:25:57 +02:00
Robert Schmidt
49b167d6ae
Remove warnings pre_processor
2018-09-03 18:10:28 +02:00
Robert Schmidt
972f52fd56
fix remove LOG_N in restart
2018-09-03 18:10:28 +02:00
Robert Schmidt
e1a598bc8d
Fix function parameter definition/order
...
Affects:
* store_dlsch_buffer()
* assign_rbs_required()
2018-09-03 18:10:28 +02:00
Robert Schmidt
21983a2028
Patch fairRR scheduler to use slice iface of pre-processor
2018-09-03 18:10:28 +02:00
Robert Schmidt
08b122e3ff
FlexRAN: update slice config array dimensions
2018-09-03 18:10:28 +02:00
Robert Schmidt
71a9115abd
Iterate over actual number of CC, not NFAPI_CC_MAX
2018-09-03 18:10:28 +02:00
Robert Schmidt
3278aa494d
Return immediately from pdcp_data_req
...
When the RLC layer returns error codes (like dropped packets), this is still
counted as PDCP layer traffic. In order to reflect dropped packets or
malfunctioning, this patch makes that upon an RLC error code, the function is
exited immediately. In this case, it is not counted as additional PDCP traffic.
An example is too much UDP traffic. If the RLC buffer is saturated and the
packet therefore refused, incoming traffic won't be counted anymore. With this
patch, the PDCP layer statistics won't count such traffic anymore.
2018-09-03 18:10:28 +02:00
Robert Schmidt
204281e3af
change types in RCconfig_flexran(), avoid seg fault
...
the integration of the nfapi-L2-emulator-for-develop (f254107b2 ) added more
types in the RCconfig_flexran(), but they were partially wrong. This commit
fixes those types after the rebase of this branch on top of 2018.w19
2018-09-03 18:10:28 +02:00
Robert Schmidt
77f2ffcdfb
FlexRAN: call the agent_rrc_xface with the mod_id
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