Commit Graph

2569 Commits

Author SHA1 Message Date
Codebot 234f99de24 Merge branch 'next' into agpl_next 2022-07-31 21:12:25 +00:00
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.
2022-07-26 15:27:12 +02:00
Codebot 38a520b3c2 Merge branch 'next' into agpl_next 2022-07-24 21:12:22 +00:00
Paul Sutton eb4ec84310 minor example config edit to include NAS ZUC support 2022-07-22 21:24:53 +02:00
Andre Puschmann 6f2c641941 ue,sa: enable PCAP writing for NAS-5G 2022-07-21 10:24:03 +02:00
David Rupprecht 68fe21928e Added initialization of nas5g logger 2022-07-21 09:55:38 +02:00
Codebot ce67ab1f9f Merge branch 'next' into agpl_next 2022-06-26 21:12:23 +00:00
Andre Puschmann d99cff050d ue,rrc_nr: handle RRC release 2022-06-23 11:36:31 +02:00
Codebot 6a3b9257e3 Merge branch 'next' into agpl_next 2022-06-05 21:12:59 +00:00
Andre Puschmann fdbe894865 nas5g: print error message on console if PDU session establishment fails 2022-05-31 08:49:44 +02:00
Codebot c00f44037c Merge branch 'next' into agpl_next 2022-05-29 21:12:21 +00:00
Codebot 49554c2c46 Merge branch 'next' into agpl_next 2022-05-22 21:12:28 +00:00
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 2022-05-20 11:01:04 +01:00
Pedro Alvarez a08579dae9 ue,rrc_nr: mark is_security_active as true, after updating SK counter. 2022-05-17 10:29:37 +01:00
Pedro Alvarez a148dff0cd gnb,ue,rrc: enable using integrity on DRBs 2022-05-17 10:29:37 +01:00
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 2022-05-16 16:16:07 +01:00
Codebot e79aa61a9a Merge branch 'next' into agpl_next 2022-05-15 21:14:43 +00:00
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
2022-05-11 18:19:29 +01:00
Pedro Alvarez ece3c69d45 gnb,rrc: make it possible to use default configs when SRB configs are not present. 2022-05-11 18:19:29 +01:00
Codebot 4d2b5b8eda Adding AGPL copyright to new files 2022-04-29 07:28:44 +00:00
Codebot 9211ad7d51 Merge branch 'next' into agpl_next 2022-04-29 07:28:41 +00:00
Andre Puschmann 941a032ea1 ue,proc_ra: fix state to str converter
this array wasn't updated after the state enum has been updated
2022-04-28 15:42:08 +02:00
Andre Puschmann 70eaec21e2 all: fix uninitialized variables detected by coverity 2022-04-28 15:42:08 +02:00
yagoda de8b7d6c48 mac,phy: fixing pdcch order bug, do not process PDSCH if grant is pdcch order 2022-04-27 15:46:24 +02:00
Fabian Eckermann 6b0412f434 ue, config: Change default usim authentication algorithm to milenage. 2022-04-26 20:36:45 +02:00
Fabian Eckermann 628b1d42f6 ue, config: Add srate parameter to ue config file. 2022-04-26 20:36:45 +02:00
Codebot dd59dfac7d Adding AGPL copyright to new files 2022-04-26 08:28:18 +00:00
Codebot 123f766935 Merge branch 'next' into agpl_next 2022-04-26 08:28:16 +00:00
Andre Puschmann 5c59cbfa75 ue,rrc_nr: include RLC capabilities in NR cap info
this is needed to enable RLC UM DRBs with Amarisoft
2022-04-25 13:35:08 +02:00
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.
2022-04-25 10:07:41 +02:00
Bedran Karakoc 2cccad9d28 ue,rrc_nr: Added initial UE Capability Information 2022-04-25 10:07:41 +02:00
Fabian Eckermann 10c921573f Revert "Add NSSAI slice differentiator, currently only 0 supported"
This reverts commit 66ed8b9065.
2022-04-22 18:25:42 +02:00
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.
2022-04-20 14:57:02 +02:00
Andre Puschmann 2313365a41 ul_harq_nr,ue: fix format print 2022-04-20 14:57:02 +02:00
Andre Puschmann b2e0481849 ue,mac,nr: fix another race in MAC 2022-04-20 14:57:02 +02:00
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.
2022-04-20 14:57:02 +02:00
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.
2022-04-17 21:01:10 +02:00
Ismael Gomez 1507eed79c srsue,mac: return temp-rnti for UL grants if availabl 2022-04-04 19:36:38 +02:00
Ismael Gomez 6ffa036b84 srsue,stack: initialize sdap pointers 2022-03-29 14:30:14 +02:00
Ismael Gomez a1905072b8 srsue,rrc_nr: check SDAP configuration before passing to SDAP module 2022-03-29 14:30:14 +02:00
Ismael Gomez f8c2fa05bf srsue,phy: support n_ta_offset parameter from sib1 2022-03-29 14:30:14 +02:00
Ismael Gomez edeb8e8f18 srsue,nr: add TA support from RAR and MAC CE 2022-03-29 14:30:14 +02:00
Ismael Gomez b3497c4a94 srsue,nr: decode SIB1 based on coreset0 configuration in MIB 2022-03-29 14:30:14 +02:00
Ismael Gomez bfe69deccc srsue, nr: Add SDAP to the UE. Supports only UL header 2022-03-29 14:30:14 +02:00
Ismael Gomez a4f26fa5d6 srsue,rrc: send precanned UECapabilityInformation 2022-03-29 14:30:14 +02:00
Ismael Gomez f83557b891 srsue,phy: use common pucch for msg3. Completed table for all pucch_common_idx values 2022-03-29 14:30:14 +02:00
Ismael Gomez 7bb6aa1f50 srsue,mac: do not add sbsr_ce on Msg3 2022-03-29 14:30:14 +02:00
Ismael Gomez 496b8e2748 srsue,mac: do not destroy active dl_harq_proc during a reconfiguration 2022-03-29 14:30:14 +02:00
Ismael Gomez 12435eae7d srsue,phy: avoid changing the sampling rate while sync thread is already receiving 2022-03-29 14:30:14 +02:00
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 2022-03-26 23:12:57 +01:00