Commit Graph
5304 Commits
Author SHA1 Message Date
cig 7946a0bdf1 Fixed warnings related to unused variables @ NR UE 2021-01-15 16:53:15 +01:00
cig 0f809dd4a2 Migration of UE MAC RA-related members to a new data struct
- new data struct is RA_config_t
- all RA-related members have been moved to the new struct
- static variables have been migrated too
2021-01-15 16:53:15 +01:00
cig 73fbbf50ed Cleanup MAC header files
- sorted out according to recurring logic that wants function
  prototypes in separate files from data struct and constants
  definitions, variables in separate .c files with inclusion
  of "extern" header files
- moved function prototypes to resective header files
- moved data structures and constants to respective header files
- merged unnecessary mac.h file into mac_defs.h @ MAC UE
- moved const variables suchs as tables to respective .c files
- moved extern references to respective extern.h files
2021-01-15 16:53:15 +01:00
cig f09ee3e526 Cleanup and review of RA procedure after Msg3 transmission
- related to section 5 of 3GPP TS 38.321 specs
- handling of RA failure
- handling of RA completion
- first implementation of contention-based RA procedures
- minor fixes related to ue_get_rach and init_ra functions
2021-01-15 16:53:15 +01:00
cig 2e8e9b7dcf UE power measurements fixes
- RA preamble power computation review
- RSRP review
- PCmax computation
- Pathloss computation
- cleanup of reference to LTE
- minor fixes
2021-01-15 16:53:06 +01:00
cig cd36314de9 Cleanup MAC UE of unused struct members 2021-01-11 18:36:43 +01:00
cig ad230dcc31 UE Msg2 reception review
- enhancement of DL indication flow for Msg2 (RAR)
- merging interface procedures to handle DLSCH and RAR together
- better separation of MAC and PHY functionalities
- cleanup of double ambiguous functions to process RAR
- merging functions to process TA command into the ue_ta_procedures function
- enhancement of logging and formatting in the process
2021-01-11 18:36:43 +01:00
cig b7e9a1b1c3 Cleanup of long-time unused nr_ue_process_dlsch 2021-01-11 18:36:43 +01:00
cig f4b8e780b4 RAR reception review @ UE
- fixes to backoff counter procedure
- updated received target power computation (TS 38.321 R16)
2020-12-27 19:38:03 +01:00
cig a30c8075a2 Cleanup RA procedure @ UE
- review/cleanup of commented out descriptions
- logging
- indentation
- spacing
- typos
- cleanup of unused RA_tx_frame, RA_tx_slot members
2020-12-27 19:37:34 +01:00
cig 9aa7b5b432 RA initialization review according to 5.1.1 of TS 38.321 v16.2.1
- moved init code to new function init_RA
- moved relevant variables from MAC to prach_resources
- cleanup of unused struct members
- other minor fixes
2020-12-27 19:37:18 +01:00
cig 833d2ae47e Moved RA-RNTI computation to new function @ MAC UE 2020-12-27 19:37:06 +01:00
cig b9a49238e6 Configuration of msg3_deltaPreamble @ UE
- according to clause 7.1.1. of TS 38.213
2020-12-27 19:36:33 +01:00
cig 9788aff8b7 AssertFatal cleanup @ UE
- focus: RA procedures, PHY procedures
2020-12-27 19:36:18 +01:00
cig 2bd1ab8732 UE get PRACH resources review @ MAC
- Moved code for SSB to RACH mapping config to new function
- Moved RA preambles configuration routine to new function
- Removed irrelevant arguments to nr_get_prach_resources
- turned some struct members and local vars into global vars
- added checks on the RA Type as per TS 38.321 clause 5.1.1
- minor cleanups
- currently only 4-step RA is available
2020-12-27 19:36:01 +01:00
cig 8eea13f782 Defined common MAX_BWP_SIZE @ MAC
- as defined by clause 12 "BWP Operation" TS 38.213
- cleaned up hardcoded usage
2020-12-27 19:35:25 +01:00
cig 4386f724dc Fixes for UE BWP Operation 3GPP TS 38.213 version 16.3.0 Release 16
- fetching configuration from RRC
- removed hardcoded params (e.g. bwp_id)
- added BWP Id members to MAC instance
- introduced offsetToCarrier
2020-12-27 19:29:28 +01:00
cig ef1deccef8 Introduced RA type @ UE
- whether it is 2-step or 4-step RA
- added checks on CFRA and 2-step RA pointer members
- introduced enum and PRACH resources struct member
2020-12-27 19:28:47 +01:00
cig 1d2d96f34e Cleanup RA procedure
- removed irrelevant prach_config_enabled parameter
- cleanup of commented out code
- minor fixes
- enhancement of logging
2020-12-27 19:28:30 +01:00
cig 1c24adeef9 Cleanup NR UE
- focus: defs_nr_UE.h, nr-ue.c, phy_procedures_nr_ue.c, nr_init_ue.c
- removed long-time commented out code
- replaced hardcoded params
- removed unnecessary header inclusions
2020-12-27 19:26:18 +01:00
hardy 69cc0767c0 Merge remote-tracking branch 'origin/ldpc_short_codeword_fixes' into integration_2020_wk51_2 2020-12-16 11:09:56 +01:00
hardy 4d76288211 Merge remote-tracking branch 'origin/remove_nos1_hack_pdcp' into integration_2020_wk51_2 2020-12-16 11:09:31 +01:00
Thomas Schlichter 4626d507bd NR UE: fix compile error with UE_TIMING_TRACE enabled 2020-12-15 11:17:24 +01:00
hardy 02bb4ac913 Merge remote-tracking branch 'origin/fix_do_ra_data' into integration_2020_wk51 2020-12-14 13:33:38 +01:00
hardy 3bccd95755 Merge remote-tracking branch 'origin/256_QAM_demod' into integration_2020_wk51 2020-12-14 13:32:29 +01:00
Thomas Schlichter f905b29364 NR UE: decrease number of LOG_I() logging messages 2020-12-14 12:06:11 +01:00
Thomas Schlichter ac73df698d Merge branch 'develop' into 'fix_do_ra_data'
# Conflicts:
#   openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
#   openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
2020-12-10 13:40:08 +01:00
Remi Hardy 98fd8279bf Merge remote-tracking branch 'origin/develop-oriecpriupdates' into rh_wk50_debug 2020-12-09 14:16:19 +01:00
Remi Hardy 3d8be663a0 Merge remote-tracking branch 'origin/NR_FR2_RRC_SSB' into rh_wk50_debug
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
2020-12-09 13:16:41 +01:00
Remi Hardy e9cf51f58d Merge remote-tracking branch 'origin/bugfix-nr-pdcp-sn-size' into rh_wk50_debug 2020-12-09 13:11:02 +01:00
Remi Hardy bc43ecd17f fix variable name after merge of MR980 and MR987 2020-12-09 09:55:50 +01:00
Remi Hardy 4a66c750ec Merge remote-tracking branch 'origin/pusch-mthread-scaling-fix' into rh_wk50_debug 2020-12-09 09:49:48 +01:00
Remi Hardy ec94adaef5 Merge remote-tracking branch 'origin/NR-PHY-MAC-IF-multi-UE' into rh_wk50_debug 2020-12-09 09:48:40 +01:00
Thomas Schlichter 1b2c8b3c56 Merge remote-tracking branch 'origin/develop' 2020-12-09 09:39:44 +01:00
Francesco Mani 29a56fe527 tentative fix for delayed RA procedure at UE 2020-12-04 16:21:45 +01:00
Sakthivel Velumani e5cd573ecb Added a local variable instead of global 2020-12-04 15:10:58 +01:00
Robert Schmidt 13f0571a65 Fix log message: add newline, format 2020-12-04 11:07:18 +01:00
Robert Schmidt 3ae4744679 Single definition and declaration of nr_slots_per_frame 2020-12-04 11:07:18 +01:00
Robert Schmidt 1d7065c29c Remove DLSCH_pdu as it is not needed anymore 2020-12-04 11:07:18 +01:00
Robert Schmidt 89fc1e6e54 handle_nr_ulsch() for multiple UEs 2020-12-04 11:07:18 +01:00
Robert Schmidt 35e723d090 handle_nr_uci() for multiple UEs 2020-12-04 09:41:34 +01:00
Robert Schmidt d9c7243ac1 Remove LTE/FlexRAN-related headers from NR MAC 2020-12-04 09:41:34 +01:00
Robert Schmidt c71772e325 Remove LTE-related headers from NR PHY-MAC IF 2020-12-04 09:41:34 +01:00
matzakos d64bc67b0c Add TDD configuration in ENDC X2 setup response message sent from eNB 2020-12-03 15:39:30 +01:00
Robert Schmidt 589ff862dc Improve retransmission messages in UL&DL 2020-12-03 09:52:41 +01:00
matzakos 103fc806b3 Remove hack in LTE PDCP for noS1 mode 2020-12-03 00:31:23 +01:00
Robert Schmidt 12c6cd4481 Remove unused variable 2020-12-02 18:08:51 +01:00
Robert Schmidt c110ad7dc6 Take out DL phytest slot limitation 2020-12-02 18:08:51 +01:00
Robert Schmidt ec10d48b24 Reformat schedule_nr_prach() 2020-12-02 18:08:51 +01:00
Robert Schmidt 0e936a09ba Remove current_harq_pid: it is not needed 2020-12-02 18:08:51 +01:00