Commit Graph
15977 Commits
Author SHA1 Message Date
knopp 055d582403 Update oai_dfts.c 2021-03-04 11:49:07 +01:00
Rohan Patil 06b368914b PBCH test case support for non-zero bchpyload 2021-03-04 15:19:22 +05:30
rohan bae3bebdeb Update ulsim.c, build issue resolved. 2021-03-04 08:02:48 +01:00
Thomas Schlichter 62612feebf change get_band() to take the duplex spacing into account 2021-03-03 18:02:10 +01:00
Thomas Schlichter 7a6f789aed Merge remote-tracking branch 'develop' into NR_FDD_FIX 2021-03-03 17:59:17 +01:00
cig 222933a59b Updated arbitrary frequencies section in RUNMODEM.md file 2021-03-03 17:58:07 +01:00
cig f2bc1012be Minor cleanup UE
- removed commented out code
- improved logging in UL channel estimation
- minor fixes according to OAI coding guidelines
- moving fetching TDD configuration parameters in nr-ue.c only in TDD case
2021-03-03 17:58:07 +01:00
Thomas Schlichter 01645168f0 NR_UE: handle initial TA the same way as TA updates, independent of the UE_mode
In FDD mode, the UE_mode switches to PUSCH mode before the initial TA value was applied.
Because of this, the ta_command was misinterpreted.
Fix this by adding 31 to the initial TA comamnd and handle it the same as TA updates.
2021-03-03 17:58:07 +01:00
hardy c25da4b3aa update of HTML report 2021-03-03 15:33:58 +01:00
Cedric Roux 9edc8cce0a nr pdcp: improvements
Implement data transfer (38.331 5.2):
    - transmit operation (in nr_pdcp_entity_recv_sdu)
    - receive operation (in nr_pdcp_entity_recv_pdu)
    - t-Reordering expiration

To keep track of time the function nr_pdcp_wakeup_timer_thread has been
added and is called by the gNB's MAC scheduler via nr_pdcp_tick.

(The UE has not been modified.)

