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
wangwenhui
OpenXG-RAN
Commits
a964b894
Commit
a964b894
authored
Aug 10, 2018
by
Calvin HSU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE: rx_frame, rx_slot in nr-ue.c to be fill.
parent
4a60d91a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/mac_proto.h
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+4
-4
targets/RT/USER/nr-ue.c
targets/RT/USER/nr-ue.c
+2
-1
No files found.
openair2/LAYER2/NR_MAC_UE/mac_proto.h
View file @
a964b894
...
@@ -115,7 +115,7 @@ uint32_t ue_get_SR(module_id_t module_idP, int CC_id, frame_t frameP,
...
@@ -115,7 +115,7 @@ uint32_t ue_get_SR(module_id_t module_idP, int CC_id, frame_t frameP,
int8_t
nr_ue_process_dci
(
module_id_t
module_id
,
int
cc_id
,
uint8_t
gNB_index
,
fapi_nr_dci_pdu_rel15_t
*
dci
,
uint16_t
rnti
,
uint32_t
dci_type
);
int8_t
nr_ue_process_dci
(
module_id_t
module_id
,
int
cc_id
,
uint8_t
gNB_index
,
fapi_nr_dci_pdu_rel15_t
*
dci
,
uint16_t
rnti
,
uint32_t
dci_type
);
uint32_t
get_ssb_frame
(
void
);
uint32_t
get_ssb_frame
(
uint32_t
test
);
uint32_t
get_ssb_slot
(
uint32_t
ssb_index
);
uint32_t
get_ssb_slot
(
uint32_t
ssb_index
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
a964b894
...
@@ -446,8 +446,8 @@ int8_t nr_ue_decode_mib(
...
@@ -446,8 +446,8 @@ int8_t nr_ue_decode_mib(
// TODO: change to UE parameter, scs: 15KHz, slot duration: 1ms
// TODO: change to UE parameter, scs: 15KHz, slot duration: 1ms
uint32_t
get_ssb_frame
(){
uint32_t
get_ssb_frame
(
uint32_t
test
){
return
0
;
return
test
;
}
}
// Performs :
// Performs :
...
@@ -486,14 +486,14 @@ NR_UE_L2_STATE_t nr_ue_scheduler(
...
@@ -486,14 +486,14 @@ NR_UE_L2_STATE_t nr_ue_scheduler(
}
}
if
(
mac
->
type0_pdcch_ss_mux_pattern
==
2
){
if
(
mac
->
type0_pdcch_ss_mux_pattern
==
2
){
// 38.213 Table 13-13, 13-14
// 38.213 Table 13-13, 13-14
if
((
rx_frame
==
get_ssb_frame
())
&&
(
rx_slot
==
mac
->
type0_pdcch_ss_n_c
)){
if
((
rx_frame
==
get_ssb_frame
(
rx_frame
))
&&
(
rx_slot
==
mac
->
type0_pdcch_ss_n_c
)){
search_space_mask
=
search_space_mask
|
type0_pdcch
;
search_space_mask
=
search_space_mask
|
type0_pdcch
;
mac
->
type0_pdcch_consecutive_slots
=
mac
->
type0_pdcch_dci_config
.
duration
;
mac
->
type0_pdcch_consecutive_slots
=
mac
->
type0_pdcch_dci_config
.
duration
;
}
}
}
}
if
(
mac
->
type0_pdcch_ss_mux_pattern
==
3
){
if
(
mac
->
type0_pdcch_ss_mux_pattern
==
3
){
// 38.213 Table 13-15
// 38.213 Table 13-15
if
((
rx_frame
==
get_ssb_frame
())
&&
(
rx_slot
==
mac
->
type0_pdcch_ss_n_c
)){
if
((
rx_frame
==
get_ssb_frame
(
rx_frame
))
&&
(
rx_slot
==
mac
->
type0_pdcch_ss_n_c
)){
search_space_mask
=
search_space_mask
|
type0_pdcch
;
search_space_mask
=
search_space_mask
|
type0_pdcch
;
mac
->
type0_pdcch_consecutive_slots
=
mac
->
type0_pdcch_dci_config
.
duration
;
mac
->
type0_pdcch_consecutive_slots
=
mac
->
type0_pdcch_dci_config
.
duration
;
}
}
...
...
targets/RT/USER/nr-ue.c
View file @
a964b894
...
@@ -630,7 +630,8 @@ static void *UE_thread_rxn_txnp4(void *arg) {
...
@@ -630,7 +630,8 @@ static void *UE_thread_rxn_txnp4(void *arg) {
UE
->
ul_indication
.
module_id
=
0
;
UE
->
ul_indication
.
module_id
=
0
;
UE
->
ul_indication
.
gNB_index
=
0
;
UE
->
ul_indication
.
gNB_index
=
0
;
UE
->
ul_indication
.
cc_id
=
0
;
UE
->
ul_indication
.
cc_id
=
0
;
UE
->
ul_indication
.
slot
=
0
;
// to be fill
UE
->
ul_indication
.
frame
=
0
;
// to be fill
// [TODO] mapping right after NR initial sync
// [TODO] mapping right after NR initial sync
//UE->ul_indication.frame = ;
//UE->ul_indication.frame = ;
//UE->ul_indication.slot = ;
//UE->ul_indication.slot = ;
...
...
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