Mario Joa-Ng
1d33305a70
NR_UE: set mac->logicalChannelBearer_exist to false when RLC bearer is released.
2021-08-24 12:51:32 -04:00
francescomani
a1595c3109
setting ulsch inactivity timer from slots to frames and removing it from config files (default 10 frames)
2021-08-24 18:02:54 +02:00
mjoang
e8156ddba7
1. Move NR_LONG_BSR_TABLE and NR_SHORT_BSR_TABLE to nr_mac_common.c 2. Change nr_rlc_mac_config_req_ue_logicalChannelBearer to nr_rrc_mac_config_req_ue_logicalChannelBearer.
2021-08-23 15:38:52 -04:00
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
5f9e0a235d
Merge remote-tracking branch 'origin/code-cleanup-20210716' into integration_2021_w32
2021-08-09 10:07:45 +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
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
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
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
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
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
Laurent OpenCells
d649434be9
Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into code-cleanup-20210716
2021-07-29 22:29:52 +02:00
francescomani
d9fdbe6338
fix for pucch prb size
2021-07-29 15:59:02 +02:00
francescomani
8d7636bb1e
temp fix for SIB1 coreset
2021-07-29 14:31:38 +02:00
francescomani
ea6cd95009
bugfix in rrc configuration
2021-07-27 07:29:19 +02:00
francescomani
d2127b65f3
flexible csi configuration including do_csirs config parameter
2021-07-26 12:45:04 +02:00
francescomani
17ee4648c7
fixes in ssb rsrp functions at ue
2021-07-26 11:47:32 +02:00
francescomani
5c70aa96c4
Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures
2021-07-26 07:39:57 +02:00
Laurent OpenCells
754e8e3043
CMakeList cleanup,improvement and trial to run in ubuntu 16
2021-07-25 13:52:01 +02:00
hardy
c93a9497db
Merge remote-tracking branch 'origin/develop-NSA_SA_fixes' into integration_2021_wk30_b
2021-07-24 17:56:38 +02:00
rmagueta
165b406839
Avoid segmentation fault for LTE
2021-07-23 13:12:35 +01:00
francescomani
bd816e5175
Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures
2021-07-23 13:51:41 +02:00
hardy
fad5fbda34
Merge remote-tracking branch 'origin/NR_CSIRS_tomerge' into integration_2021_wk30
2021-07-23 09:18:33 +02:00
Laurent OpenCells
f62b7e1f9e
nfapi work around (missing malloc)
2021-07-22 15:32:09 +02:00
luis_pereira87
1beffd1ecc
Remove the MAC and RRC context after UL failure when gNB is not connected to CN5G
2021-07-22 14:05:10 +01:00
luis_pereira87
67bccd8c80
Fix handling failure of CFRA procedure for OAI UE
2021-07-22 11:36:52 +01:00
luis_pereira87
a038df0459
Discard Random Access when max number of users is achieved
2021-07-22 10:55:46 +01:00