Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
ef526692
Commit
ef526692
authored
Aug 11, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/fix_sdap' into integration_2022_wk32
parents
44f363c6
17aef213
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
32 additions
and
13 deletions
+32
-13
ci-scripts/conf_files/gnb.sa.band66.fr1.106PRB.usrpn300.conf
ci-scripts/conf_files/gnb.sa.band66.fr1.106PRB.usrpn300.conf
+1
-0
ci-scripts/xml_files/container_5g_f1_rfsim.xml
ci-scripts/xml_files/container_5g_f1_rfsim.xml
+1
-1
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
+1
-1
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
+1
-1
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
+1
-1
ci-scripts/xml_files/container_5g_rfsim.xml
ci-scripts/xml_files/container_5g_rfsim.xml
+1
-1
ci-scripts/xml_files/container_5g_rfsim_down.xml
ci-scripts/xml_files/container_5g_rfsim_down.xml
+1
-1
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+7
-5
openair2/SDAP/nr_sdap/nr_sdap.c
openair2/SDAP/nr_sdap/nr_sdap.c
+9
-0
openair2/SDAP/nr_sdap/nr_sdap.h
openair2/SDAP/nr_sdap/nr_sdap.h
+2
-0
openair3/NAS/NR_UE/nr_nas_msg_sim.c
openair3/NAS/NR_UE/nr_nas_msg_sim.c
+7
-2
No files found.
ci-scripts/conf_files/gnb.sa.band66.fr1.106PRB.usrpn300.conf
View file @
ef526692
...
...
@@ -33,6 +33,7 @@ gNBs =
//////////
Physical
parameters
:
min_rxtxtime
=
6
;
enable_sdap
=
1
;
pdcch_ConfigSIB1
= (
{
...
...
ci-scripts/xml_files/container_5g_f1_rfsim.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-f1
</htmlTabRef>
<htmlTabName>
Testing 5G NR RF sim in containers -
CU-DU F1 split
</htmlTabName>
<htmlTabName>
CU-DU F1 split
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
100021
...
...
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-down-f1
</htmlTabRef>
<htmlTabName>
CleanUp
5G RF -
CU-DU F1 split
</htmlTabName>
<htmlTabName>
CleanUp CU-DU F1 split
</htmlTabName>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
100022
...
...
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-fdd
</htmlTabRef>
<htmlTabName>
Testing 5G NR RF sim - Monolithic FDD gNB
</htmlTabName>
<htmlTabName>
Monolithic FDD gNB with SDAP
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
4
</repeatCount>
<TestCaseRequestedList>
...
...
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-fdd-down
</htmlTabRef>
<htmlTabName>
CleanUp
5G RF - Monolithic FDD gNB
</htmlTabName>
<htmlTabName>
CleanUp
Monolithic FDD gNB with SDAP
</htmlTabName>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
100012
...
...
ci-scripts/xml_files/container_5g_rfsim.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-tdd
</htmlTabRef>
<htmlTabName>
Testing 5G NR RF sim -
Monolithic TDD gNB
</htmlTabName>
<htmlTabName>
Monolithic TDD gNB
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
4
</repeatCount>
<TestCaseRequestedList>
...
...
ci-scripts/xml_files/container_5g_rfsim_down.xml
View file @
ef526692
...
...
@@ -22,7 +22,7 @@
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-down
</htmlTabRef>
<htmlTabName>
CleanUp
5G RF -
Monolithic TDD gNB
</htmlTabName>
<htmlTabName>
CleanUp Monolithic TDD gNB
</htmlTabName>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
100002
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
ef526692
...
...
@@ -484,12 +484,12 @@ static void *ue_tun_read_thread(void *_)
ctxt
.
rnti
=
rnti
;
bool
dc
=
SDAP_HDR_UL_DATA_PDU
;
uint8_t
qfi
=
7
;
int
pdusession_id
=
10
;
extern
uint8_t
nas_qfi
;
extern
uint8_t
nas_pduid
;
sdap_data_req
(
&
ctxt
,
SRB_FLAG_NO
,
rb_id
,
RLC_MUI_UNDEFINED
,
RLC_SDU_CONFIRM_NO
,
len
,
(
unsigned
char
*
)
rx_buf
,
PDCP_TRANSMISSION_MODE_DATA
,
NULL
,
NULL
,
qfi
,
dc
,
pdusession_
id
);
PDCP_TRANSMISSION_MODE_DATA
,
NULL
,
NULL
,
nas_qfi
,
dc
,
nas_pdu
id
);
}
return
NULL
;
...
...
@@ -591,8 +591,10 @@ uint64_t nr_pdcp_module_init(uint64_t _pdcp_optmask, int id)
int
num_if
=
(
NFAPI_MODE
==
NFAPI_UE_STUB_PNF
||
IS_SOFTMODEM_SIML1
||
NFAPI_MODE
==
NFAPI_MODE_STANDALONE_PNF
)
?
MAX_MOBILES_PER_ENB
:
1
;
netlink_init_tun
(
ifsuffix_ue
,
num_if
,
id
);
//Add --nr-ip-over-lte option check for next line
if
(
IS_SOFTMODEM_NOS1
)
nas_config
(
1
,
1
,
!
get_softmodem_params
()
->
nsa
?
2
:
3
,
ifsuffix_ue
);
if
(
IS_SOFTMODEM_NOS1
){
nas_config
(
1
,
1
,
!
get_softmodem_params
()
->
nsa
?
2
:
3
,
ifsuffix_ue
);
set_qfi_pduid
(
7
,
10
);
}
LOG_I
(
PDCP
,
"UE pdcp will use tun interface
\n
"
);
start_pdcp_tun_ue
();
}
else
if
(
ENB_NAS_USE_TUN
)
{
...
...
openair2/SDAP/nr_sdap/nr_sdap.c
View file @
ef526692
...
...
@@ -21,6 +21,9 @@
#include "nr_sdap.h"
uint8_t
nas_qfi
;
uint8_t
nas_pduid
;
bool
sdap_data_req
(
protocol_ctxt_t
*
ctxt_p
,
const
srb_flag_t
srb_flag
,
const
rb_id_t
rb_id
,
...
...
@@ -84,3 +87,9 @@ void sdap_data_ind(rb_id_t pdcp_entity,
buf
,
size
);
}
void
set_qfi_pduid
(
uint8_t
qfi
,
uint8_t
pduid
){
nas_qfi
=
qfi
;
nas_pduid
=
pduid
;
return
;
}
openair2/SDAP/nr_sdap/nr_sdap.h
View file @
ef526692
...
...
@@ -62,4 +62,6 @@ void sdap_data_ind(rb_id_t pdcp_entity,
int
size
);
void
set_qfi_pduid
(
uint8_t
qfi
,
uint8_t
pduid
);
#endif
openair3/NAS/NR_UE/nr_nas_msg_sim.c
View file @
ef526692
...
...
@@ -44,6 +44,7 @@
#include <openair3/NAS/COMMON/NR_NAS_defs.h>
#include <openair1/PHY/phy_extern_nr_ue.h>
#include <openair1/SIMULATION/ETH_TRANSPORT/proto.h>
#include "openair2/SDAP/nr_sdap/nr_sdap.h"
uint8_t
*
registration_request_buf
;
uint32_t
registration_request_len
;
...
...
@@ -915,7 +916,7 @@ void *nas_nrue_task(void *args_p)
payload_container
=
pdu_buffer
+
offset
;
}
offset
=
0
;
uint8_t
pdu_id
=
*
(
pdu_buffer
+
14
);
while
(
offset
<
payload_container_length
)
{
// Fixme: this is not good 'type' 0x29 searching in TLV like structure
// AND fix dirsty code copy hereafter of the same!!!
...
...
@@ -929,9 +930,13 @@ void *nas_nrue_task(void *args_p)
*
(
payload_container
+
offset
+
3
),
*
(
payload_container
+
offset
+
4
),
*
(
payload_container
+
offset
+
5
),
*
(
payload_container
+
offset
+
6
));
nas_config
(
1
,
third_octet
,
fourth_octet
,
"oaitun_ue"
);
break
;
}
}
if
(
*
(
payload_container
+
offset
)
==
0x79
)
{
uint8_t
qfi
=
*
(
payload_container
+
offset
+
3
);
set_qfi_pduid
(
qfi
,
pdu_id
);
break
;
}
offset
++
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment