frtabu
b9b4d05e41
remove RRC_VERSION macros, simplify build-oai and CMakefile.txt accordingly, get rid of remaining compilation warnings (opt module improperly merged and patch asn1c files with tests against max 64 bits integer value)
2019-09-23 19:46:44 +02:00
yilmazt
4c49d5ab0d
Merge branch 'develop-nr-merge' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop-nr-merge
2019-07-16 11:20:33 +02:00
yilmazt
2b321fd1c7
Merging latest develop commits
2019-07-16 11:20:24 +02:00
Florian Kaltenberger
a980e8895e
fixing a few minor things for nr-softmodem and nr-uesoftmodem
2019-07-08 18:16:51 +02:00
yilmazt
9549537ed4
WIP: Minor changes
2019-07-08 15:39:19 +02:00
yilmazt
680a0c97c7
Operation of all of the physical simulators are tested and verified + various warning removals
2019-06-20 21:46:35 +02:00
Dong Anyuan
4a3f26b2cf
Fix Coverity Scan CID 340228 (Handle variable s going out of scope leaks the handle.)
2019-06-20 14:01:05 +09:00
yilmazt
420e6194d4
All 4 nr<e-(ue)softmodems are compiling
2019-06-16 19:46:11 +02:00
Dong Anyuan
ec2ac48d90
ReFix Coverity Scan CID 300459 (Using uninitialized value addr. Field addr.sin_zero is uninitialized when calling bind.)
2019-05-29 17:45:02 +09:00
Dong Anyuan
33eefa2e54
ReFix Coverity Scan CID 300452 (Using uninitialized value addr. Field addr.sin_zero is uninitialized when calling connect.)
2019-05-29 17:41:09 +09:00
SAWADA Kentaro
a8bd28cc8a
ReFix Coverity Scan CID 340288 (Using uninitialized value slen when calling getsockname.)
2019-05-29 14:54:39 +09:00
SAWADA Kentaro
69f68d13f5
ReFix Coverity Scan CID 340273 (Using uninitialized value slen when calling recvfrom.)
2019-05-29 14:51:47 +09:00
yilmazt
3c1d1bffee
Pushing changes before incorporating new merges into develop and develop-nr
2019-05-28 21:56:41 +02:00
Dong Anyuan
8dc8a1627d
Fix Coverity Scan CID 300452 (Using uninitialized value addr. Field addr.sin_zero is uninitialized when calling connect.)
2019-05-28 21:33:22 +09:00
Dong Anyuan
0398f964bb
Fix Coverity Scan CID 300459 (Using uninitialized value addr. Field addr.sin_zero is uninitialized when calling bind.)
2019-05-28 21:29:44 +09:00
SAWADA Kentaro
ef9c227746
Fix Coverity Scan CID 340288
2019-05-28 19:32:32 +09:00
SAWADA Kentaro
5fe7940ef4
Fix Coverity Scan CID 340273
2019-05-28 19:31:19 +09:00
yilmazt
f6a4a6b99a
phy_simulators do compile, but dlsim&nr_(ulsch/dlsch/pbch)sims do not pass tests + Raphael's CI patch applied.
2019-05-23 21:47:49 +02:00
yilmazt
ccd60195e0
Merging test-x310, ci-dev-nr-add-gnb-nr-ur-uspr-testing and nr-mimo-mode-clean branches
2019-05-20 21:32:34 +02:00
yilmazt
7719314983
Merge branch 'develop' into develop-nr
2019-05-17 17:11:31 +02:00
Laurent
4d787625ab
still to compile
2019-04-30 14:25:42 +02:00
laurent
8a92138086
rework threads in 5G
2019-04-30 10:17:08 +02:00
Robert Schmidt
7a7c2afa11
Handle cppcheck errors in ASYNC_IF
2019-03-06 13:59:39 +01:00
Robert Schmidt
f9c4c501e3
Merge branch 'develop' into feature-127-protocol-split
2019-03-05 14:17:38 +01:00
frtabu
fb46545526
Fix corrupted LOGs in L1L2simulator, introducing two new components NFAPI_VNF and NFAPI_pnf. Integrate Fujitsu fix for up to 50 UEs. Apply astyle to all modified files in the branch
2019-02-25 16:50:03 +01:00
Robert Schmidt
030e11ba9a
Merge branch 'develop' into feature-127-protocol-split
2019-02-21 20:18:35 +01:00
frtabu
38d772d8a2
nos1 et s1 execs identical, nos1 enforced based on exec name or --noS1 option
2019-02-17 23:46:45 +01:00
frtabu
d0a3788ca8
re-apply fixes lost with last rebase
2019-02-12 10:12:07 +01:00
frtabu
299f627d8a
more fixes for cppcheck, soon all the easiest ones completed (invalid printf format...)
2019-02-12 10:12:07 +01:00
frtabu
824d2b478a
new set of cppcheck fixes
2019-02-12 10:12:07 +01:00
Raymond Knopp
e704e7ccc0
Merge remote-tracking branch 'origin/develop' into enhancement-ltem
2019-02-07 23:58:17 +01:00
Robert Schmidt
36f192e873
Fix test of socket_link.c after interface change
...
link_send_packet() has been extended to use for multiple protocols (added UDP,
SCTP after TCP). The test was not update, though, which is fixed in this
commit.
2019-02-07 18:03:18 +01:00
Robert Schmidt
beec74b01a
Correctly stop link_manager sender and receiver threads
...
This changes the destroy_link_manager() function to:
* call a new function message_get_unlock() to unlock the sending thread from
its blocking message_get()
* calls pthread_cancel() on the receiving thread, because this unlocks any
blocking read from a file descriptor
The same message_get_unlock() function has been added ringbuffer_queue to keep
the interfaces the same (it does nothing, because ringbuffer_queue is
non-blocking).
2019-02-07 17:56:56 +01:00
Robert Schmidt
0643d6b561
Make queue_recv() functions return size, not as out-param
2019-01-29 16:55:15 +01:00
frtabu
e329ba787c
fix command line parsing for config_getlist, also improve help processing and fix probe (opt) parameters processing
2019-01-22 22:43:33 +01:00
Raymond Knopp
c47e1fc97f
Merge remote-tracking branch 'origin/develop' into enhancement-ltem
2019-01-19 12:14:23 +01:00
Cedric Roux
aea6b4b5a6
fix a lot of file mode
...
For whatever reason most of the files had their permission
changed from 644 to 755, which is not wanted.
2019-01-07 16:22:28 +01:00
laurent
b3f1440249
issue 384
2018-12-23 17:55:07 +01:00
Robert Schmidt
07d9c6a3be
Cast malloc() to type
2018-11-07 16:13:03 +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
920a4abb6d
Make link_manager threads joinable
...
This makes it possible to stop the link_manager by joining its threads.
2018-11-07 10:53:59 +01:00
Robert Schmidt
0efde02161
Sanitize link_manager interface, correct in FlexRAN/PROTO_AGENT
...
This commit cleans up the link_manager interface:
* don't provide peer_addr/port in create_link_manager() (for TCP/SCTP it is not
needed, so in the UDP case in needs to be set explicitly)
* Make FlexRAN connect again (correct hardcoded address)
* Fix FlexRAN: retain the manager pointer
* Fix FlexRAN: store receive_queue pointer
* the link_manager's sender thread passes the correct peer_addr/port for the
UDP case
2018-11-07 10:48:36 +01:00
Robert Schmidt
34adfd2af8
ASYNC_IF link_{send,receive}_packet(): infer socket type automatically
2018-11-07 10:48:36 +01:00
Raymond Knopp
d24f521a5a
Merge remote-tracking branch 'origin/develop' into enhancement-ltem
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/edci.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/print_stats.c
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/transport_eNB.h
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
openair1/PHY/impl_defs_lte.h
openair1/SCHED/fapi_l1.c
openair1/SCHED/phy_procedures_lte_eNb.c
openair2/COMMON/rrc_messages_types.h
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_paramdef.h
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_bch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/rar_tools.c
openair2/LAYER2/MAC/ue_procedures.c
openair2/PHY_INTERFACE/IF_Module.c
openair2/RRC/LITE/rrc_common.c
openair2/RRC/LTE/L2_interface_ue.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/rrc_eNB.c
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-ru.c
2018-10-29 07:54:17 +01:00
Florian Kaltenberger
83e9908adb
merging develop with develop-nr
2018-10-25 03:15:09 -07:00
laurent
090fcc5aae
move mem_block to heap
2018-10-08 11:25:16 +02:00
laurent
dd4f1ab73c
coarse gain cleaning
2018-09-27 14:13:52 +02:00
Robert Schmidt
7f40bf76fb
ASYNC_IF: join threads when destroying link manager
2018-09-20 15:03:47 +02:00
Robert Schmidt
f060385b6a
Improve UDP support of ASYNC_IF
...
* peer_addr is now const
* new_link_udp_server() can bind to address or INADDR_ANY
* socket_udp_receive() happens without a loop
* socket_udp_send() happens without a loop
* sending in two packets (first size, then data) is only performed for TCP,
SCTP, not for UDP anymore (it is unreliable, so we could miss something and
will receive complete garbage)
2018-09-20 15:03:47 +02:00
Robert Schmidt
cf55a513d9
ASYNC_IF: peer addresses as const in interface
2018-09-19 11:46:38 +02:00