Florian Kaltenberger
30aaa0dc44
reducing UL target power for Benetel 5G RRU and adding missing parameter for PUSCH multi thread processing
2021-02-19 11:47:25 +01:00
Florian Kaltenberger
670c807a56
Merge remote-tracking branch 'origin/develop' into benetel_driver_update
2021-02-19 11:46:41 +01:00
laurent
c910668e7b
add LOG_M() binary format
2021-02-19 10:48:35 +01:00
guhan
e893ee8a16
Fixed the issue w.r.t looping of configured preamble list
2021-02-19 11:47:55 +05:30
Laurent Thomas
abea2ef926
protect nrscope when thread starts before end of init
2021-02-18 22:36:45 +01:00
Laurent Thomas
11a318170e
memory wrong free in global vars used for configuration storage
2021-02-18 22:23:31 +01:00
Mahesh
7ea8211b85
Code fixes for NSA test
2021-02-18 16:19:12 +05:30
Francesco Mani
80cac226fc
fixed a warning in gNB_scheduler_ulsch.c
2021-02-18 08:50:45 +01:00
cig
e023f67ed8
Compute and apply symbol rotation for DL and UL
...
- now done according to the proper DL/UL frequency
- this makes it compatible with FDD mode
2021-02-17 14:14:06 +01:00
Robert Schmidt
a3b1216b23
Fixup sched_ul_bytes logic
...
1) Only count new transmission as scheduled bytes (which is then
compared against the BSR)
2) When subtracting scheduled bytes after successful reception, subtract
TBsize from correct HARQ process
2021-02-17 10:17:59 +01:00
cig
c89d349300
Bugfix in nr_ue_prach_scheduler
...
- scheduled_response was called regardless of the UL config in the PRACH slot
this was leading to wrong behaviour since it was interfering with the
UL config of PUSCH
2021-02-16 15:25:48 +01:00
Sakthivel Velumani
7c86b9c289
Ulsch coding fix
...
Do encoding only if NDI toggles instead of doing on first round. Both are same but we now remove the dependancy on rv_round_mapping.
2021-02-16 12:07:27 +01:00
Sakthivel Velumani
f62095fb32
Updated nr_dlsim to generate matlab files
...
Updated matlab file write function to write multiple vectors to a single file.
2021-02-16 10:29:38 +01:00
luis_pereira87
9d498e1a09
Improve PDSCH DMRS modulation for numDmrsCdmGrpsNoData=1
2021-02-15 16:49:07 +00:00
francescomani
eef684d91a
adding 24 PRB to X2AP function
2021-02-15 16:25:30 +01:00
Cedric Roux
21ff70e84f
hack: put back a hack that seems necessary for NR rfsim tests in the CI
...
go figure...
2021-02-15 15:25:52 +01:00
Cedric Roux
3cfa2c266b
hack: fix NR prachsim compilation
...
Dirty!
2021-02-15 15:25:52 +01:00
Cedric Roux
778e487323
hack: fix NR ulsim compilation
...
Dirty.
2021-02-15 15:25:52 +01:00
Cedric Roux
67b9cd1892
hack: fix NR dlsim compilation
...
Dirty...
2021-02-15 15:25:52 +01:00
Cedric Roux
73f3a458cf
NSA: finalize nea2 security for gNB
...
- a new section in the configuration file to select security algorithms,
with new code to deal with it
- cleanup CG-ConfigInfo: specs seem to indicate that we must not
add mcg_RB_Config; the gNB has to deal with that
- as a consequence, modify fill_default_rbconfig() that is called in
every cases and needs security and bearer parameters
The new section in the configuration file looks like:
security = {
# preferred ciphering algorithms
# the first one of the list that an UE supports in chosen
# valid values: nea0, nea1, nea2, nea3
ciphering_algorithms = ( "nea0", "nea2" );
# preferred integrity algorithms
# the first one of the list that an UE supports in chosen
# valid values: nia0, nia1, nia2, nia3
integrity_algorithms = ( "nia0" );
};
2021-02-15 15:25:52 +01:00
Cedric Roux
cb589c211c
minor trivial bugfix
2021-02-15 15:25:52 +01:00
Cedric Roux
10e021e96d
NSA: first draft of nea2 security for gNB
...
The code is forced to use nea2, no matter what the UE supports.
After 2^18 PDCP packets, it will fail to work (we don't use HFN yet).
These limitations will be fixed in later commits.
The existing security function was not reused, because it does too
much memory allocation and initializes the security context at each
ciphering. So here comes nr_pdcp_security_nea2_cipher(). And also
the ciphering is done inplace. To be changed if necessary.
2021-02-15 15:25:47 +01:00
cig
94d956fa55
Fixed warning about use of wrong enum
2021-02-15 13:24:20 +01:00
Sakthivel Velumani
3776379eb1
Merge branch 'develop' into gnb-threadpool
2021-02-13 17:00:00 +01:00
Sakthivel Velumani
08ab234501
Removing sync_thread
2021-02-13 15:14:03 +01:00
rmagueta
e7fb928758
Fix dlsch_config_pdu for DCI with format 1.1
2021-02-12 21:40:04 +00:00
Robert Schmidt
ef90d77b0e
Reformat nr_initiate_ra_proc() [no other changes]
2021-02-12 20:53:36 +01:00
cig
d5877d75bf
Bugfix in gNB RA scheduling for FDD duplex mode
...
- the RA SFN index wasn't increased in the FDD case, therefore the PRACH
RX was never scheduled
2021-02-12 18:41:19 +01:00
cig
24fc20e2e2
Bugfix in USRP flags configuration for NR UE
...
- missing check on duplex mode before fetching the TDD period
- missing flags configuration for FDD mode
2021-02-12 17:02:20 +01:00
Thomas Schlichter
d3982e5809
Merge remote-tracking branch 'develop' into NR_FDD_FIX
2021-02-12 16:39:58 +01:00
Cedric Roux
0b4335accc
NSA: some work on security (for PDCP)
...
- compute correct kgNB
- propagate properly NR security capabilities of an UE
(involves: rrc, s1ap, x2ap)
2021-02-12 16:01:37 +01:00
guhan
0d5f1dfea0
Fixed the index issue
2021-02-12 19:49:42 +05:30
luis_pereira87
9a55e64e54
Fix build errors in physical unitary tests simulators, minor update in the documentation
2021-02-12 12:28:17 +00:00
Mahesh
b681d67d7f
Cleanup
2021-02-12 16:36:58 +05:30
Mahesh
f69af6abaf
merge MR978 (5G nFAPI) into develop
2021-02-12 16:26:22 +05:30
kn.raju
37d112f511
Check that resources are free for Msg2/RAR
2021-02-12 08:31:35 +01:00
kn.raju
13e719d74a
fixes nr_initiate_ra_proc()
2021-02-12 08:31:30 +01:00
kn.raju
bf81ea19d3
Check cfra in nr_initiate_ra_proc()
2021-02-12 08:31:28 +01:00
kn.raju
66ffa08a3d
Handle individual RAs in nr_generate_Msg2() and nr_add_msg3()
...
* add the RA process to handle to command parameters
* Do not create the RAR_pdu into an intermediate array, but directly
into the nFAPI TX_req
* Slightly restructure nr_generate_Msg2() to first make AssertFatal()
checks, then proceed allocating
2021-02-12 08:31:26 +01:00
kn.raju
25a520e4fa
find_SSB_and_RO_available()
2021-02-12 08:31:23 +01:00
kn.raju
68b4a6bf28
Fixing association period
2021-02-12 08:31:17 +01:00
kn.raju
054934c4f8
Do nr_schedule_RA() for all RA processes
2021-02-12 08:31:13 +01:00
kn.raju
baba8d69be
nr_initiate_ra_proc(): check in all RA processes, check beam_index
2021-02-12 08:31:11 +01:00
kn.raju
4dacea921c
New UE: check for free RA and copy preamble list
2021-02-12 08:31:07 +01:00
kn.raju
eaadda1f5d
Update FAPI nfapi_nr_tx_precoding_and_beamforming_t
2021-02-12 08:31:01 +01:00
rmagueta
7011b04b75
Code clean up and minor correction in RA for SA
2021-02-12 00:24:31 +00:00
rmagueta
d2e9ca590c
Fix segmentation fault in PDSCH DMRS when using additional DMRS symbols
2021-02-11 22:21:45 +00:00
Mahesh
7f4ffe29c8
Fix whitespaces
2021-02-12 01:25:09 +05:30
Mahesh
eb19e02cf3
Merging MR978 with develop
2021-02-11 22:50:25 +05:30
cig
00a7adf198
NR_UE: cleanup and fix computation of ta_slot (when to apply the timing advance value)
...
- made hardcoded constants explicit
- made the code more readable according to OAI coding style guidelines
- fixed some formatting and logging
2021-02-11 18:04:36 +01:00