Commit Graph
16433 Commits
Author SHA1 Message Date
Cedric Roux 23b24a3c8a T tracer macpdu2wireshark: add UE id
There was a problem with several UEs in the wireshark log. It seems that
wireshark needs the UE id otherwise it gets confused and sees retransmissions
where it's just another UE connecting and doing the same as a previous
UE.

Let's put kind of a UE id. Each RNTI seen by macpdu2wireshark gets an UE id
assigned the first time it's seen in a trace.

This is a bit hackish but seems to be fine.

We could have added UE_id in all the traces, that is change the T() calls
in the softmodem. It was less work to do it as it is, ie. only touch
macpdu2wireshark.c.

The RAR uses the same UE id all the time, may be a problem. To be refined
if needed.
2021-01-21 11:29:29 +01:00
Cedric Roux 4344b9108e macpdu2wireshark: trace scheduling requests
You need a recent version of wireshark for this to work properly.
Successfully tested with 3.3.2.
2021-01-21 11:26:02 +01:00
francescomani a4243b6e90 Merge branch 'NR_FAPI_beamindex_SSB_RO' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_FAPI_beamindex_SSB_RO 2021-01-21 08:52:58 +01:00
francescomani b42b884d77 fix in do SIB1 for FR2 2021-01-21 08:52:54 +01:00
Xue Song 4c1e47405f update F1AP to R16.3.1 2021-01-21 14:56:22 +09:00
rmagueta ee3f939692 Fill msg3 for the RA 2021-01-20 23:57:31 +00:00
Thomas Schlichter f1653c5f73 fix build of phy_simulators 2021-01-20 18:04:28 +01:00
Sakthivel Velumani a406f320f2 Disabled some log messages 2021-01-20 15:24:45 +01:00
cig e8989b2015 Moved UE UL scheduling functions to new MAC file
- this commit was necessary because the location of the MAC UE
  functions does not reflect the context in which they are used
- therefore all UL scheduling-related functions have been moved
  to a new nr_ue_scheduler.c file
- and the irrelevant file rar_tools_nrUE.c has been deleted
  (nr_ue_process_rar moved to nr_ue_procedures)
- the new locations are supposed to make the file and functions
  organisations more structured and cleaner
2021-01-20 14:59:52 +01:00
cig 9f6a8da0ac UE UL scheduling review
- new data structure RAR_grant_t to handle RAR grant
- new common ul scheduler function
- new common ul pdu configuration function handling ul grants
- new function to fill ul_config_request
- moved pdu configuration code from process dci function
- merged procedures for Msg3 and PUSCH together in nr_ue_scheduler
- the same functions are now handling both PUSCH and Msg3
- relying on ul_config (no more RA Msg3 frame and slot storage)
- done some cleanup and logging in the process
2021-01-20 14:18:04 +01:00
Sakthivel Velumani 69373e22d5 Reverted last commit and fixed merge
Reverted commit e0b1f61235
removed a merge conflict error
2021-01-20 12:35:58 +01:00
yoshio.inoue 6bd2aab1f5 Merge remote-tracking branch 'fjt_dev/develop_SA_L3' into NR_SA_itti_sim_wk48 2021-01-20 10:36:15 +00:00
Xue Song 73ff5dec81 modify INITIAL_UL_RRC_MESSAGE_TRANSFER
fix build errors about nrUE
c-plane is ok
2021-01-20 15:13:49 +09:00
He Shanyun e4ff0d5b31 Merge remote-tracking branch 'remotes/origin/master' into develop_SA_L3 2021-01-20 01:51:32 +00:00
Sakthivel Velumani b8795d3824 Merge branch 'develop' into NR_FAPI_beamindex_SSB_RO
Fixed merge conflicts.
2021-01-19 20:58:10 +01:00
Sakthivel Velumani af4242b508 UE writes to USRP only on tx slots
Removed the hardcoding of fixed tdd and replaced with tdd config from mac configuration
2021-01-19 16:20:50 +01:00
Sakthivel Velumani e0b1f61235 Removing RX_NB_TH from odd places
I removed this from places where I felt it shouldn't be. Not sure why was it there in the first place.
To be reviewed.
2021-01-19 14:28:37 +01:00
Xue Song 4ea8b38d37 c-plane is ok 2021-01-19 18:19:59 +09:00
Mahesh 35692639d7 Code cleanup 2021-01-19 10:45:19 +05:30
rmagueta 681706b6da Define RA_trigger 2021-01-18 20:11:51 +00:00
rmagueta f93413e132 Define trigger_RA_List 2021-01-18 16:08:30 +00:00
rmagueta 9c71e941dd Trigger RA after SIB1 reception 2021-01-18 12:41:09 +00:00
Mahesh b1a760a61d Addressed some minor issues 2021-01-18 15:42:53 +05:30
masayuki.harada 1d414412a0 Merge remote-tracking branch 'remotes/origin/develop_SA_L3' into NR_SA_itti_sim_wk48 2021-01-18 14:29:12 +09:00
Xue Song 133ecd52fa msg1/2/3/4/5 is ok 2021-01-16 18:00:03 +09:00
He Shanyun b425e6f495 fix cppcheck error and warning 2021-01-16 12:04:00 +09:00
Thomas Schlichter e3ac0404a7 fix printf() formats for unsigned integers in nr_ulsim 2021-01-15 17:09:28 +01:00
cig 35c4f94e1d Introduced a new function to retrieve the transformPrecoding status
- this return whether the transform precoder is enabled or not
- redundant configuration code has been migrated to the new function
- get_transformPrecoding is a common MAC function used already
  @ UE side, can be adopted by gNB too
