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
45546102
Commit
45546102
authored
Oct 11, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logs: no duplex mode logs, not telnet client connected logs
parent
2da515e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
common/utils/nr/nr_common.c
common/utils/nr/nr_common.c
+2
-2
common/utils/telnetsrv/telnetsrv.c
common/utils/telnetsrv/telnetsrv.c
+1
-2
No files found.
common/utils/nr/nr_common.c
View file @
45546102
...
@@ -411,7 +411,7 @@ frame_type_t get_frame_type(uint16_t current_band, uint8_t scs_index)
...
@@ -411,7 +411,7 @@ frame_type_t get_frame_type(uint16_t current_band, uint8_t scs_index)
else
else
current_type
=
FDD
;
current_type
=
FDD
;
LOG_
I
(
NR_MAC
,
"NR band %d, duplex mode %s, duplex spacing = %d KHz
\n
"
,
current_band
,
duplex_mode
[
current_type
],
delta_duplex
);
LOG_
D
(
NR_MAC
,
"NR band %d, duplex mode %s, duplex spacing = %d KHz
\n
"
,
current_band
,
duplex_mode
[
current_type
],
delta_duplex
);
return
current_type
;
return
current_type
;
}
}
...
@@ -423,7 +423,7 @@ int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index)
...
@@ -423,7 +423,7 @@ int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index)
int32_t
delta_duplex
=
(
nr_bandtable
[
nr_table_idx
].
ul_min
-
nr_bandtable
[
nr_table_idx
].
dl_min
);
int32_t
delta_duplex
=
(
nr_bandtable
[
nr_table_idx
].
ul_min
-
nr_bandtable
[
nr_table_idx
].
dl_min
);
LOG_
I
(
NR_MAC
,
"NR band duplex spacing is %d KHz (nr_bandtable[%d].band = %d)
\n
"
,
delta_duplex
,
nr_table_idx
,
nr_bandtable
[
nr_table_idx
].
band
);
LOG_
D
(
NR_MAC
,
"NR band duplex spacing is %d KHz (nr_bandtable[%d].band = %d)
\n
"
,
delta_duplex
,
nr_table_idx
,
nr_bandtable
[
nr_table_idx
].
band
);
return
delta_duplex
;
return
delta_duplex
;
}
}
...
...
common/utils/telnetsrv/telnetsrv.c
View file @
45546102
...
@@ -681,7 +681,6 @@ void run_telnetsrv(void) {
...
@@ -681,7 +681,6 @@ void run_telnetsrv(void) {
}
}
if
(
!
readc
)
{
if
(
!
readc
)
{
printf
(
"[TELNETSRV] Telnet Client disconnected.
\n
"
);
break
;
break
;
}
}
...
@@ -727,7 +726,7 @@ void run_telnetsrv(void) {
...
@@ -727,7 +726,7 @@ void run_telnetsrv(void) {
write_history
(
telnetparams
.
histfile
);
write_history
(
telnetparams
.
histfile
);
clear_history
();
clear_history
();
close
(
telnetparams
.
new_socket
);
close
(
telnetparams
.
new_socket
);
printf
(
"[TELNETSRV] Telnet server waitting for connection...
\n
"
);
//
printf ("[TELNETSRV] Telnet server waitting for connection...\n");
}
}
close
(
sock
);
close
(
sock
);
...
...
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