Robert Schmidt
b08ce59bc2
Pass assoc_id to RRC and use when sending E1AP messages
2023-10-25 20:22:32 +02:00
Robert Schmidt
7d37143bac
Read and forward NSSAI in E1AP Setup Request
2023-10-25 20:22:32 +02:00
Robert Schmidt
b26dcc1ee5
Store E1 Setup Request at RRC
2023-10-25 20:22:32 +02:00
Robert Schmidt
23eaea4b8d
Move CU-UP related processing to separate file
...
A later commit will introduce an RB tree to manage multiple CU-UPs. The
RB tree implementation relies on some macros that generate RB tree
functions. Functions using the RB tree implementation will be grouped in
this file.
2023-10-25 20:22:32 +02:00
Robert Schmidt
f721b13982
Fix: E1 PDU Session has NSSAI, not only SST
2023-10-25 20:22:32 +02:00
Robert Schmidt
c3927fa6b7
Fix bug: correct PLMN in check in E1AP Setup Req handler
2023-10-25 20:22:32 +02:00
Robert Schmidt
c3f19a4ead
Move "UM on default DRB" param to RRC config, make it bool
2023-10-25 20:22:31 +02:00
Robert Schmidt
d58ebfcaab
Remove unused RRC variables
2023-10-25 20:22:31 +02:00
Robert Schmidt
e49608339a
Add TODO regarding E1 & reestablishment
...
For the reestablishment, we need to tell the PDCP it needs to reset the
SN counters. This does not work over E1; add a TODO in the code.
2023-10-25 20:22:31 +02:00
Robert Schmidt
4852354dac
Correct banner mail
2023-10-25 20:22:31 +02:00
Robert Schmidt
91a30e9a2a
Correct return type of do_RRCSetupRequest()
2023-10-10 15:40:26 +02:00
Robert Schmidt
7157e7fd9a
Remove unused fields of NR_RRC_MAC_CCCH_DATA_IND message
2023-10-10 15:40:26 +02:00
francescomani
9189129985
Use SRB0 at UE
...
- Use SRB0 TM entity at UE for Msg.3/RRC Setup Request
- Msg3 data request sent upon reception of Msg2, then we get data from
rlc when needed
2023-10-10 15:40:26 +02:00
Robert Schmidt
653e66594d
Merge remote-tracking branch 'origin/f1ap-msg-correction' into integration_2023_w40
2023-10-08 14:56:09 +02:00
Robert Schmidt
c3df9c277f
Remove warning about new CellGroupConfig
...
It is *normal* to receive new CellGroupConfigs from the DU, hence a
warning is not warranted.
2023-10-08 12:28:30 +02:00
Robert Schmidt
d6285354e4
Properly formulate assert message
2023-10-04 14:30:27 +02:00
Robert Schmidt
f3910e7707
MeasConfig: give SSB ARFCN, not Point A
...
The UE should measure on the SSB, otherwise it does not see anything.
Hence, this commit fixes the meas-config to request the UE to measure
on the right frequency.
2023-10-03 11:19:09 +02:00
Robert Schmidt
6a7d7e1844
Telnet module to manually/release DRBs of UE
2023-10-02 14:57:03 +02:00
Robert Schmidt
203df298a8
Provide possibility to release DRBs in RRC
...
- Currently no fields to store DRB release: need persist in ASN
structure
- This will be revisited once there is E1 bearer release release
2023-10-02 14:57:03 +02:00
Robert Schmidt
dc64ac3ab3
Rename nr_rlc_release_entity() for consistency
...
Most functions start with nr_rlc_*(), so do the same for release
2023-10-02 14:57:03 +02:00
Robert Schmidt
51862543e4
Rename to nr_pdcp_release_{d,s}rb() for consistency
...
Most functions start with nr_pdcp_*(), so do the same for release.
2023-10-02 14:57:03 +02:00
Robert Schmidt
6a076c8490
F1 UE Context Modif Req: Implement DRB Release
...
- Add necessary fields to F1 message
- Add F1AP encoding/decoding of UE Ctxt Modif Req DRB Release
2023-10-02 14:57:03 +02:00
Robert Schmidt
f5cc51b4a8
Merge remote-tracking branch 'origin/NR_UE_RRC_manage_RLC_PDCP' into integration_2023_w38
2023-09-24 17:42:58 +02:00
francescomani
cf1baafd75
fixing release according to review
2023-09-22 11:52:24 +02:00
francescomani
e7c626a79e
release RB entities
2023-09-22 11:40:49 +02:00
francescomani
18892963a9
cleanup and fixes
2023-09-22 11:40:49 +02:00
francescomani
3d824e3958
handling release of RLC entity
2023-09-22 11:40:49 +02:00
francescomani
f8464b9e91
MAC configuration of logical channel identities
2023-09-22 11:40:49 +02:00
francescomani
0982bf2683
correctly setting SRB IDs when calling PDCP and code refactoring
2023-09-22 11:40:49 +02:00
francescomani
53348bd41d
improving DRB management at RRC UE
2023-09-22 11:40:49 +02:00
francescomani
b0b57402f3
managing RLC bearer configuration at RRC UE
2023-09-22 11:40:49 +02:00
francescomani
d8cb2491bd
improve handling of SRBs at RRC UE
2023-09-22 11:40:49 +02:00
Robert Schmidt
3f46a71157
SCTP assoc_id: Make it sctp_assoc_t, project-wide
2023-09-22 08:22:15 +02:00
Robert Schmidt
f5c90ead7e
Free DU at CU on lost connection, store assoc ID
...
- store the assoc ID of a UE at the RRC
- if F1 receives an SCTP shutdown, it removes the endpoint
- F1 will also send an "F1 Lost Connection" message to the RRC
- it is not yet possible to reconnect a DU after it had already been
connected at the CU, since the CU F1AP task will try to rebind GTP,
which fails
2023-09-22 08:22:15 +02:00
Robert Schmidt
62fd56f904
DCCH free memory
2023-09-22 08:22:15 +02:00
Robert Schmidt
567ab39153
Free RRC UE data
2023-09-22 08:22:15 +02:00
Robert Schmidt
78290f9127
Fix memory leak in rrc_gNB_decode_dcch()
...
- Free the memory
- for NGAP NAS UL and NAS First request, allocate memory to avoid
use-after-free errors
2023-09-22 08:22:15 +02:00
Robert Schmidt
6f8a222698
Free default MeasConfig
2023-09-22 08:22:15 +02:00
Robert Schmidt
1a09c6eeb0
Fix memory leak in nr_rrc_gNB_decode_ccch()
2023-09-22 08:22:15 +02:00
Robert Schmidt
885a029abc
Fix memory leaks in do_NR_DLInformationTransfer()
2023-09-22 08:22:15 +02:00
Robert Schmidt
a4c75620ee
Fix memory leaks in do_NR_RRCRelease()
2023-09-22 08:22:15 +02:00
Robert Schmidt
a3382f8faa
Fix memory leaks in do_RRCSetup()
2023-09-22 08:22:15 +02:00
Robert Schmidt
1b171e798d
Fix memory leaks in do_RRCReconfiguration()
2023-09-22 08:22:15 +02:00
Robert Schmidt
c325c6a232
Correctly free memory in do_NR_SA_UECapabilityEnquiry()
2023-09-22 08:22:15 +02:00
Robert Schmidt
c69e8b6895
Clean up do_RRCReconfiguration()
2023-09-22 08:22:15 +02:00
Robert Schmidt
3982cc2e23
Forward UE capabilities to DU and use for CellGroupConfig
...
- Forward UE capabilities in F1 handlers
- Store at MAC
- Update CellGroupConfig with UE Capabilities of the UE
2023-09-22 08:22:15 +02:00
Robert Schmidt
7e2487c294
Handle CellGroupConfig completely at MAC
...
- MAC creates CellGroupConfig and sends to RRC
- the RRC does not manually update the CellGroupConfig
- MAC handles the RRC processing timer
In this commit, any updates to the CellGroupConfig previously done at
the RRC don't work. In other words, MIMO etc don't work; this is
implemented in the next commit.
Note that the change to take out spCellConfig during reestablishment is
because after reestablishment, as per spec (38.331 5.3.7.2), the UE
should drop the spCellConfig, which we generate by default on the first
UE connection.
Furthermore, add a new variable apply_cellgroup to signal if, after RRC
processing timer, we wish to apply the CellGroup. In some situations,
e.g., Msg.4 ack, we do not want to apply the CellGroup, because for
instance in reestablishment, we await for a reconfiguration of cellgroup
that would be triggered too early.
2023-09-22 08:22:15 +02:00
Robert Schmidt
18db5f68ac
Put PLMN/TAC/CellID into SIB1, correct CellIdentity encoding
2023-09-22 08:22:15 +02:00
Robert Schmidt
c930563929
Move radio configuration parameters to MAC, SIB1 not initialized!
...
!SIB1 is not correctly filled! This commit does not work with COTS UEs!
The next commit fixes this.
- Move radio config (e.g., minRXTXTIME, SIB1 TDA, do_SRS, etc) down to
MAC.
- Some parameters in MAC are redundant: delete them.
- Remove call to nr_mac_config_scc() from RRC and simulators, the MAC
initialization routine calls it implicitly
2023-09-22 08:22:15 +02:00
Robert Schmidt
a62857a74d
Compute SSB ARFCN to repair reestablishment
2023-09-22 08:22:15 +02:00