Ismael
e7272fd2ae
rrc: set correct transaction id or security_mode_complete and reconfig_complete messages
2 years ago
yagoda
cb8b782a6d
nas,ngap: adding initial support for NSSAI based slicing in the UE & gNodeB
2 years ago
CheolJun Park
2a69e17e85
ue,nas: fix integrity check for DL messages
2 years ago
jmasterfunk84
766b735efc
Small Typo Fix
2 years ago
Andre Puschmann
be40336089
all: mark various function args as const& to avoid pass by value
2 years ago
yagoda
19918d9a67
phy,mac,mbms: moving payload buffer from MAC to PHY to avoid thread clashes
2 years ago
Andre Puschmann
0ec3c80ac6
srsue,rrc_nr: remove strict requirement for SSB offset=6
...
tested with coreset0_idx=6/7 with srsENB. there could be more
changes required for other config value combinations though.
2 years ago
Andre Puschmann
6f2c641941
ue,sa: enable PCAP writing for NAS-5G
3 years ago
David Rupprecht
68fe21928e
Added initialization of nas5g logger
3 years ago
Andre Puschmann
d99cff050d
ue,rrc_nr: handle RRC release
3 years ago
Andre Puschmann
fdbe894865
nas5g: print error message on console if PDU session establishment fails
3 years ago
Pedro Alvarez
cc93b5b6b0
ue,gnb,rrc_nr: make sure that RLC is setup before PDCP, so the PDCP can know wether the RLC is UM or AM
3 years ago
Pedro Alvarez
a08579dae9
ue,rrc_nr: mark is_security_active as true, after updating SK counter.
3 years ago
Pedro Alvarez
a148dff0cd
gnb,ue,rrc: enable using integrity on DRBs
3 years ago
Pedro Alvarez
25b8a35d7a
lib,pdcp_nr: make sure we don extract MAC-I if integrity is not enabled. Make sure gNB does not enable integrity on DRBs
3 years ago
Pedro Alvarez
a72279dcbd
Addressed review comments:
...
1 - enb,cfg: fix typo
2 - enb,config: added back deleted config option
3 - ue,rrc_nr: fix wrong log level in log message
4 - enb,config: remove unused parameter
3 years ago
Pedro Alvarez
ece3c69d45
gnb,rrc: make it possible to use default configs when SRB configs are not present.
3 years ago
Andre Puschmann
941a032ea1
ue,proc_ra: fix state to str converter
...
this array wasn't updated after the state enum has been updated
3 years ago
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
3 years ago
yagoda
de8b7d6c48
mac,phy: fixing pdcch order bug, do not process PDSCH if grant is pdcch order
3 years ago
Andre Puschmann
5c59cbfa75
ue,rrc_nr: include RLC capabilities in NR cap info
...
this is needed to enable RLC UM DRBs with Amarisoft
3 years ago
Andre Puschmann
6db4835302
ue,rrc_nr: use minimal NR capabilities by default
...
keep hard-coded caps as compile-time option but don't use them by default.
3 years ago
Bedran Karakoc
2cccad9d28
ue,rrc_nr: Added initial UE Capability Information
3 years ago
Fabian Eckermann
10c921573f
Revert "Add NSSAI slice differentiator, currently only 0 supported"
...
This reverts commit 66ed8b9065
.
3 years ago
Andre Puschmann
da2ac3b2c1
srsue,rrc_nr: fix warning and error logs in SA mode
...
- provide PHY config state to configure MIB values (coreset0).
- set PRACH freq_offset to valid value to please config checker.
Addresses:
2022-04-19T12:42:38.726040 [PHY-SA ] [E] [ 0] prach_cfg.freq_offset=0 is not compatible with LTE
2022-04-19T12:42:38.726040 [PHY-SA ] [I] [ 0] PHY: Set TA offset: n_ta_offset: 0, ta_usec: 0.0
2022-04-19T12:42:38.726141 [RRC-NR ] [W] PHY configuration completed without a clear state.
3 years ago
Andre Puschmann
2313365a41
ul_harq_nr,ue: fix format print
3 years ago
Andre Puschmann
b157490cb3
ue,nr,mac: fix race-condition when accesing temp RNTIs during RA procedure
...
the race was in the prach_nr that stored the temp crnti without proper protection.
the fix moves the logic to store the value to the MAC that uses the thread-safe
RNTI object for this.
3 years ago
Andre Puschmann
899e4148d4
ue,mac_nr: reset DL and UL HARQ when MAC is reset
...
DL and UL harq entities where never reset when the UE was going into IDLE.
As a result, the first transmissions where always using the old softbuffer
without resetting it, resulting in wrong TB being decoded.
In the case of the RAR, the UE decoded a wrong (in fact the old) TCRNTI
and the RA procedure failed.
3 years ago
Ismael Gomez
1507eed79c
srsue,mac: return temp-rnti for UL grants if availabl
3 years ago
Ismael Gomez
a1905072b8
srsue,rrc_nr: check SDAP configuration before passing to SDAP module
3 years ago
Ismael Gomez
f8c2fa05bf
srsue,phy: support n_ta_offset parameter from sib1
3 years ago
Ismael Gomez
edeb8e8f18
srsue,nr: add TA support from RAR and MAC CE
3 years ago
Ismael Gomez
b3497c4a94
srsue,nr: decode SIB1 based on coreset0 configuration in MIB
3 years ago
Ismael Gomez
bfe69deccc
srsue, nr: Add SDAP to the UE. Supports only UL header
3 years ago
Ismael Gomez
a4f26fa5d6
srsue,rrc: send precanned UECapabilityInformation
3 years ago
Ismael Gomez
7bb6aa1f50
srsue,mac: do not add sbsr_ce on Msg3
3 years ago
Ismael Gomez
496b8e2748
srsue,mac: do not destroy active dl_harq_proc during a reconfiguration
3 years ago
Ismael Gomez
7f8ac07b65
srsue: fix A1/S2 reports with CA. Fix some unstability issues when doing HO with multiple carriers due to frequent call to update_phy
3 years ago
Pedro Alvarez
031b91a180
ue,nas5g: fix using wrong serving network name in authentication request
3 years ago
Bedran Karakoc
380280b4d0
lib,nas_5g: Log cause for pdu session establishment reject
3 years ago
Francisco Paisana
e8902c785f
rrc,gnb: remove srsran_prach_cfg_t from gnb rrc config struct
3 years ago
Andre Puschmann
32885e2404
ue, rrc_nr: refactor PHY config statages for NSA/SA operation
...
split the PHY config states into NSA and SA states.
this should remove unwanted warnings when PHY returns
from the configuration.
3 years ago
Andre Puschmann
26f3f6109b
gw,pdcp,rlc,mac: log rate metrics in debug mode
...
reduce periodic log spam for L2 in info level
3 years ago
Andre Puschmann
d65ae322d3
ue,rrc: fix UL center freq setting
3 years ago
Andre Puschmann
1fb4a54b28
srsue,rrc_nr_procedures: only send reconfig complete in SA mode
3 years ago
Andre Puschmann
bb2777536a
rrc_nr: reduce loglevel to debug for some reconfig parsing messages
3 years ago
Andre Puschmann
83ad98c58b
srsue,rrc_nr: add helper to configure default PHY layer parameters
3 years ago
Andre Puschmann
98494a1ea2
srsue,rrc: remove timer stopping in main RRC class as this is done in procedures
3 years ago
Andre Puschmann
1b891bb600
srsue,rrc: check present flag before parsing UCI PUSCH scaling info
3 years ago
Andre Puschmann
82429d1742
srsue,rrc: fix PHY config updates in SA/NSA mode
...
* in SA the entire PHY config is applied immediately
* for NSA (in some scenarios) parts of the config are applied after the RA complete
This fixes #3842
3 years ago