Commit Graph

9769 Commits

Author SHA1 Message Date
Francisco 26f173e582 asn1: use template to generate ngap/s1ap elementary procedure option and reduce code duplication 2022-01-11 22:59:38 +00:00
Francisco Paisana d5f5df3e7b asn1: place common asn1 type for empty ie object sets in asn1_utils.h 2022-01-11 22:59:38 +00:00
Francisco Paisana ec1ed9d4a5 asn1: fix json generation for s1ap/ngap and improve ie protocol field interface 2022-01-11 22:59:38 +00:00
Francisco Paisana 61e225d762 asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface 2022-01-11 22:59:38 +00:00
Francisco Paisana e2b8a80f87 asn1: move all ie protocol container types to asn1_tuils to be reused in different layers 2022-01-11 22:59:38 +00:00
Francisco Paisana 2d2a5bee03 asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content 2022-01-11 22:59:38 +00:00
Francisco Paisana 6b181e7a94 asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers 2022-01-11 22:59:38 +00:00
Francisco Paisana c8f7976014 asn1: use byte buffer pool for temporary variable length field generation instead of stack array 2022-01-11 22:59:38 +00:00
Francisco e84908dec8 sched,nr,test: pass cqi to sched_nr_test via config file 2022-01-11 20:56:23 +00:00
yagoda 615ae98a9d fixing regression bug - adding bsr_callback to mrb 2022-01-11 09:58:41 +01:00
Pedro Alvarez b0581ae5ae lib,rlc_am_nr: removed ugly hack to get last element of list. Renamed current_sdu to sdu_under_segmentation. 2022-01-10 23:25:44 +00:00
Pedro Alvarez e9a47ef7b1 lib,rlc_am_nr: added assert to make sure we never write over nof_bytes 2022-01-10 23:25:44 +00:00
Pedro Alvarez 33735852a4 lib,rlc_am_nr: remove unecessary ternary operator. 2022-01-10 23:25:44 +00:00
Pedro Alvarez bd8c7f7c57 lib,rlc_am_nr: added max_hdr and min_hdr variables, that are configured based on SN length. Replaced magic numbers with said variables. 2022-01-10 23:25:44 +00:00
Pedro Alvarez 19268281c8 lib,rlc_am_nr: reduced logging level of some messages to debug. 2022-01-10 23:25:44 +00:00
Pedro Alvarez 5532c514ba lib,rlc_am_nr: added logging macros to make sure that the RB name is allways logged. 2022-01-10 23:25:44 +00:00
Pedro Alvarez f60259afb9 lib,rlc_am_nr: fixed multiple typos and deleted useless comments 2022-01-10 23:25:44 +00:00
Pedro Alvarez 9e6b852834 lib,rlc_am_nr: Added handle_full_sdu() and handle_segment_sdu() functions. Reduced duplicate code in handling SDU segments. 2022-01-10 23:25:44 +00:00
Pedro Alvarez 8afea13d9a lib,rlc_am_nr: added initial logic to support receiving PDU segments. 2022-01-10 23:25:44 +00:00
Pedro Alvarez aae1d9ad10 lib,rlc_am_nr: changed rlc_amd_nr_tx_sdu to use std::list to store
segment infomation. Segment infomation incluses, SO and payload length.
2022-01-10 23:25:44 +00:00
Pedro Alvarez 76c33c78a9 lib,rlc_am_nr: starting to add test for segmentation. Starting to add functions for creating new segments and segment continuation. 2022-01-10 23:25:44 +00:00
Pedro Alvarez f544cc7f7e lib,rlc_am_nr: fixed issue introduced with the changes of the header packing. 2022-01-10 23:25:44 +00:00
Pedro Alvarez 40fab8fdb4 lib,rlc_am_nr: starting to add segmentation test 2022-01-10 23:25:44 +00:00
Pedro Alvarez 3e5b064a08 lib,rlc_am_nr: starting to add build_sdu_segment() function.
Also adding write_header function that receives as argument uint8_t* so
we can write the header straight to the payload.
2022-01-10 23:25:44 +00:00
Pedro Alvarez 72ba7503e5 lib,rlc_am_nr: make max tx queue size configurable. 2022-01-10 23:25:44 +00:00
Fabian Eckermann 4182a9f164 Add cell group update without random access. 2022-01-10 21:09:03 +01:00
Fabian Eckermann cb6809c9b2 Add SA RRC reconfiguration test. 2022-01-10 21:09:03 +01:00
Fabian Eckermann a6c1098afe Add decoding of RRC reconfiguration. 2022-01-10 21:09:03 +01:00
Fabian Eckermann a9724fced1 Remove unused code from test. 2022-01-10 21:09:03 +01:00
Xavier Arteaga 6c4c1ea155 NR UE PHY: interfaced fix wideband CQI reporting in nr_phy_test 2022-01-10 18:50:53 +01:00
Alejandro Leal 8619382b45 Removed unneeded libraries from the mac test in srsgnb 2022-01-10 15:33:55 +01:00
Francisco Paisana ac7fe9be64 sched,nr: make scheduler robust to errors in the phy that cause skipped slot indications 2022-01-07 16:27:34 +01:00
Carlo Galiotto bab0b488be rrc-nr: disable csi_meas_config
The current configuration makes the PUCCH decoding fail. We need
to investigate the reason for this befoer we re-enable it

Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 861648aa35 rrc-nr: differentiate SA csi_meas_cfg from NSA
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3d39f4b55f rrc-nr: remove unnecessary variable toggle
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 655fb7204f rrc-nr: set CSI config for SA only
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto d7e4018adf sched: remove unused function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto b359c7b728 sched,nr: add comments and rename variables
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 0f92869156 rrc,sched: add csi-MeasConfig setup in RRC
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 9be9bd659e sched,nr: add CQI to SE and SE to MCS mapping ...
for scheduler + add CQi reporting from PHY to scheduler

Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 2040a88bf9 sched: add comments + rename variable
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto cd32f1385a sched,test: add test for CQI->MCS mapping fnc
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto db983175a8 sched: remove CQI->MCS mapping from PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3a7739fba5 sched: add CQI->MCS mapping to PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto a7255cfac6 sched: add fnc to map CQI to MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Francisco Paisana 40138c7125 changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap' 2022-01-05 18:26:05 +01:00
Ismael Gomez cc635168dd enb,rrc: add more context to log line 2021-12-30 20:11:27 +01:00
Ismael Gomez 4d382905fd ue,lte: run parse_meas_config after RACH is complete to avoid race condition with PHY reset 2021-12-22 22:41:24 +01:00
Ismael Gomez daa7d8cdb5 Increase number of tunnels per UE 2021-12-22 22:41:24 +01:00
Ismael Gomez 2d31e11144 ue,lte: update rx_gain_offset more frequently. Avoid calling UHD driver when getting rx_gain 2021-12-22 22:41:24 +01:00