Commit Graph
179 Commits
Author SHA1 Message Date
matzakos 4e51e1ea10 nr-ip-ul-nos1: Merge with develop 2020-02-12 16:45:22 +01:00
matzakos 9e6b6ef965 nr-ip-ul-nos1: Remove warnings 2020-02-11 18:45:35 +01:00
Raymond Knopp 69721198af nr MAC uplink: aDD identification of MAC uplink PDU CEs at gNB (receiver) side 2020-02-10 12:54:00 +01:00
matzakos 93ac6bd426 nr-ip-UL-nos1: Substitute LTE macros in new NR functions and data structures + logs cleanup 2020-02-06 18:21:12 +01:00
matzakos bb7a788809 nr-ip-UL-nos1: Integrate NR MAC PDU structures for the Uplink. Currently supporting only data SDUs, Control Elements to be added. 2020-02-05 18:47:02 +01:00
frtabu 101a55e332 commit before rebasing onto develop 2020-02-03 10:37:46 +01:00
cig e21b00adab Bugfix - missing call to mac_rlc_data_ind in the noS1 mode:
- now the UE is passing again data to the upper layers in noS1 mode
- minor cleanups
2020-01-28 17:47:15 +01:00
Raphael Defosseux 855752f4d2 Fix a few warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2020-01-24 11:20:10 +01:00
Raymond Knopp 0a136997d3 nr-ip-UL noS1: Merge with develop branch 2020-01-23 12:35:01 +01:00
matzakos 99fce8a359 nr-ip noS1 uplink: Uplink IP traffic successfully received at the IP TUN interface of the gNB now. Logs cleanup. 2020-01-22 13:05:10 +01:00
matzakos 5b5a25a932 nr-ip noS1 uplink integration (testing with RFSIMULATOR only): Uplink IP packets received at the gNB and reaching at pdcp layer. Asserion error at pdcp_fifo_flush_sdus when trying to write on the nas socket 2020-01-20 17:55:16 +01:00
Thomas Schlichter 50cfaf7fff Merge remote-tracking branch 'develop' 2020-01-20 15:34:12 +01:00
cig ef0a45325b Split configure_fapi_dl_tx function into two functions:
- configure_fapi_dl_pdu is handling the nfapi_nr_dl_config_request_pdu
 - while configure_fapi_dl_Tx is now handling the nfapi_tx_request_pdu

this was necessary because the computation of the TBS size is needed in the phytest scheduler
before even knowing if there is any data to transmit. The tx_request_pdu must be handled instead
only when there is data to transmit.
2020-01-20 12:57:41 +01:00
cig e41204899c Cleanup commented code and old lte code 2020-01-16 14:04:36 +01:00
cig 17090f22c1 Fixed sdu initialization: this was causing assertion failure at UE side 2020-01-15 15:56:21 +01:00
Florian Kaltenberger 9f0be015a9 Merge remote-tracking branch 'origin/develop-nr' into 459-pusch-based-ta-updates 2019-12-19 13:33:41 +01:00
Florian Kaltenberger db6eeb2773 fixing mac pdu generation. to be checked by fraunhofer 2019-12-19 13:32:53 +01:00
Florian Kaltenberger b1f224d11e should not use LTE UE list in NR MAC as sizes are different and causes segfaults 2019-12-18 21:51:46 +01:00
Khalid Ahmed 2dd941a22d Adding one UL empty slot before actual UL slot
- total num of symbols is 12 instead of 14 in PUSCH
- actual UL slot is 3 instead of 2
2019-12-18 11:11:50 +01:00
Khalid Ahmed c62443b235 fixing bugs intoduced after fapi implementation 2019-12-18 11:11:24 +01:00
Cedric Roux 1a46b66d74 nr rlc: first commit
Initial implementation.

nr_rlc/nr_rlc_oai_api.c will need some clean rewrite at some point.

More testing is also needed.
2019-12-10 10:06:17 +01:00
Florian Kaltenberger d34d269d70 reducing the use of rand() which takes too long 2019-12-06 10:46:51 +01:00
cig 361446fda5 Consolidation of TA updates changes in the noS1 mode:
- merged nr-schedule_ue_spec into nr_schedule_uss_dlsch_phytest
- enabled nr_ue_send_sdu for S1 mode
- increased ta_timer to 100
- restored NR_UPLINK_SLOT to 2 (as it was in develop-nr)
- fixed logic for S1 and noS1 modes
- code cleanup and formatting
2019-12-06 10:46:51 +01:00
Guido Casati cfbe18c9ed Adaptation of MAC TA procedures to the design of handle_dlsch
- introduced new parameter in nr_ue_dl_indication for UL time alignment
- moved TA timer logic one level up so that now is executed every slot
- set timer value to 80 slots to cope with the sl_ahead design
- introduced new TA-related members to gNB MAC instance struct
2019-12-06 10:46:51 +01:00
Guido Casati c6855cb8d2 Maintenance of Uplink Time Alignment. Introduced control on TA transmission and TA update application.
- ta_timer at gNB side to control the transmission of TA to the UE. This is now happening every 20 slots.
- when the timer resets gNB is now transmitting the TA whether it is zero or not.
- introduced struct NR_UL_TIME_ALIGNMENT_t to handle configuration of time alignment related parameters.
- UE PHY RX: is now triggered through a flag when to store the TA command, the frame and slot
  when the application should occur.
- UE PHY TX: when the tx frame and slot match the time alignment configuration, it process the TA command and applies the
  TA update
2019-12-06 10:46:51 +01:00
Ahmed Hussein 5ac8b6f34d TA implementation complete and tested in rfsimulator 2019-12-06 10:46:51 +01:00
Guido Casati 0492f7eb7e Fix TBS condition in to schedule ue spec procedures 2019-12-06 10:46:51 +01:00
Guido Casati 825ae3c06d Integration PHY and MAC procedures for Timing Advance updates. Compilation and run is OK. TA updates need further fixes as not working as expected.
- "nr_process_timing_advance": TA to be applied is commented out, need to be uncommented
- with introduced delay of 50 in rx_rf, TA update should be 34 in MAC CE
  but this does not occur when ta is applied at UE side according to standard
- introduced ULSCH scheduler and NR RX SDU functions
- fixes to logic in UL fill RX indication
- added crc indication in UL RX
- temporary hardcoded UE_id to 0, rnti not considered in the logic
2019-12-06 10:46:51 +01:00
Guido Casati 310efee7f2 Implementation of TA procedures at MAC layer for gNB and UE
- Initial gNB DLSCH and UE spec scheduling implentation
- MAC PDU generation (including header as per TS 38.321)
- MAC PDU processing at UE side with extracion of TA updates
- General code cleanup
- Introduced NR MAC COMMON folder, moved common files here
2019-12-06 10:46:51 +01:00
Rakesh b4b1998c5e bug fix 2019-11-08 12:38:48 +01:00
Florian Kaltenberger 20df127684 astyling gNB_scheduler_phytest.c 2019-11-06 18:34:22 +01:00
Florian Kaltenberger 69631e750b Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-11-01 17:13:54 +01:00
Florian Kaltenberger bf7d52de43 Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-10-30 16:33:35 +01:00
Florian Kaltenberger cf025a6569 Merge remote-tracking branch 'origin/nr-tbs-fixes' into integration-develop-nr-2019w44 2019-10-30 10:22:38 +01:00
Florian Kaltenberger da625f1397 making nr_ulsim working again with the FAPI 2019-10-29 17:14:46 +01:00
Francesco Mani 668de031ec a single function to compute tbs and an additional function to compute tbslbrm 2019-10-21 16:39:02 +02:00
Sakthivel Velumani 38b61f0351 completely merged with develop-nr 2019-10-16 15:21:06 +02:00
Florian Kaltenberger b39ac8893b fix warnings 2019-10-16 14:51:09 +02:00
Sakthivel Velumani ada33879b6 Merge branch 'develop-nr' into nr-coreset-bug-fix
Resolved conflicts. rfsim not working.
2019-10-16 13:41:32 +02:00
Florian Kaltenberger c046eb66a6 Merge remote-tracking branch 'origin/nr-ip-over-LTE-stack' into integration_develop-nr_2019w42
Conflicts:
	executables/nr-softmodem.c
	executables/nr-softmodem.h
	targets/ARCH/rfsimulator/simulator.c
2019-10-14 13:40:03 +02:00
Florian Kaltenberger 76b55e9cbd Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-10-11 17:26:03 +02:00
Khalid Ahmed dd0927dd55 TDD fixes in real-time environment 2019-10-08 09:30:14 +02:00
Francesco Mani cba58a50a2 Merge branch 'develop-nr' into nr-coreset-bug-fix 2019-10-07 10:14:58 +02:00
Raymond Knopp dfbe9fc1fd nr-ip-over-LTE: Synch with develop-nr and modification of max limits on number of UEs and eNBs 2019-10-04 12:07:39 +02:00
Sakthivel Velumani e8e92e1dab dlsim accepts command line params for dlsch config 2019-09-27 11:27:24 +02:00
Raymond Knopp 024a41424c nr-ip-over-LTE: Debug logs rearrangements 2019-09-26 19:45:28 +02:00
Raymond Knopp 6d6d05535c nr-ip-over-LTE: Resolved issue with duplicate IP packet at the receiver UE IP interface and packet losses are reduced. Remaining to identify why occasionally IP packets are received at the PDCP stack later than the time slot of their arrival at PHY/MAC. Introduced some debug logs, to be removed later. 2019-09-24 18:53:39 +02:00
frtabu b9b4d05e41 remove RRC_VERSION macros, simplify build-oai and CMakefile.txt accordingly, get rid of remaining compilation warnings (opt module improperly merged and patch asn1c files with tests against max 64 bits integer value) 2019-09-23 19:46:44 +02:00
Florian Kaltenberger 348343be8f the gNB scheduler now schedules both UL and DL 2019-09-20 11:44:01 +02:00
Raymond Knopp 889bc96c5d nr-ip-over-LTE: Small fixes, now IP traffic is received at the IP interface of the UE but there are many packet losses and occasionally there are duplicate ping requests received, leading to UE crashing 2019-09-18 18:59:38 +02:00