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
spbro
OpenXG-RAN
Commits
ead066d6
Commit
ead066d6
authored
Jul 16, 2024
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused abstraction_flag from NR UE
parent
2ff12533
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
+3
-11
executables/nr-ue.c
executables/nr-ue.c
+1
-4
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+1
-6
executables/nr-uesoftmodem.h
executables/nr-uesoftmodem.h
+1
-1
No files found.
executables/nr-ue.c
View file @
ead066d6
...
...
@@ -138,11 +138,8 @@ static void *nrL1_UE_stats_thread(void *param)
return
NULL
;
}
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
,
uint8_t
abstraction_flag
)
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
)
{
int
nb_connected_gNB
=
1
;
ue
->
Mod_id
=
UE_id
;
...
...
executables/nr-uesoftmodem.c
View file @
ead066d6
...
...
@@ -160,11 +160,6 @@ uint32_t N_RB_DL = 106;
// NTN cellSpecificKoffset-r17, but in slots for DL SCS
unsigned
int
NTN_UE_Koffset
=
0
;
/* see file openair2/LAYER2/MAC/main.c for why abstraction_flag is needed
* this is very hackish - find a proper solution
*/
uint8_t
abstraction_flag
=
0
;
/*---------------------BMC: timespec helpers -----------------------------*/
struct
timespec
min_diff_time
=
{
.
tv_sec
=
0
,
.
tv_nsec
=
0
};
...
...
@@ -563,7 +558,7 @@ int main(int argc, char **argv)
}
UE
[
CC_id
]
->
sl_mode
=
get_softmodem_params
()
->
sl_mode
;
init_nr_ue_vars
(
UE
[
CC_id
],
inst
,
abstraction_flag
);
init_nr_ue_vars
(
UE
[
CC_id
],
inst
);
if
(
UE
[
CC_id
]
->
sl_mode
)
{
AssertFatal
(
UE
[
CC_id
]
->
sl_mode
==
2
,
"Only Sidelink mode 2 supported. Mode 1 not yet supported
\n
"
);
...
...
executables/nr-uesoftmodem.h
View file @
ead066d6
...
...
@@ -103,6 +103,6 @@ extern void reset_opp_meas(void);
extern
void
print_opp_meas
(
void
);
void
start_oai_nrue_threads
(
void
);
void
*
UE_thread
(
void
*
arg
);
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
,
uint8_t
abstraction_flag
);
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
);
void
init_nrUE_standalone_thread
(
int
ue_idx
);
#endif
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