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
38e4e66b
Commit
38e4e66b
authored
Oct 12, 2022
by
Thomas Schlichter
Committed by
Marwan Hammouda
Sep 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some updates to resolve compiling errors after rebase
parent
d72e8da2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
executables/nr-softmodem.h
executables/nr-softmodem.h
+1
-1
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
+1
-1
openair2/RRC/NR/rrc_gNB_radio_bearers.c
openair2/RRC/NR/rrc_gNB_radio_bearers.c
+3
-0
No files found.
executables/nr-softmodem.h
View file @
38e4e66b
...
...
@@ -33,7 +33,7 @@
{"uecap_file", CONFIG_HLP_UECAP_FILE, 0, .strptr=&uecap_file, .defstrval="./uecap_ports1.xml", TYPE_STRING, 0}, \
{"s" , CONFIG_HLP_SNR, 0, .dblptr=&snr_dB, .defdblval=25, TYPE_DOUBLE, 0}, \
{"P" , CONFIG_HLP_PROPD, 0, .u64ptr=&RFsim_PropDelay, .defintval=0, TYPE_UINT64, 0}, \
{"gnb_k2" , CONFIG_HLP_GNBK2, 0, .u16ptr=&NTN_gNB_k2, .defintval=0,
vv
TYPE_UINT16, 0}, \
{"gnb_k2" , CONFIG_HLP_GNBK2, 0, .u16ptr=&NTN_gNB_k2, .defintval=0,
TYPE_UINT16, 0}, \
{"ul_sched_f" , CONFIG_HLP_ULSCHEDF, 0, .u16ptr=&max_ul_sched_frame, .defintval=1, TYPE_UINT16, 0}, \
}
// clang-format on
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
38e4e66b
...
...
@@ -249,7 +249,7 @@ void ue_ta_procedures(PHY_VARS_NR_UE *ue, int slot_tx, int frame_tx)
ue
->
timing_advance
+=
(
ue
->
ta_command
-
31
)
*
bw_scaling
;
LOG_I
(
PHY
,
"In %s:
"
[
UE
%
d
]
[
%
d
.
%
d
]
Got
timing
advance
command
%
u
from
MAC
,
new
value
is
%
d
\
n
",
LOG_I
(
PHY
,
"In %s: [UE %d] [%d.%d] Got timing advance command %u from MAC, new value is %d
\n
"
,
__FUNCTION__
,
ue
->
Mod_id
,
frame_tx
,
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
38e4e66b
...
...
@@ -1410,6 +1410,7 @@ int nr_get_sf_retxBSRTimer(uint8_t sf_offset) {
// Note: Msg3 tx in the uplink symbols of mixed slot
int
nr_ue_pusch_scheduler
(
NR_UE_MAC_INST_t
*
mac
,
uint8_t
is_Msg3
,
frame_t
current_frame
,
int
current_slot
,
frame_t
*
frame_tx
,
int
*
slot_tx
,
long
k2
)
{
k2
=
k2
+
NTN_UE_k2
;
AssertFatal
(
k2
>
DURATION_RX_TO_TX
,
"Slot offset K2 (%ld) needs to be higher than DURATION_RX_TO_TX (%d). Please set min_rxtxtime at least to %d in gNB config file or gNBs.[0].min_rxtxtime=%d via command line.
\n
"
,
k2
,
...
...
@@ -1426,8 +1427,7 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac, uint8_t is_Msg3, frame_t curren
// k2 as per 3GPP TS 38.214 version 15.9.0 Release 15 ch 6.1.2.1.1
// PUSCH time domain resource allocation is higher layer configured from uschTimeDomainAllocationList in either pusch-ConfigCommon
k2
=
k2
+
NTN_UE_k2
;
if
(
is_Msg3
)
{
switch
(
mu
)
{
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
View file @
38e4e66b
...
...
@@ -262,7 +262,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP, frame_t frame, sub_frame_
*/
AssertFatal
(
MAX_NUM_CCs
==
1
,
"only 1 CC supported
\n
"
);
const
int
current_index
=
ul_buffer_index
(
frame
,
slot
,
*
scc
->
ssbSubcarrierSpacing
,
gNB
->
UL_tti_req_ahead_size
);
copy_ul_tti_req
(
&
sched_info
->
UL_tti_req
,
&
gNB
->
UL_tti_req_ahead
[
0
][
current_index
]);
copy_ul_tti_req
(
&
sched_info
->
UL_tti_req
,
&
gNB
->
UL_tti_req_ahead
[
0
][
frame
%
MAX_NUM_UL_SCHED_FRAME
][
current_index
]);
stop_meas
(
&
gNB
->
eNB_scheduler
);
NR_SCHED_UNLOCK
(
&
gNB
->
sched_lock
);
...
...
openair2/RRC/NR/rrc_gNB_radio_bearers.c
View file @
38e4e66b
...
...
@@ -21,6 +21,9 @@
#include "rrc_gNB_radio_bearers.h"
#include "oai_asn1.h"
#include <softmodem-common.h>
#include "executables/softmodem-common.h"
rrc_pdu_session_param_t
*
find_pduSession
(
gNB_RRC_UE_t
*
ue
,
int
id
,
bool
create
)
{
...
...
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