2021-01-15 16:53:15 +01:00
cig c99c04314d Moved code to retrieve RNTI type to a new function @ UE
- this will be later be necessary in DCI procedures which are dependent on
  the RNTI type
2021-01-15 16:53:15 +01:00
cig fcd77ea1da Review Msg3 tranmission
- now transmitting resetting Msg3 slot and frame to -1 after transmission
- cleanup in Msg3 scheduling
- checked Msg3 pdu configuration against the 3GPP specs
2021-01-15 16:53:15 +01:00
cig 70028ba492 Fixed inconsistencies in the type of dci_format @ NR UE 2021-01-15 16:53:15 +01:00
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
Mahesh 868e40e19b Resolved errors due to merge 2021-01-15 19:30:41 +05:30
Thomas Schlichter 7e93eef40c fix unsigned/signed warning regarding nr_(i)dft 2021-01-15 14:55:38 +01:00
Thomas Schlichter 691ad0bba0 Merge remote-tracking branch 'develop' into nr_ul_scfdma
Conflicts:
	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
2021-01-15 14:54:37 +01:00
Mahesh 185fcbf7fe Merged latest commit(MR957) 2021-01-15 18:53:02 +05:30
Xue Song 02e8add383 Merge branch 'develop_SA_rfsim_for_F1' of http://10.37.193.133:8000/gitlab/vran/OAI-5GNR into develop_SA_rfsim_for_F1 2021-01-15 19:58:31 +09:00
Xue Song 01a87a1fba split gNB into CU and DU 2021-01-15 19:57:26 +09:00
Remi Hardy 951fdfef7e MR957 : rlc v2: implement SOstart/SOend in NACK reporting
If we NACK without SOstart/SOend then the other end of the RLC channel will consider all the bytes as NACKed and will have to resend them all. 
If another status is then reported before all the bytes are sent, and because we don't use SOstart/SOend this status will NACK all the bytes again, then all the bytes are to be sent again. 
And the cycle repeats. It will end with a max retx reached (which triggers RLF, Radio Link Failure).

MR1010 : NR UE: Fix for error message - no active DLSCH
- Fixes for the following error message at UE: [PHY] [UE][FATAL] nr_slot_rx 1: no active DLSCH

MR994 : Cleanup softmodem main
- Introduces --dlsch-parallel command line option to set the number of threads for dlsch decoding. If set to 0 (default) no parallelization. 
- Some cleanup in tracing and in nr-uesoftmodem.c data.

MR999 : NR FR2 RA
- Temporary Fix of RA procedure for FR2 (both gNB and UE)
- Fixes in gold sequence initialization at UE
- Moves 2nd downlink to slot 3 instead of 2 to avoid clash with UL DCI (only 1 candidate per slot in FR2 currently)

MR988 : SIB1
Initial implementation of SIB1
2021-01-15 10:29:53 +01:00
hardy 213c948d84 Merge remote-tracking branch 'origin/develop-sib1' into integration_2021_wk02_wMR988
Conflicts:
	openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
2021-01-14 13:17:19 +01:00
shono.takafumi 45305763b1 split gNB into CU and DU 2021-01-14 16:46:06 +09:00
Mahesh d7ccdbe6b0 Resolved build warnings(25+) and 5G nFAPI downlink errors(future_ul_tti_request) 2021-01-14 12:28:45 +05:30
Wang 5e8a48fcc7 Update nr_gold_ue.c 2021-01-13 11:06:16 +01:00
francescomani dcc1a46286 pdusize type to accomodate new beamforming and precoding structures 2021-01-13 11:03:55 +01:00
Xue Song 28168f1369 fix build errors 2021-01-12 07:14:19 +00:00
Xue Song d923011ec8 change NR_RRC_DCCH_DATA_REQ in nr_rrc_data_req to RRC_DCCH_DATA_REQ 2021-01-12 05:59:01 +00:00