mjoang
f2c0178b34
1. Call mac_rlc_status_ind only for existing bearers. 2. Re-enable logging in mac_rlc_status to detect any call for non-existing bearer.
2021-08-23 11:52:28 -04:00
mjoang
464c095420
Suppress warning message.
2021-08-18 14:59:13 -04:00
mjoang
120e6a59b3
Suppress warning message.
2021-08-18 12:29:06 -04:00
mjoang
9e59a26146
1. Add nr_ue_init_mac() to initialize the fields in nr_mac instance. 2. Fix bug on handling padding BSR.
2021-08-17 12:29:34 -04:00
mjoang
4db04d7bee
first version of sr bsr. remove test code
2021-08-16 14:19:29 -04:00
mjoang
5df1f412be
first version of sr bsr. remove test code
2021-08-16 12:35:40 -04:00
mjoang
607578f080
first version of sr bsr.
2021-08-16 10:09:53 -04:00
Thomas Schlichter
b5fb1dc05f
Merge remote-tracking branch 'origin/develop' into nr_ue_mac_pdu_fixes
2021-08-12 11:35:27 +02:00
Raphael Defosseux
047c56328c
fix(docker): typo in ran.rhel8 dockerfile, cleanup on other dockerfiles, proper tag for 5G RF sim docker-compose
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-12 10:05:22 +02:00
Raphael Defosseux
e63985f83f
Merge branch 'integration_2021_w32' into 'develop'
...
Integration Branch : 2021 week 32
See merge request oai/openairinterface5g!1224
The following Merge Requests have been included:
* MR [1198] : 5G UE UCI procedurers at MAC
* MR [1207] : Code-cleanup-20210716
* MR [1215] : NR UL antenna ports cleanup
* MR [1220] : Temporary fix for CORESET configuration in SIB1
* MR [1221] : Container: adding conf template to gNB container image
2021-08-12 05:25:56 +00:00
Raphael Defosseux
e2347afbb5
feat(ci): adding working docker-compose for 5G RF sim
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-11 23:24:29 +02:00
Raphael Defosseux
eceb67215c
fix(ci): fix typo
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-10 08:38:49 +02:00
Laurent THOMAS
bfccbfd15d
sanitize heap overflow detection
2021-08-09 21:57:35 +02:00
Laurent THOMAS
164474a40f
Merge branch 'integration_2021_w32' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_w32
2021-08-09 17:28:53 +02:00
Laurent THOMAS
b89d67d9db
fix memory error detected by sanitize-addr
2021-08-09 17:28:28 +02:00
Raphael Defosseux
902f3a83d4
fix(ci): when using modules, no more adb-connected UE required
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-09 17:02:32 +02:00
Raphael Defosseux
5f9e0a235d
Merge remote-tracking branch 'origin/code-cleanup-20210716' into integration_2021_w32
2021-08-09 10:07:45 +02:00
Raphael Defosseux
3e6ef7baa4
Merge remote-tracking branch 'origin/docker-improvements-august-2021' into integration_2021_w32
2021-08-06 10:40:53 +02:00
Raphael Defosseux
a0e3cc8de4
Merge remote-tracking branch 'origin/NR_SA_tempfix_coreset' into integration_2021_w32
2021-08-06 10:39:56 +02:00
Raphael Defosseux
597f2b3e8f
Merge remote-tracking branch 'origin/NR_new_ul_antennaports' into integration_2021_w32
2021-08-06 10:39:34 +02:00
Raphael Defosseux
7b2420760f
Merge remote-tracking branch 'origin/NR_UE_reworking_UCI_procedures' into integration_2021_w32
2021-08-06 10:37:22 +02:00
Laurent THOMAS
b7857a505e
try to fix CUDA, and fix infinite loop in nr UE uplink data collect
2021-08-05 17:31:31 +02:00
Thomas Schlichter
6c227f4d6b
NR_UE: Assure correct padding in nr_ue_get_sdu()
...
In case no MAC CE needs to be transmitted and we filled the buffer with SDUs from RLC, we missed to add padding for the last 3 bytes.
2021-08-05 12:33:09 +02:00
Raphael Defosseux
7e158447bb
fix(ci): phy-sim build failure not correctly handled
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-05 12:04:03 +02:00
Raphael Defosseux
4db87599bf
doc(ci): how to properly capture control packets
...
also added how to pull RAN images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-05 10:52:22 +02:00
Laurent THOMAS
fadbdd3671
pdusession id fix: different values for UL and DL
2021-08-05 10:02:36 +02:00
Laurent THOMAS
464520304b
merge develop, make DNN, NSSAI configurable, fix infinite loop
2021-08-05 09:49:25 +02:00
Laurent THOMAS
3cbf516885
Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into code-cleanup-20210716
2021-08-04 19:57:45 +02:00
Raphael Defosseux
3247e967ec
fix(docker): explicitely adding procps to target images
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-04 17:09:18 +02:00
Raphael Defosseux
ebebd3c7d7
doc(docker): adding tutorial on how to deploy RF sim with EPC
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-04 16:51:53 +02:00
francescomani
62b1531c55
improvement in fix for commonControlResourceSet for SIB1
2021-08-04 14:23:50 +02:00
cig
92fb370258
Removed unnecessary sdu_lengths array in nr_ue_get_sdu
2021-08-04 13:06:31 +02:00
cig
05a4c48d96
Bugfix in the generation of UL MAC PDU in Msg3
...
- restored FIXED subheader length
- restored SHORT subheader in MAX TBS (still unclear the reason behind the
selection of SHORT subheader here by developer)
2021-08-04 13:06:31 +02:00
cig
6e0737d9e4
Send Msg3 CCCH SDU in SA mode only
...
- send C-RNTI MAC CE otherwise
- init RA if there are bytes to send and is a PRACH occasion
- minor cleanups
2021-08-04 13:06:31 +02:00
cig
9af71a7a46
Set the tc-rnti only in CBRA
...
- TC-RNTI is set and used after RAR reception according to the specs
- C-RNTI is used in CFRA
2021-08-04 13:06:31 +02:00
cig
b6e3718d70
Changes to nr_write_ce_ulsch_pdu
...
- takes in input MAC instance
- uses a mac ce struct
- minor fixes
2021-08-04 13:06:31 +02:00
cig
07a80bc84e
Do generation of UL padding in nr_ue_get_sdu only
...
- removed code from outside this function
- generate random padding in RFSIM mode
- generate 0 padding in real-time
- padding is generated either to complete the PDU or to transmit a new one
when no data from RLC was fetched
2021-08-04 13:06:31 +02:00
cig
02012e77ee
Minor MAC UE fixes
...
- set constant variables to const
2021-08-04 13:06:31 +02:00
cig
021788c7a7
Improved logging in the MAC PDU processing function at gNB
...
- improved debug logging
- minor fixes and cleanup
2021-08-04 13:06:31 +02:00
cig
5cfa2cd2f4
Removed OAI exit in mac_rlc_data_req when no RB is present
...
- this prevents crashes when the function is called for LCIDs that have no RB
- and simply print error message and return 0 when no RB is found
2021-08-04 12:49:42 +02:00
cig
4277d4e1bb
Fixes to UE ULSCH PDU generation
...
- included MAC CE sub-PDUs size in the computation of RLC data to transmit
this fixes the error with residual mac pdu appearing at gNB side when
transmitting higher amount of data
- got rid of the nr_generate_ulsch_pdu and moved the relevant UL-SCH MAC PDU
generation procedure within the nr_ue_get_sdu and nr_ue_get_rach
- reduced memcpy calls and unnecessary memory allocations
- fetching RLC data and SDU size from the mac_rlc_data_req, removed the call
to mac_rlc_get_buffer_occupancy_ind
- introduced a new function to generate the MAC CEs sub-PDUs
- removed unnecessary function input parameters
- minor fixes and cleanup
- enhanced logging
2021-08-04 12:49:42 +02:00
Raphael Defosseux
efc696cce9
fix(ci): split 4G RF sim / 5G RF sim into 2 stages
...
- Fix the SA RF test (wrong conf file)
- No more copy of RAW files in SA
- Fix no-detection of failures on RA
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-03 15:41:16 +02:00
Raphael Defosseux
a518701a27
feat(docker): adding conf template to gNB container image
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-03 11:52:31 +02:00
Raphael Defosseux
96997d1eca
Merge branch 'integration_2021_wk31' into 'develop'
...
integration_2021_wk31
See merge request oai/openairinterface5g!1219
2021-08-02 15:07:36 +00:00
francescomani
39307247c9
change error log to log_d to avoid flooding of error messages at ue
2021-08-02 12:49:50 +02:00
francescomani
5c744429c9
bugfix: not scheduling pucch transmission at UE when there is only negative SR
2021-08-02 12:47:32 +02:00
Raphael Defosseux
6b6215e628
fix(ci): adding detection of timed-out run on the physims on cluster
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2021-08-02 10:00:36 +02:00
Raphael Defosseux
a9ffbc6b07
Merge remote-tracking branch 'origin/hack-bch-no-sched-sf-0' into develop
2021-08-02 10:00:14 +02:00
Raphael Defosseux
599287b632
Merge remote-tracking branch 'origin/fix-retransmission-rbg' into develop
2021-08-02 09:59:46 +02:00
Raphael Defosseux
5adf940b99
Merge remote-tracking branch 'origin/ci_nsa_2x2_implem' into develop
2021-08-02 09:58:35 +02:00