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
efc797f3
Commit
efc797f3
authored
Nov 17, 2021
by
Deokseong "David" Kim
Committed by
Melissa
Nov 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrated ra procedure for both nsa and sa.
parent
afeb5f4d
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
49 additions
and
211 deletions
+49
-211
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+2
-0
executables/main-fs6.c
executables/main-fs6.c
+4
-1
executables/nr-ue.c
executables/nr-ue.c
+7
-15
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+0
-1
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/mac_proto.h
+0
-10
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+33
-181
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+1
-1
openair3/NAS/UE/nas_ue_task.c
openair3/NAS/UE/nas_ue_task.c
+2
-0
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+0
-1
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+0
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
efc797f3
...
@@ -2891,6 +2891,7 @@ add_executable(ocp-enb
...
@@ -2891,6 +2891,7 @@ add_executable(ocp-enb
${
OPENAIR_DIR
}
/common/utils/system.c
${
OPENAIR_DIR
}
/common/utils/system.c
${
OPENAIR_DIR
}
/common/utils/lte/ue_power.c
${
OPENAIR_DIR
}
/common/utils/lte/ue_power.c
${
OPENAIR_DIR
}
/common/utils/lte/prach_utils.c
${
OPENAIR_DIR
}
/common/utils/lte/prach_utils.c
${
PHY_INTERFACE_DIR
}
/queue.c
${
XFORMSINTERFACE_SOURCE
}
${
XFORMSINTERFACE_SOURCE
}
${
T_SOURCE
}
${
T_SOURCE
}
${
CONFIG_SOURCES
}
${
CONFIG_SOURCES
}
...
@@ -3074,6 +3075,7 @@ add_executable(ocp-gnb
...
@@ -3074,6 +3075,7 @@ add_executable(ocp-gnb
${
OPENAIR_DIR
}
/common/utils/nr/nr_common.c
${
OPENAIR_DIR
}
/common/utils/nr/nr_common.c
${
OPENAIR_DIR
}
/common/utils/utils.c
${
OPENAIR_DIR
}
/common/utils/utils.c
${
OPENAIR_DIR
}
/common/utils/system.c
${
OPENAIR_DIR
}
/common/utils/system.c
${
PHY_INTERFACE_DIR
}
/queue.c
${
XFORMS_SOURCE_NR
}
${
XFORMS_SOURCE_NR
}
${
T_SOURCE
}
${
T_SOURCE
}
${
CONFIG_SOURCES
}
${
CONFIG_SOURCES
}
...
...
executables/main-fs6.c
View file @
efc797f3
...
@@ -553,7 +553,10 @@ void fill_rx_indication_from_split(uint8_t *bufferZone, PHY_VARS_eNB *eNB,int UE
...
@@ -553,7 +553,10 @@ void fill_rx_indication_from_split(uint8_t *bufferZone, PHY_VARS_eNB *eNB,int UE
pdu
->
rx_indication_rel8
.
tl
.
tag
=
NFAPI_RX_INDICATION_REL8_TAG
;
pdu
->
rx_indication_rel8
.
tl
.
tag
=
NFAPI_RX_INDICATION_REL8_TAG
;
pdu
->
rx_indication_rel8
.
length
=
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
TBS
>>
3
;
pdu
->
rx_indication_rel8
.
length
=
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
TBS
>>
3
;
pdu
->
rx_indication_rel8
.
offset
=
1
;
// DJP - I dont understand - but broken unless 1 ???? 0; // filled in at the end of the UL_INFO formation
pdu
->
rx_indication_rel8
.
offset
=
1
;
// DJP - I dont understand - but broken unless 1 ???? 0; // filled in at the end of the UL_INFO formation
pdu
->
data
=
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
decodedBytes
;
AssertFatal
(
pdu
->
rx_indication_rel8
.
length
<=
NFAPI_RX_IND_DATA_MAX
);
memcpy
(
pdu
->
rx_ind_data
,
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
decodedBytes
,
pdu
->
rx_indication_rel8
.
length
);
// estimate timing advance for MAC
// estimate timing advance for MAC
timing_advance_update
=
ul_propa
[
UE_id
].
ta
;
timing_advance_update
=
ul_propa
[
UE_id
].
ta
;
...
...
executables/nr-ue.c
View file @
efc797f3
...
@@ -354,15 +354,7 @@ static void check_nr_prach(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_inf
...
@@ -354,15 +354,7 @@ static void check_nr_prach(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_inf
AssertFatal
(
ul_config
->
number_pdus
<
sizeof
(
ul_config
->
ul_config_list
)
/
sizeof
(
ul_config
->
ul_config_list
[
0
]),
AssertFatal
(
ul_config
->
number_pdus
<
sizeof
(
ul_config
->
ul_config_list
)
/
sizeof
(
ul_config
->
ul_config_list
[
0
]),
"Number of PDUS in ul_config = %d > ul_config_list num elements"
,
ul_config
->
number_pdus
);
"Number of PDUS in ul_config = %d > ul_config_list num elements"
,
ul_config
->
number_pdus
);
fapi_nr_ul_config_prach_pdu
*
prach_pdu
=
&
ul_config
->
ul_config_list
[
ul_config
->
number_pdus
].
prach_config_pdu
;
fapi_nr_ul_config_prach_pdu
*
prach_pdu
=
&
ul_config
->
ul_config_list
[
ul_config
->
number_pdus
].
prach_config_pdu
;
uint8_t
nr_prach
=
get_softmodem_params
()
->
nsa
?
uint8_t
nr_prach
=
nr_ue_get_rach
(
prach_resources
,
nr_ue_get_rach_nsa
(
prach_resources
,
prach_pdu
,
ul_info
->
module_id
,
ul_info
->
cc_id
,
ul_info
->
frame_tx
,
ul_info
->
gNB_index
,
ul_info
->
slot_tx
)
:
nr_ue_get_rach
(
prach_resources
,
prach_pdu
,
prach_pdu
,
ul_info
->
module_id
,
ul_info
->
module_id
,
ul_info
->
cc_id
,
ul_info
->
cc_id
,
...
...
executables/nr-uesoftmodem.c
View file @
efc797f3
...
@@ -155,7 +155,6 @@ char uecap_xer[1024];
...
@@ -155,7 +155,6 @@ char uecap_xer[1024];
*/
*/
uint8_t
abstraction_flag
=
0
;
uint8_t
abstraction_flag
=
0
;
uint16_t
ue_idx_standalone
=
0xFFFF
;
/*---------------------BMC: timespec helpers -----------------------------*/
/*---------------------BMC: timespec helpers -----------------------------*/
...
...
openair2/LAYER2/NR_MAC_UE/mac_proto.h
View file @
efc797f3
...
@@ -415,16 +415,6 @@ uint8_t nr_ue_get_rach(NR_PRACH_RESOURCES_t *prach_resources,
...
@@ -415,16 +415,6 @@ uint8_t nr_ue_get_rach(NR_PRACH_RESOURCES_t *prach_resources,
uint8_t
gNB_id
,
uint8_t
gNB_id
,
int
nr_slot_tx
);
int
nr_slot_tx
);
uint8_t
nr_ue_get_rach_nsa
(
NR_PRACH_RESOURCES_t
*
prach_resources
,
fapi_nr_ul_config_prach_pdu
*
prach_pdu
,
module_id_t
mod_id
,
int
CC_id
,
frame_t
frame
,
uint8_t
gNB_id
,
int
nr_slot_tx
);
/* \brief Function implementing the routine for the selection of Random Access resources (5.1.2 TS 38.321).
/* \brief Function implementing the routine for the selection of Random Access resources (5.1.2 TS 38.321).
@param module_idP Index of UE instance
@param module_idP Index of UE instance
@param CC_id Component Carrier Index
@param CC_id Component Carrier Index
...
...
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
efc797f3
This diff is collapsed.
Click to expand it.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
efc797f3
...
@@ -2383,7 +2383,7 @@ uint64_t pdcp_module_init( uint64_t pdcp_optmask, int id) {
...
@@ -2383,7 +2383,7 @@ uint64_t pdcp_module_init( uint64_t pdcp_optmask, int id) {
}
else
{
}
else
{
if
(
pdcp_optmask
&
ENB_NAS_USE_TUN_W_MBMS_BIT
){
if
(
pdcp_optmask
&
ENB_NAS_USE_TUN_W_MBMS_BIT
){
LOG_W
(
PDCP
,
"ENB pdcp will use tun interface for MBMS
\n
"
);
LOG_W
(
PDCP
,
"ENB pdcp will use tun interface for MBMS
\n
"
);
netlink_init_mbms_tun
(
"enm"
,
1
);
netlink_init_mbms_tun
(
"enm"
,
0
);
nas_config_mbms_s1
(
1
,
2
,
1
,
"enm"
);
nas_config_mbms_s1
(
1
,
2
,
1
,
"enm"
);
}
else
}
else
LOG_E
(
PDCP
,
"ENB pdcp will not use tun interface
\n
"
);
LOG_E
(
PDCP
,
"ENB pdcp will not use tun interface
\n
"
);
...
...
openair3/NAS/UE/nas_ue_task.c
View file @
efc797f3
...
@@ -42,6 +42,8 @@
...
@@ -42,6 +42,8 @@
extern
unsigned
char
NB_eNB_INST
;
extern
unsigned
char
NB_eNB_INST
;
extern
uint16_t
NB_UE_INST
;
extern
uint16_t
NB_UE_INST
;
uint16_t
ue_idx_standalone
=
0xFFFF
;
char
*
make_port_str_from_ueid
(
const
char
*
base_port_str
,
int
ueid
);
char
*
make_port_str_from_ueid
(
const
char
*
base_port_str
,
int
ueid
);
static
int
nas_ue_process_events
(
nas_user_container_t
*
users
,
struct
epoll_event
*
events
,
int
nb_events
)
static
int
nas_ue_process_events
(
nas_user_container_t
*
users
,
struct
epoll_event
*
events
,
int
nb_events
)
...
...
targets/RT/USER/lte-softmodem.c
View file @
efc797f3
...
@@ -181,7 +181,6 @@ eth_params_t *eth_params;
...
@@ -181,7 +181,6 @@ eth_params_t *eth_params;
double
cpuf
;
double
cpuf
;
int
oaisim_flag
=
0
;
int
oaisim_flag
=
0
;
uint16_t
ue_idx_standalone
=
0xFFFF
;
uint8_t
proto_agent_flag
=
0
;
uint8_t
proto_agent_flag
=
0
;
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
efc797f3
...
@@ -276,7 +276,6 @@ void exit_function(const char *file, const char *function, const int line, const
...
@@ -276,7 +276,6 @@ void exit_function(const char *file, const char *function, const int line, const
}
}
extern
int16_t
dlsch_demod_shift
;
extern
int16_t
dlsch_demod_shift
;
uint16_t
ue_idx_standalone
=
0xFFFF
;
uint16_t
node_number
;
uint16_t
node_number
;
static
void
get_options
(
void
)
{
static
void
get_options
(
void
)
{
int
CC_id
=
0
;
int
CC_id
=
0
;
...
...
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