Commit Graph
3690 Commits
Author SHA1 Message Date
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
Florian Kaltenberger da8be6a78b Merge remote-tracking branch 'origin/pdcp-ul-noS1-v2' into integration-develop-nr-2019w50 2019-12-12 12:52:55 +01:00
Florian Kaltenberger 5d7e7d5fe1 Merge remote-tracking branch 'origin/nr-rlc' into integration-develop-nr-2019w50 2019-12-12 12:50:49 +01:00
Florian Kaltenberger e104d640e0 Merge remote-tracking branch 'origin/ru-parallel-beamforming-merge' into integration-develop-nr-2019w50 2019-12-12 12:49:55 +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
Guido Casati f0b7debefc Extraction of common NR MAC data structures from NR_MAC_UE/mac.h and definition of MAC CE struct 2019-12-06 10:46:51 +01:00
laurent ec08b771b1 merge develop-nr 2019-12-05 05:07:23 +01:00
laurent 8708af92ab error in one function prototype 2019-12-05 04:56:45 +01:00
laurent 7672257b2f asn1 encoding memory overflow 2019-12-05 04:56:42 +01:00
laurent 80cd6940af modifications 2019-12-05 04:53:56 +01:00
Florian Kaltenberger 201d975318 Merge remote-tracking branch 'origin/feat-sib1-sa-mode' into integration-develop-nr-2019w48bis 2019-11-29 17:18:58 +01:00
Prateek Bidwalkar c724057947 updated file format using astyle
Signed-off-by: Prateek Bidwalkar <prateek.bidwalkar@ipaccess.com>
2019-11-27 11:04:23 +05:30
Prateek Bidwalkar cf406af4f0 ASN encoding for SIB1 in SA mode
Signed-off-by: Prateek Bidwalkar <prateek.bidwalkar@ipaccess.com>
2019-11-27 11:04:23 +05:30
Francesco Mani 63375fa139 BF weights from config file for RU case 2019-11-25 16:43:15 +01:00
Francesco Mani 2e6d4c7572 Merge branch 'develop-nr' into nr_100mhz 2019-11-19 15:57:09 +01:00
Francesco Mani 8ad07d3aef make gNB compile for 273 PRBs and including config file 2019-11-15 12:41:02 +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 a5af01633a Merge remote-tracking branch 'origin/develop-nr_cppcheck' into integration_develop-nr_2019w42 2019-10-14 13:35:13 +02:00
Florian Kaltenberger f26373c52b Merge remote-tracking branch 'origin/develop-nr_cppcheck' into integration_develop-nr_2019w42
Conflicts:
	executables/nr-gnb.c
	openair1/PHY/NR_REFSIG/nr_dmrs_rx.c
	openair1/SIMULATION/NR_PHY/ulsim.c
2019-10-14 13:34:14 +02:00
yilmazt 954e6c640d compilation error fix and some more cppcheck work 2019-10-14 12:14:12 +02:00
Florian Kaltenberger 054eaf66a6 fixing nr_dlsim CI tests 2019-10-14 10:54:14 +02:00
Florian Kaltenberger da13ff9c36 improved real-time performance:
- gNB now only sends samples to USRP when DL slot. (should do the same for UE)
 - increased sf_ahead to 6
 - fixed timestamp for usrp_write at UE
2019-10-11 17:30:55 +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
yilmazt 08eda57aca final minor changes before the merge 2019-10-08 18:32:02 +02:00
Khalid Ahmed b10cc48351 Fix ulsim and PUSCH in rf-simulator
- initialize PUSCH parameters properly
2019-10-08 09:30:14 +02:00
Khalid Ahmed dd0927dd55 TDD fixes in real-time environment 2019-10-08 09:30:14 +02:00
Khalid Ahmed 274c60f87c PUSCH running with rfsimulator 2019-10-08 09:30:14 +02:00