A thread has been introduced to set time of all the existing PDCP
entities in the system. This probably does not scale well with many
PDCP entities (many UEs connected to the gNB). To be changed at some
point when needed. Hopefully, with a few UEs this mechanism won't be
too problematic (ie. won't cause realtime problems).

The problem with time in PDCP is that SDUs are kept if some are
missing, to do reordering. A timer is started and when it expires
we have to transmit the SDUs even if some are still missing. We
want to do that as soon as possible. So we have to check timers
often (every millisecond).

In RLC the time is set when there is some activity (SDU or PDU
received). In PDCP we cannot wait for this kind of activity. We
would keep packets longer than necessary, which may disturb
upper layers (think: TCP). That is why we introduced the thread,
as a simple mechanism to keep packets no longer than necessary.

The locking done by this thread may create realtime issues.

The whole logic of time keeping can be changed later if it turns
out that it is not efficient.

The functions dealing with DRB AM have been removed. All the types
of PDCP entities (DRB AM, DRB UM, SRB) use the same mechanism for
transmit and receive operations. So the code has been made common
for all those types.

We don't deal with:
    - entity re-establishment, entity release or entity suspend
    - SDU discard (the timer is present but not used)
    - status reporting
    - data recovery
    - data volume calculation
    - header compression / decompression

There is no plan to implement those features in a near future.

Integrity protection is not done yet, and will be implemented soon.
2021-03-03 14:06:31 +01:00
Rohan Patil 429a5d4187 Support added for 2 RX Antenna case in ulsim and fixed indexing issue in gNB RX chain 2021-03-03 17:10:02 +05:30
hardy c8d26ad5b2 Merge remote-tracking branch 'origin/rh_ci_ra_fr2' into ci_test_ra_fr2 2021-03-03 11:05:24 +01:00
Florian Kaltenberger fdc818bc06 Update TESTING_GNB_W_COTS_UE.md 2021-03-02 21:39:19 +01:00
francescomani 97ed2dfe5b Merge remote-tracking branch 'origin/develop' into NR_10MHz 2021-03-02 14:31:12 +01:00
rmagueta 5f66269a8b Merge remote-tracking branch 'origin/develop' into develop-SA-RA
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-03-02 12:01:11 +00:00
Cedric Roux 95b659ab44 T tracer: add gnb tracer
Minimalist gnb tracer to trace (for the moment) rxdataF when some
decoding for PUCCH or PUSCH has been done.

Important: T_BUFFER_MAX and T_CACHE_SIZE have been changed. T_BUFFER_MAX
is twice as big as before. T_CACHE_SIZE has been devided by two. Globally,
the memory usage of the T tracer is the same, but since we divided by two
the number of buffers in the cache, we may hit some realtime problems if
all the buffers are busy at some point. The simple solution would be to
use 8192*2 for T_CACHE_SIZE as it was, but then we double the memory usage
of the T tracer. This, or another solution, to be defined.
2021-03-02 10:08:00 +01:00
Remi Hardy a494950b0b Integration 2021 wk09
MR1029 : Benetel driver update  
This MR fixes an issue with the driver for the 4G Benetel RRUs.
Power levels on the 5G side were adapted to avoid saturation of the signals. 
5G performance is now the same as with USRP. 
Support for 2 antennas for both 4G and 5G was added

MR1062 : fixing the RE offset for each Rx antenna in pusch channel estimation
2021-03-01 21:08:19 +01:00
Guhan 02ae169250 Rebased to latest develop and removed nr_rx_acknack function 2021-03-01 11:43:30 +05:30
hardy d143cec5ba Merge remote-tracking branch 'origin/sarma_pvnp_oai' into integration_2021_wk09_b 2021-02-26 16:09:17 +01:00
hardy 8d05695722 Merge remote-tracking branch 'origin/benetel_driver_update' into integration_2021_wk09_b 2021-02-26 16:09:05 +01:00
guhan 89c1a9c284 Removed SR 2021-02-26 14:16:35 +05:30
guhan 6505729aad some modifications in gNB_scheduler_uci.c 2021-02-26 14:16:01 +05:30
guhan f338d6d65d Removed rrc dependency, code rearrangement 2021-02-26 14:16:01 +05:30
guhan 5d4f815181 Removed dead code 2021-02-26 11:50:13 +05:30
guhan e914cb28a6 Fixed some warnings 2021-02-26 11:47:33 +05:30
rangaswamy 0e61b612ba fixed warnings 2021-02-26 11:47:33 +05:30
k.ramya 0a0a5e48c3 code rearrangement 2021-02-26 11:37:58 +05:30
r.karey e703638522 fixed memory leaks 2021-02-26 11:31:06 +05:30
Francesco Mani 27cfdd4974 some cleanup 2021-02-26 11:29:28 +05:30
Francesco Mani 2e17bd241f bugfix in pucch_rx 2021-02-26 11:29:28 +05:30
Francesco Mani cfdfd789b0 some code cleanup in csi_bitlen 2021-02-26 11:29:28 +05:30
Francesco Mani 17f830e587 revert to old rrc csi confriguration 2021-02-26 11:29:28 +05:30
Francesco Mani 898f752059 uci mac functions in a new file 2021-02-26 11:29:28 +05:30
Rangaswami dfa39d5441 fixed CSI payload issue with multiple SSBs 2021-02-26 11:08:32 +05:30
Francesco Mani 5c35c9fba2 bugix for cri-rsrp in bitlen computation 2021-02-26 11:08:32 +05:30
p.shashikala ee7b48ee01 CSI payload bits inversion issue 2021-02-26 11:08:32 +05:30
Rangaswami 8c923c9796 Fixed the segemntation fault and added CSI bitlength in uci_pdu 2021-02-26 11:08:32 +05:30
r.karey c779ca120f Fixed the calculation of received csi payload size at MAC 2021-02-26 11:08:32 +05:30
Francesco Mani 827fcb2d30 remove log 2021-02-26 11:04:20 +05:30
Francesco Mani e746ee5e96 make ue and physim compile again 2021-02-26 11:04:20 +05:30
r.karey dbe30e81f6 CSI-RS reporting bitlength calculation for type1 single panel two CSI-RS ports 2021-02-26 11:04:20 +05:30
r.karey c15855b9ab Bit length calculation for CRI-RSRP 2021-02-26 11:04:20 +05:30
r.karey 778dec6634 Changed periodicity calculation according to CSI_Reporting branch 2021-02-26 11:04:20 +05:30
r.karey befcb33d1b Modified bitlen calculation for ssbri 2021-02-26 11:04:20 +05:30
r.karey 3fa6b36ac3 UCI bitlength calculation 2021-02-26 11:04:20 +05:30
r.karey 802f69a574 Added more logs and fixed assertion 2021-02-26 11:04:20 +05:30
vr.devendra 6a1a0e8257 updated TCI handling apis 2021-02-26 11:00:37 +05:30
Rangaswami 1dfec690f5 Initial commits for TCI and CSI reporting changes 2021-02-26 11:00:37 +05:30
Rangaswami f344f69d1c Initial commits for TCI and CSI reporting changes 2021-02-26 10:54:40 +05:30
Francesco Mani 656d2abc7c Remove PRACH logging nr_mac_common.c 2021-02-26 10:53:54 +05:30