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
f406dd08
Commit
f406dd08
authored
Feb 16, 2024
by
mir
Committed by
Cedric Roux
Apr 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Second thread pool for rx-tx bug removed
parent
b21d1165
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
22 deletions
+3
-22
executables/nr-gnb.c
executables/nr-gnb.c
+1
-16
executables/nr-ue.c
executables/nr-ue.c
+1
-1
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-1
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-4
No files found.
executables/nr-gnb.c
View file @
f406dd08
...
...
@@ -173,12 +173,6 @@ static void tx_func(void *param)
/* this thread is done with the sched_info, decrease the reference counter */
LOG_D
(
NR_PHY
,
"Calling deref_sched_response for id %d (tx_func) in %d.%d
\n
"
,
info
->
sched_response_id
,
frame_tx
,
slot_tx
);
deref_sched_response
(
info
->
sched_response_id
);
//assert(info->elt->reponseFifo == &gNB->L1_tx_out);
if
(
info
->
elt
->
reponseFifo
)
pushNotifiedFIFO
(
info
->
elt
->
reponseFifo
,
info
->
elt
);
else
delNotifiedFIFO_elt
(
info
->
elt
);
}
...
...
@@ -290,12 +284,6 @@ void rx_func(void *param)
stop_meas
(
&
softmodem_stats_rxtx_sf
);
clock_gettime
(
CLOCK_MONOTONIC
,
&
info
->
gNB
->
rt_L1_profiling
.
return_L1_RX
[
rt_prof_idx
]);
//assert(info->elt->reponseFifo == &gNB->resp_L1);
if
(
info
->
elt
->
reponseFifo
)
pushNotifiedFIFO
(
info
->
elt
->
reponseFifo
,
info
->
elt
);
else
delNotifiedFIFO_elt
(
info
->
elt
);
}
static
size_t
dump_L1_meas_stats
(
PHY_VARS_gNB
*
gNB
,
RU_t
*
ru
,
char
*
output
,
size_t
outputlen
)
{
...
...
@@ -383,9 +371,6 @@ void init_gNB_Tpool(int inst) {
span_core_id_t
out
=
{.
cap
=
128
,
.
core_id
=
core_id
,
.
sz
=
0
};
parse_num_threads
(
get_softmodem_params
()
->
threadPoolConfig
,
&
out
);
init_task_manager
(
&
gNB
->
man
,
out
.
core_id
,
out
.
sz
);
// 2nd tpool needed to avoid current cycle and deadlock
int
lst_cores
[]
=
{
-
1
,
-
1
};
init_task_manager
(
&
gNB
->
man_rx_tx_ru
,
lst_cores
,
2
);
gNB_L1_proc_t
*
proc
=
&
gNB
->
proc
;
// PUSCH symbols per thread need to be calculated by how many threads we have
...
...
@@ -433,7 +418,7 @@ void term_gNB_Tpool(int inst) {
void
(
*
clean
)(
task_t
*
)
=
NULL
;
free_task_manager
(
&
gNB
->
man
,
clean
);
free_task_manager
(
&
gNB
->
man_rx_tx_ru
,
clean
);
gNB_L1_proc_t
*
proc
=
&
gNB
->
proc
;
if
(
!
get_softmodem_params
()
->
emulate_l1
)
...
...
executables/nr-ue.c
View file @
f406dd08
...
...
@@ -950,7 +950,7 @@ void *UE_thread(void *arg)
// or the computed value is 0 = no offset to do
// we store it to apply the drift compensation at beginning of next frame
shiftForNextFrame
=
ret
;
t
=
(
task_t
)
{.
func
=
UE_dl_processing
,
.
args
=
curMsgRx
};
t
ask_t
t
=
{.
func
=
UE_dl_processing
,
.
args
=
curMsgRx
};
async_task_manager
(
&
(
get_nrUE_params
()
->
man
),
t
);
// Start TX slot processing here. It runs in parallel with RX slot processing
...
...
openair1/PHY/defs_gNB.h
View file @
f406dd08
...
...
@@ -832,7 +832,6 @@ typedef struct processingData_L1tx {
int
num_ul_pdcch
;
/* a reference to the sched_response, to release it when not needed anymore */
int
sched_response_id
;
notifiedFIFO_elt_t
*
elt
;
}
processingData_L1tx_t
;
typedef
struct
processingData_L1rx
{
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
f406dd08
...
...
@@ -437,6 +437,7 @@ static int nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int
* measurement per processed TB.*/
if
(
gNB
->
max_nb_pusch
==
1
)
start_meas
(
&
gNB
->
ulsch_decoding_stats
);
int
const
nbDecode
=
nr_ulsch_decoding
(
gNB
,
ULSCH_id
,
gNB
->
pusch_vars
[
ULSCH_id
].
llr
,
frame_parms
,
pusch_pdu
,
frame_rx
,
slot_rx
,
harq_pid
,
G
,
t_info
);
return
nbDecode
;
}
...
...
@@ -712,10 +713,6 @@ int check_srs_pdu(const nfapi_nr_srs_pdu_t *srs_pdu, nfapi_nr_srs_pdu_t *saved_s
return
0
;
}
static
int
cnt
=
0
;
int
phy_procedures_gNB_uespec_RX
(
PHY_VARS_gNB
*
gNB
,
int
frame_rx
,
int
slot_rx
)
{
/* those variables to log T_GNB_PHY_PUCCH_PUSCH_IQ only when we try to decode */
...
...
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