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
lizhongxiao
OpenXG-RAN
Commits
8199a1e0
Commit
8199a1e0
authored
Aug 03, 2023
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes after merge with NR_SL_PSBCH_2
parent
7efe5880
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+5
-6
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+5
-4
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
8199a1e0
...
...
@@ -86,7 +86,6 @@ void fill_ul_config(fapi_nr_ul_config_request_t *ul_config, frame_t frame_tx, in
void
fill_scheduled_response
(
nr_scheduled_response_t
*
scheduled_response
,
fapi_nr_dl_config_request_t
*
dl_config
,
fapi_nr_ul_config_request_t
*
ul_config
,
sl_nr_rx_config_request_t
*
sl_config
,
fapi_nr_tx_request_t
*
tx_request
,
sl_nr_rx_config_request_t
*
sl_rx_config
,
sl_nr_tx_config_request_t
*
sl_tx_config
,
...
...
@@ -975,7 +974,7 @@ void nr_ue_dl_scheduler(nr_downlink_indication_t *dl_info)
}
dcireq
.
dl_config_req
=
*
dl_config
;
fill_scheduled_response
(
&
scheduled_response
,
&
dcireq
.
dl_config_req
,
NULL
,
NULL
,
NULL
,
NULL
,
mod_id
,
cc_id
,
rx_frame
,
rx_slot
,
dl_info
->
phy_data
);
fill_scheduled_response
(
&
scheduled_response
,
&
dcireq
.
dl_config_req
,
NULL
,
NULL
,
NULL
,
NULL
,
mod_id
,
cc_id
,
rx_frame
,
rx_slot
,
dl_info
->
phy_data
);
if
(
mac
->
if_module
!=
NULL
&&
mac
->
if_module
->
scheduled_response
!=
NULL
)
{
LOG_D
(
NR_MAC
,
"1# scheduled_response transmitted, %d, %d
\n
"
,
rx_frame
,
rx_slot
);
mac
->
if_module
->
scheduled_response
(
&
scheduled_response
);
...
...
@@ -1084,7 +1083,7 @@ void nr_ue_ul_scheduler(nr_uplink_indication_t *ul_info)
}
}
pthread_mutex_unlock
(
&
ul_config
->
mutex_ul_config
);
// avoid double lock
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
&
tx_req
,
NULL
,
NULL
,
mod_id
,
cc_id
,
frame_tx
,
slot_tx
,
ul_info
->
phy_data
);
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
&
tx_req
,
NULL
,
NULL
,
mod_id
,
cc_id
,
frame_tx
,
slot_tx
,
ul_info
->
phy_data
);
if
(
mac
->
if_module
!=
NULL
&&
mac
->
if_module
->
scheduled_response
!=
NULL
){
LOG_D
(
NR_MAC
,
"3# scheduled_response transmitted,%d, %d
\n
"
,
frame_tx
,
slot_tx
);
mac
->
if_module
->
scheduled_response
(
&
scheduled_response
);
...
...
@@ -2195,7 +2194,7 @@ void nr_ue_pucch_scheduler(module_id_t module_idP, frame_t frameP, int slotP, vo
&
pucch
[
j
],
pucch_pdu
);
nr_scheduled_response_t
scheduled_response
;
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
NULL
,
NULL
,
NULL
,
module_idP
,
0
/*TBR fix*/
,
frameP
,
slotP
,
phy_data
);
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
NULL
,
NULL
,
NULL
,
module_idP
,
0
/*TBR fix*/
,
frameP
,
slotP
,
phy_data
);
if
(
mac
->
if_module
!=
NULL
&&
mac
->
if_module
->
scheduled_response
!=
NULL
)
mac
->
if_module
->
scheduled_response
(
&
scheduled_response
);
if
(
mac
->
state
==
UE_WAIT_TX_ACK_MSG4
)
...
...
@@ -2644,7 +2643,7 @@ static void nr_ue_prach_scheduler(module_id_t module_idP, frame_t frameP, sub_fr
prach_config_pdu
->
prach_tx_power
=
get_prach_tx_power
(
module_idP
);
set_ra_rnti
(
mac
,
prach_config_pdu
);
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
NULL
,
NULL
,
NULL
,
module_idP
,
0
/*TBR fix*/
,
frameP
,
slotP
,
NULL
);
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
ul_config
,
NULL
,
NULL
,
NULL
,
module_idP
,
0
/*TBR fix*/
,
frameP
,
slotP
,
NULL
);
if
(
mac
->
if_module
!=
NULL
&&
mac
->
if_module
->
scheduled_response
!=
NULL
)
mac
->
if_module
->
scheduled_response
(
&
scheduled_response
);
...
...
@@ -3398,7 +3397,7 @@ void nr_ue_sidelink_scheduler(nr_sidelink_indication_t *sl_ind) {
}
if
(
tti_action
==
SL_NR_CONFIG_TYPE_RX_PSBCH
)
{
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
NULL
,
NULL
,
&
rx_config
,
NULL
,
mod_id
,
0
,
frame
,
slot
,
sl_ind
->
phy_data
);
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
NULL
,
NULL
,
&
rx_config
,
NULL
,
mod_id
,
0
,
frame
,
slot
,
sl_ind
->
phy_data
);
}
if
(
tti_action
==
SL_NR_CONFIG_TYPE_TX_PSBCH
)
{
fill_scheduled_response
(
&
scheduled_response
,
NULL
,
NULL
,
NULL
,
NULL
,
&
tx_config
,
mod_id
,
0
,
frame
,
slot
,
sl_ind
->
phy_data
);
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
8199a1e0
...
...
@@ -1299,7 +1299,7 @@ int nr_ue_dcireq(nr_dcireq_t *dcireq) {
return
0
;
}
/*
int nr_ue_scireq(nr_scireq_t *scireq) {
sl_nr_rx_config_request_t *sl_config = &scireq->sl_config_req;
...
...
@@ -1312,9 +1312,10 @@ int nr_ue_scireq(nr_scireq_t *scireq) {
return 0;
}
*/
int
nr_ue_sl_indication
(
nr_sidelink_indication_t
*
sl_info
)
/*
int nr_ue_sl_indication
_rk
(nr_sidelink_indication_t *sl_info)
{
pthread_mutex_lock(&mac_IF_mutex);
uint32_t ret_mask = 0x0;
...
...
@@ -1375,7 +1376,7 @@ int nr_ue_sl_indication(nr_sidelink_indication_t *sl_info)
pthread_mutex_unlock(&mac_IF_mutex);
return ret_mask;
}
*/
void
RCconfig_nr_ue_macrlc
(
void
)
{
int
j
;
paramdef_t
MACRLC_Params
[]
=
MACRLCPARAMS_DESC
;
...
...
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