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
promise
OpenXG-RAN
Commits
e5cd573e
Commit
e5cd573e
authored
4 years ago
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a local variable instead of global
parent
24bf54b2
develop
NRUE_usedlschparallel
NR_10MHz
NR_DLUL_PF
NR_DLUL_PF_4UL
NR_DLUL_PF_rebased
NR_DL_MIMO
NR_FAPI_beamindex_SSB_RO
NR_FDD_FIX
NR_FR2_RA
NR_MAC_Multi_Rach_GlobalEdge
NR_MAC_TCI_UCI_GlobalEdge
NR_PUCCH_MultiUE
NR_RA_cleanup
NR_SA_F1AP_RFSIMULATOR
NR_SA_F1AP_RFSIMULATOR2
NR_SA_F1AP_dev
NR_SA_itti_sim_wk48
NR_SA_itti_sim_wk48_hs1
NR_SCHED_HARQ
NR_SCHED_PDCCH_PUCCH_HARQ
NR_SCHED_PDCCH_PUCCH_HARQ_rebased
NR_SCHED_fixes
NR_UE_dlsch_bugfix
NR_Wireshark
NR_beam_simulation
NR_scheduling_request
NR_scheduling_request2
NR_scheduling_request3
benetel_driver_uldl_pf_merge
benetel_driver_update
bugfix-x2-SgNBAdditionRequest
bupt-sa-merge
ci-test
cleanup_softmodem_main
develop-SA-RA
develop-SnT
develop-sib1
develop-sib1-local
develop-sib1-lts
develop-sib1-update
develop-sib1-update-test1
develop-sib1-update-ue
develop_stable
fix_NR_DLUL_PF
fix_do_ra_data
fixes-CE-RLC-PDU-size
gnb-only-test
integration_2020_wk50
integration_2020_wk50_1
integration_2020_wk51
integration_2020_wk51_2
integration_2021_wk02
integration_2021_wk02_wMR988
integration_2021_wk04
integration_2021_wk05
inter-RRU-final
itti-enhancement
lte-ulsch-bugfix
lte_uplink_improvement
minor-fix-doc-basic-sim
nasmesh_kernel_5.8
new-gtpu
nfapi_nr_develop
nr_ul_pf
nr_ul_scfdma
oairu
oairu-dockerfile-support
openxg/develop
ptrs_rrc_config
pusch-mthread-scaling-fix
pusch-retrans-fix-ue
rh-ci-add-ue-parallelization
rh_ci_ra_fr2
rh_ci_ue_parallel
rh_wk50_debug
s1-subnormal_rewrite
s1_subnormal
s1_subnormal-robert
sa-merge-rrc-srb
sa-msg4
sa-msg4-rrc
sa-msg4-rrc-yihz
sa-msg4-rrc-yihz-hs
sa_rrc_yihz
small-config-change
ue-fixes
ue_beam_selection
ul-freq-iq-samps-to-file
wireshark-T-hack-ueid
wireshark-log-scheduling-requests
xiangwab
xiangwan
2021.w04
2021.w02
2020.w51_2
2020.w51
2020.w50
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
executables/nr-gnb.c
executables/nr-gnb.c
+4
-1
executables/nr-softmodem.c
executables/nr-softmodem.c
+0
-2
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+0
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+0
-1
openair2/GNB_APP/gnb_paramdef.h
openair2/GNB_APP/gnb_paramdef.h
+5
-2
No files found.
executables/nr-gnb.c
View file @
e5cd573e
...
...
@@ -71,6 +71,7 @@
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "UTIL/OPT/opt.h"
#include "enb_config.h"
#include "gnb_paramdef.h"
#ifndef OPENAIR2
...
...
@@ -101,7 +102,6 @@ extern int transmission_mode;
extern
uint16_t
sf_ahead
;
extern
uint16_t
sl_ahead
;
extern
uint32_t
num_threads_pusch
;
//pthread_t main_gNB_thread;
time_stats_t
softmodem_stats_mt
;
// main thread
...
...
@@ -872,6 +872,9 @@ void init_gNB_proc(int inst) {
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
int
numCPU
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
uint32_t
num_threads_pusch
;
paramdef_t
PUSCHThreads
[]
=
NUM_THREADS_DESC
;
config_get
(
PUSCHThreads
,
sizeof
(
PUSCHThreads
)
/
sizeof
(
paramdef_t
),
NULL
);
int
threadCnt
=
min
(
numCPU
,
num_threads_pusch
);
char
ul_pool
[
80
];
sprintf
(
ul_pool
,
"-1"
);
...
...
This diff is collapsed.
Click to expand it.
executables/nr-softmodem.c
View file @
e5cd573e
...
...
@@ -98,8 +98,6 @@ int config_sync_var=-1;
volatile
int
start_gNB
=
0
;
volatile
int
oai_exit
=
0
;
uint32_t
num_threads_pusch
;
static
int
wait_for_sync
=
0
;
unsigned
int
mmapped_dma
=
0
;
...
...
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
e5cd573e
...
...
@@ -75,7 +75,6 @@ rlc_info_t Rlc_info_um,Rlc_info_am_config;
PHY_VARS_gNB
*
gNB
;
PHY_VARS_NR_UE
*
UE
;
RAN_CONTEXT_t
RC
;
uint32_t
num_threads_pusch
;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
...
...
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
e5cd573e
...
...
@@ -71,7 +71,6 @@ rlc_info_t Rlc_info_um,Rlc_info_am_config;
PHY_VARS_gNB
*
gNB
;
PHY_VARS_NR_UE
*
UE
;
RAN_CONTEXT_t
RC
;
uint32_t
num_threads_pusch
;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
int
sf_ahead
=
4
;
...
...
This diff is collapsed.
Click to expand it.
openair2/GNB_APP/gnb_paramdef.h
View file @
e5cd573e
...
...
@@ -50,7 +50,6 @@
extern
int
asn_debug
;
extern
int
asn1_xer_print
;
extern
uint32_t
num_threads_pusch
;
#ifdef LIBCONFIG_LONG
#define libconfig_int long
...
...
@@ -91,9 +90,13 @@ typedef enum {
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#define GNBSPARAMS_DESC { \
{GNB_CONFIG_STRING_ASN1_VERBOSITY, NULL, 0, uptr:NULL, defstrval:GNB_CONFIG_STRING_ASN1_VERBOSITY_NONE, TYPE_STRING, 0}, \
{GNB_CONFIG_STRING_ACTIVE_GNBS, NULL, 0, uptr:NULL, defstrval:NULL, TYPE_STRINGLIST, 0}, \
{GNB_CONFIG_STRING_ACTIVE_GNBS, NULL, 0, uptr:NULL, defstrval:NULL, TYPE_STRINGLIST, 0} \
}
#define NUM_THREADS_DESC { \
{GNB_CONFIG_PUSCH_THREADS, NULL, 0, uptr:&num_threads_pusch, defuintval:1, TYPE_UINT, 0} \
}
#define GNB_ASN1_VERBOSITY_IDX 0
#define GNB_ACTIVE_GNBS_IDX 1
...
...
This diff is collapsed.
Click to expand it.
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