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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
bd1283e4
Commit
bd1283e4
authored
May 05, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix phy-simulators
parent
f59dcb9b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+0
-1
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-2
openair1/SIMULATION/NR_PHY/pucchsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
+2
-0
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+1
-1
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+1
-1
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
+4
-2
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
bd1283e4
...
@@ -174,7 +174,6 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
...
@@ -174,7 +174,6 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
pucch_GroupHopping_t
pucch_GroupHopping
=
pucch_pdu
->
group_hop_flag
+
(
pucch_pdu
->
sequence_hop_flag
<<
1
);
pucch_GroupHopping_t
pucch_GroupHopping
=
pucch_pdu
->
group_hop_flag
+
(
pucch_pdu
->
sequence_hop_flag
<<
1
);
AssertFatal
(
pucch_pdu
->
bit_len_harq
>
0
||
pucch_pdu
->
sr_flag
>
0
,
AssertFatal
(
pucch_pdu
->
bit_len_harq
>
0
||
pucch_pdu
->
sr_flag
>
0
,
"Either bit_len_harq (%d) or sr_flag (%d) must be > 0
\n
"
,
"Either bit_len_harq (%d) or sr_flag (%d) must be > 0
\n
"
,
pucch_pdu
->
bit_len_harq
,
pucch_pdu
->
sr_flag
);
pucch_pdu
->
bit_len_harq
,
pucch_pdu
->
sr_flag
);
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
bd1283e4
...
@@ -918,8 +918,7 @@ int main(int argc, char **argv)
...
@@ -918,8 +918,7 @@ int main(int argc, char **argv)
//Configure UE
//Configure UE
rrc
.
carrier
.
MIB
=
(
uint8_t
*
)
malloc
(
4
);
rrc
.
carrier
.
MIB
=
(
uint8_t
*
)
malloc
(
4
);
rrc
.
carrier
.
sizeof_MIB
=
do_MIB_NR
(
&
rrc
,
0
);
rrc
.
carrier
.
sizeof_MIB
=
do_MIB_NR
(
&
rrc
,
0
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
rrc
.
carrier
.
mib
.
message
.
choice
.
mib
,
NULL
,
NULL
,
secondaryCellGroup
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
rrc
.
carrier
.
mib
.
message
.
choice
.
mib
,
rrc
.
carrier
.
sib1
->
servingCellConfigCommon
,
UE_info
->
CellGroup
[
0
],
secondaryCellGroup
);
nr_dcireq_t
dcireq
;
nr_dcireq_t
dcireq
;
...
...
openair1/SIMULATION/NR_PHY/pucchsim.c
View file @
bd1283e4
...
@@ -551,6 +551,8 @@ int main(int argc, char **argv)
...
@@ -551,6 +551,8 @@ int main(int argc, char **argv)
pucch_pdu
.
initial_cyclic_shift
=
0
;
pucch_pdu
.
initial_cyclic_shift
=
0
;
pucch_pdu
.
start_symbol_index
=
startingSymbolIndex
;
pucch_pdu
.
start_symbol_index
=
startingSymbolIndex
;
pucch_pdu
.
prb_start
=
startingPRB
;
pucch_pdu
.
prb_start
=
startingPRB
;
pucch_pdu
.
bwp_start
=
0
;
pucch_pdu
.
freq_hop_flag
=
0
;
nr_decode_pucch0
(
gNB
,
nr_frame_tx
,
nr_slot_tx
,
&
uci_pdu
,
&
pucch_pdu
);
nr_decode_pucch0
(
gNB
,
nr_frame_tx
,
nr_slot_tx
,
&
uci_pdu
,
&
pucch_pdu
);
if
(
sr_flag
==
1
){
if
(
sr_flag
==
1
){
if
(
uci_pdu
.
sr
->
sr_indication
==
0
||
uci_pdu
.
sr
->
sr_confidence_level
==
1
)
if
(
uci_pdu
.
sr
->
sr_indication
==
0
||
uci_pdu
.
sr
->
sr_confidence_level
==
1
)
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
bd1283e4
...
@@ -757,7 +757,7 @@ int main(int argc, char **argv)
...
@@ -757,7 +757,7 @@ int main(int argc, char **argv)
rrc
.
carrier
.
MIB
=
(
uint8_t
*
)
malloc
(
4
);
rrc
.
carrier
.
MIB
=
(
uint8_t
*
)
malloc
(
4
);
rrc
.
carrier
.
sizeof_MIB
=
do_MIB_NR
(
&
rrc
,
0
);
rrc
.
carrier
.
sizeof_MIB
=
do_MIB_NR
(
&
rrc
,
0
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
rrc
.
carrier
.
mib
.
message
.
choice
.
mib
,
rrc
.
carrier
.
sib1
->
servingCellConfigCommon
,
secondaryCellGroup
,
secondaryCellGroup
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
rrc
.
carrier
.
mib
.
message
.
choice
.
mib
,
NULL
,
NULL
,
secondaryCellGroup
);
nr_ue_phy_config_request
(
&
UE_mac
->
phy_config
);
nr_ue_phy_config_request
(
&
UE_mac
->
phy_config
);
...
...
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
bd1283e4
...
@@ -717,7 +717,7 @@ int nr_rrc_mac_config_req_ue(
...
@@ -717,7 +717,7 @@ int nr_rrc_mac_config_req_ue(
mac
->
common_configuration_complete
=
1
;
mac
->
common_configuration_complete
=
1
;
}
}
if
(
scell_group_config
!=
NULL
){
if
(
scell_group_config
!=
NULL
){
mac
->
cg
=
cell_group_config
;
mac
->
cg
=
s
cell_group_config
;
mac
->
servCellIndex
=
*
scell_group_config
->
spCellConfig
->
servCellIndex
;
mac
->
servCellIndex
=
*
scell_group_config
->
spCellConfig
->
servCellIndex
;
config_control_ue
(
mac
);
config_control_ue
(
mac
);
if
(
scell_group_config
->
spCellConfig
->
reconfigurationWithSync
)
{
if
(
scell_group_config
->
spCellConfig
->
reconfigurationWithSync
)
{
...
...
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
View file @
bd1283e4
...
@@ -87,8 +87,10 @@ NR_UE_MAC_INST_t * nr_l2_init_ue(NR_UE_RRC_INST_t* rrc_inst)
...
@@ -87,8 +87,10 @@ NR_UE_MAC_INST_t * nr_l2_init_ue(NR_UE_RRC_INST_t* rrc_inst)
}
else
{
}
else
{
LOG_I
(
MAC
,
"Running without CellGroupConfig
\n
"
);
LOG_I
(
MAC
,
"Running without CellGroupConfig
\n
"
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
AssertFatal
(
rlc_module_init
(
0
)
==
0
,
"%s: Could not initialize RLC layer
\n
"
,
__FUNCTION__
);
if
(
get_softmodem_params
()
->
sa
==
1
)
{
}
AssertFatal
(
rlc_module_init
(
0
)
==
0
,
"%s: Could not initialize RLC layer
\n
"
,
__FUNCTION__
);
}
}
return
(
nr_ue_mac_inst
);
return
(
nr_ue_mac_inst
);
}
}
...
...
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