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
常顺宇
OpenXG-RAN
Commits
f34c9131
Commit
f34c9131
authored
Jul 13, 2021
by
Abhijith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed SA mode Error
parent
1a089a0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+2
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
+2
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+2
-2
No files found.
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
f34c9131
...
...
@@ -989,7 +989,7 @@ uint8_t get_downlink_ack(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_t
int
V_DAI_m_DL
=
0
;
NR_UE_MAC_INST_t
*
mac
=
get_mac_inst
(
0
);
NR_BWP_Id_t
dl_bwp_id
=
get_softmodem_params
()
->
sa
?
0
:
mac
->
DL_BWP_Id
;
//SA uses initial BWP
if
(
mac
->
DLbwp
[
dl_bwp_id
]
==
NULL
)
return
0
;
if
(
mac
->
DLbwp
[
dl_bwp_id
]
&&
mac
->
DLbwp
[
dl_bwp_id
]
->
bwp_Dedicated
&&
...
...
@@ -1375,7 +1375,7 @@ boolean_t select_pucch_resource(PHY_VARS_NR_UE *ue, NR_UE_MAC_INST_t *mac, uint8
int
find_pucch_resource_set
(
NR_UE_MAC_INST_t
*
mac
,
uint8_t
gNB_id
,
int
uci_size
)
{
int
pucch_resource_set_id
=
0
;
NR_BWP_Id_t
bwp_id
=
mac
->
DL_BWP_Id
;
NR_BWP_Id_t
bwp_id
=
get_softmodem_params
()
->
sa
?
0
:
mac
->
DL_BWP_Id
;
//SA uses initial BWP
//long *pucch_max_pl_bits = NULL;
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
View file @
f34c9131
...
...
@@ -244,7 +244,8 @@ void ue_dci_configuration(NR_UE_MAC_INST_t *mac, fapi_nr_dl_config_request_t *dl
RA_config_t
*
ra
=
&
mac
->
ra
;
int
ss_id
;
uint8_t
bwp_id
=
(
mac
->
cg
)
?
mac
->
DL_BWP_Id
:
0
,
coreset_id
=
(
mac
->
cg
)
?
1
:
0
;
NR_BWP_Id_t
bwp_id
=
get_softmodem_params
()
->
sa
?
0
:
((
mac
->
cg
)
?
mac
->
DL_BWP_Id
:
0
)
;
//SA uses initial BWP
uint8_t
coreset_id
=
(
mac
->
cg
)
?
1
:
0
;
//NR_ServingCellConfig_t *scd = mac->scg->spCellConfig->spCellConfigDedicated;
NR_BWP_Downlink_t
*
bwp
=
(
mac
->
cg
)
?
mac
->
DLbwp
[
bwp_id
]
:
NULL
;
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
f34c9131
...
...
@@ -136,7 +136,7 @@ long get_k2(NR_UE_MAC_INST_t *mac, uint8_t time_domain_ind) {
*/
fapi_nr_ul_config_request_t
*
get_ul_config_request
(
NR_UE_MAC_INST_t
*
mac
,
int
slot
)
{
NR_BWP_Id_t
ul_bwp_id
=
mac
->
UL_BWP_Id
;
NR_BWP_Id_t
ul_bwp_id
=
get_softmodem_params
()
->
sa
?
0
:
mac
->
UL_BWP_Id
;
//SA uses initial BWP
NR_TDD_UL_DL_ConfigCommon_t
*
tdd_config
=
mac
->
scc
==
NULL
?
mac
->
scc_SIB
->
tdd_UL_DL_ConfigurationCommon
:
mac
->
scc
->
tdd_UL_DL_ConfigurationCommon
;
//Check if request to access ul_config is for a UL slot
...
...
@@ -306,7 +306,7 @@ void ul_ports_config(NR_UE_MAC_INST_t * mac, nfapi_nr_ue_pusch_pdu_t *pusch_conf
/* ANTENNA_PORTS */
uint8_t
rank
=
0
;
// We need to initialize rank FIXME!!!
NR_BWP_Id_t
ul_bwp_id
=
mac
->
UL_BWP_Id
;
NR_BWP_Id_t
ul_bwp_id
=
get_softmodem_params
()
->
sa
?
0
:
mac
->
UL_BWP_Id
;
//SA uses initial BWP
NR_ServingCellConfigCommon_t
*
scc
=
mac
->
scc
;
NR_PUSCH_Config_t
*
pusch_Config
=
mac
->
ULbwp
[
ul_bwp_id
]
->
bwp_Dedicated
->
pusch_Config
->
choice
.
setup
;
...
...
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