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
Michael Black
OpenXG-RAN
Commits
66144698
Commit
66144698
authored
Oct 28, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting log and white space changes for MR
parent
455e3d83
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
11 deletions
+16
-11
nfapi/open-nFAPI/nfapi/inc/nfapi.h
nfapi/open-nFAPI/nfapi/inc/nfapi.h
+1
-1
nfapi/open-nFAPI/nfapi/src/nfapi.c
nfapi/open-nFAPI/nfapi/src/nfapi.c
+1
-1
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+1
-0
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+2
-2
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR/fapi_nr_l1.c
+5
-5
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+1
-1
openair2/LAYER2/NR_MAC_COMMON/nr_mac_extern.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac_extern.h
+2
-0
openair2/LAYER2/NR_MAC_UE/mac_extern.h
openair2/LAYER2/NR_MAC_UE/mac_extern.h
+2
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+1
-1
No files found.
nfapi/open-nFAPI/nfapi/inc/nfapi.h
View file @
66144698
...
@@ -50,7 +50,7 @@ uint32_t pullarrays32(uint8_t **in, int32_t out[], uint32_t max_len, uint32_t le
...
@@ -50,7 +50,7 @@ uint32_t pullarrays32(uint8_t **in, int32_t out[], uint32_t max_len, uint32_t le
uint32_t
pusharray8
(
uint8_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharray8
(
uint8_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharray16
(
uint16_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharray16
(
uint16_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharrays16
(
int16_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharrays16
(
int16_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharray32
(
uint32_t
in
[],
uint32_t
max_len
,
uint
16
_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharray32
(
uint32_t
in
[],
uint32_t
max_len
,
uint
32
_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharrays32
(
int32_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
uint32_t
pusharrays32
(
int32_t
in
[],
uint32_t
max_len
,
uint32_t
len
,
uint8_t
**
out
,
uint8_t
*
end
);
typedef
uint8_t
(
*
pack_array_elem_fn
)(
void
*
elem
,
uint8_t
**
ppWritePackedMsg
,
uint8_t
*
end
);
typedef
uint8_t
(
*
pack_array_elem_fn
)(
void
*
elem
,
uint8_t
**
ppWritePackedMsg
,
uint8_t
*
end
);
...
...
nfapi/open-nFAPI/nfapi/src/nfapi.c
View file @
66144698
...
@@ -363,7 +363,7 @@ uint32_t pullarrays32(uint8_t **in, int32_t out[], uint32_t max_len, uint32_t le
...
@@ -363,7 +363,7 @@ uint32_t pullarrays32(uint8_t **in, int32_t out[], uint32_t max_len, uint32_t le
return
0
;
return
0
;
}
}
}
}
uint32_t
pusharray32
(
uint32_t
in
[],
uint32_t
max_len
,
uint
16
_t
len
,
uint8_t
**
out
,
uint8_t
*
end
)
{
uint32_t
pusharray32
(
uint32_t
in
[],
uint32_t
max_len
,
uint
32
_t
len
,
uint8_t
**
out
,
uint8_t
*
end
)
{
if
(
len
==
0
)
if
(
len
==
0
)
return
1
;
return
1
;
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
66144698
...
@@ -3303,6 +3303,7 @@ static uint8_t pack_nr_uci_indication(void *msg, uint8_t **ppWritePackedMsg, uin
...
@@ -3303,6 +3303,7 @@ static uint8_t pack_nr_uci_indication(void *msg, uint8_t **ppWritePackedMsg, uin
{
{
if
(
!
pack_nr_uci_indication_body
(
&
pNfapiMsg
->
uci_list
[
i
],
ppWritePackedMsg
,
end
))
if
(
!
pack_nr_uci_indication_body
(
&
pNfapiMsg
->
uci_list
[
i
],
ppWritePackedMsg
,
end
))
return
0
;
return
0
;
}
}
return
1
;
return
1
;
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
66144698
...
@@ -429,7 +429,7 @@ void nr_processULSegment(void* arg) {
...
@@ -429,7 +429,7 @@ void nr_processULSegment(void* arg) {
if
(
check_crc
((
uint8_t
*
)
llrProcBuf
,
length_dec
,
ulsch_harq
->
F
,
crc_type
))
{
if
(
check_crc
((
uint8_t
*
)
llrProcBuf
,
length_dec
,
ulsch_harq
->
F
,
crc_type
))
{
#ifdef PRINT_CRC_CHECK
#ifdef PRINT_CRC_CHECK
LOG_I
(
PHY
,
"Segment %d CRC OK
\n
"
,
r
);
LOG_I
(
PHY
,
"Segment %d CRC OK
, iterations %d/%d
\n
"
,
r
,
no_iteration_ldpc
,
max_ldpc_iterations
);
#endif
#endif
rdata
->
decodeIterations
=
no_iteration_ldpc
;
rdata
->
decodeIterations
=
no_iteration_ldpc
;
if
(
rdata
->
decodeIterations
>
p_decoderParms
->
numMaxIter
)
rdata
->
decodeIterations
--
;
if
(
rdata
->
decodeIterations
>
p_decoderParms
->
numMaxIter
)
rdata
->
decodeIterations
--
;
...
@@ -522,7 +522,7 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
...
@@ -522,7 +522,7 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
A
=
(
harq_process
->
TBS
)
<<
3
;
A
=
(
harq_process
->
TBS
)
<<
3
;
LOG_D
(
PHY
,
"ULSCH Decoding, harq_pid %d TBS %d G %d mcs %d Nl %d nb_rb %d, Qm %d, n_layers %d
\n
"
,
harq_pid
,
A
,
G
,
mcs
,
n_layers
,
nb_rb
,
Qm
,
n_layers
);
LOG_D
(
PHY
,
"ULSCH Decoding, harq_pid %d TBS %d G %d mcs %d Nl %d nb_rb %d, Qm %d, n_layers %d
, Coderate %d
\n
"
,
harq_pid
,
A
,
G
,
mcs
,
n_layers
,
nb_rb
,
Qm
,
n_layers
,
R
);
if
(
R
<
1024
)
if
(
R
<
1024
)
Coderate
=
(
float
)
R
/
(
float
)
1024
;
Coderate
=
(
float
)
R
/
(
float
)
1024
;
...
...
openair1/SCHED_NR/fapi_nr_l1.c
View file @
66144698
...
@@ -159,7 +159,7 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
...
@@ -159,7 +159,7 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
res
=
pullTpool
(
gNB
->
resp_L1_tx
,
gNB
->
threadPool
);
res
=
pullTpool
(
gNB
->
resp_L1_tx
,
gNB
->
threadPool
);
processingData_L1tx_t
*
msgTx
=
(
processingData_L1tx_t
*
)
NotifiedFifoData
(
res
);
processingData_L1tx_t
*
msgTx
=
(
processingData_L1tx_t
*
)
NotifiedFifoData
(
res
);
if
(
DL_req
!=
NULL
&&
TX_req
!=
NULL
&&
(
number_dl_pdu
>
0
||
number_ul_dci_pdu
>
0
||
number_ul_tti_pdu
>
0
))
if
(
DL_req
!=
NULL
&&
TX_req
!=
NULL
&&
(
number_dl_pdu
>
0
||
number_ul_dci_pdu
>
0
||
number_ul_tti_pdu
>
0
))
LOG_D
(
NR_
PHY
,
"NFAPI: Sched_INFO:SFN/SLOT:%04d/%d DL_req:SFN/SLO:%04d/%d:dl_pdu:%d tx_req:SFN/SLOT:%04d/%d:pdus:%d;ul_dci %d ul_tti %d
\n
"
,
LOG_D
(
PHY
,
"NFAPI: Sched_INFO:SFN/SLOT:%04d/%d DL_req:SFN/SLO:%04d/%d:dl_pdu:%d tx_req:SFN/SLOT:%04d/%d:pdus:%d;ul_dci %d ul_tti %d
\n
"
,
frame
,
slot
,
frame
,
slot
,
DL_req
->
SFN
,
DL_req
->
Slot
,
number_dl_pdu
,
DL_req
->
SFN
,
DL_req
->
Slot
,
number_dl_pdu
,
TX_req
->
SFN
,
TX_req
->
Slot
,
TX_req
->
Number_of_PDUs
,
TX_req
->
SFN
,
TX_req
->
Slot
,
TX_req
->
Number_of_PDUs
,
...
...
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
66144698
...
@@ -91,7 +91,7 @@ int8_t nr_ue_scheduled_response_stub(nr_scheduled_response_t *scheduled_response
...
@@ -91,7 +91,7 @@ int8_t nr_ue_scheduled_response_stub(nr_scheduled_response_t *scheduled_response
memcpy
(
rx_ind
->
pdu_list
[
j
].
pdu
,
tx_req_body
->
pdu
,
tx_req_body
->
pdu_length
*
sizeof
(
*
rx_ind
->
pdu_list
[
j
].
pdu
));
memcpy
(
rx_ind
->
pdu_list
[
j
].
pdu
,
tx_req_body
->
pdu
,
tx_req_body
->
pdu_length
*
sizeof
(
*
rx_ind
->
pdu_list
[
j
].
pdu
));
rx_ind
->
pdu_list
[
j
].
rnti
=
pusch_config_pdu
->
rnti
;
rx_ind
->
pdu_list
[
j
].
rnti
=
pusch_config_pdu
->
rnti
;
rx_ind
->
pdu_list
[
j
].
timing_advance
=
scheduled_response
->
tx_request
->
tx_config
.
timing_advance
;
rx_ind
->
pdu_list
[
j
].
timing_advance
=
scheduled_response
->
tx_request
->
tx_config
.
timing_advance
;
rx_ind
->
pdu_list
[
j
].
ul_cqi
=
255
;
//
scheduled_response->tx_request->tx_config.ul_cqi;
rx_ind
->
pdu_list
[
j
].
ul_cqi
=
scheduled_response
->
tx_request
->
tx_config
.
ul_cqi
;
char
buffer
[
1024
];
char
buffer
[
1024
];
hexdump
(
rx_ind
->
pdu_list
[
j
].
pdu
,
rx_ind
->
pdu_list
[
j
].
pdu_length
,
buffer
,
sizeof
(
buffer
));
hexdump
(
rx_ind
->
pdu_list
[
j
].
pdu
,
rx_ind
->
pdu_list
[
j
].
pdu_length
,
buffer
,
sizeof
(
buffer
));
LOG_D
(
NR_MAC
,
"Hexdump of pdu %s before queuing rx_ind
\n
"
,
LOG_D
(
NR_MAC
,
"Hexdump of pdu %s before queuing rx_ind
\n
"
,
...
...
openair2/LAYER2/NR_MAC_COMMON/nr_mac_extern.h
View file @
66144698
...
@@ -39,6 +39,8 @@
...
@@ -39,6 +39,8 @@
extern
const
uint8_t
nr_slots_per_frame
[
5
];
extern
const
uint8_t
nr_slots_per_frame
[
5
];
extern
dci_pdu_rel15_t
*
def_dci_pdu_rel15
;
/* extern const uint32_t BSR_TABLE[BSR_TABLE_SIZE];
/* extern const uint32_t BSR_TABLE[BSR_TABLE_SIZE];
extern const uint32_t Extended_BSR_TABLE[BSR_TABLE_SIZE];
extern const uint32_t Extended_BSR_TABLE[BSR_TABLE_SIZE];
extern const uint8_t cqi2fmt0_agg[MAX_SUPPORTED_BW][CQI_VALUE_RANGE];
extern const uint8_t cqi2fmt0_agg[MAX_SUPPORTED_BW][CQI_VALUE_RANGE];
...
...
openair2/LAYER2/NR_MAC_UE/mac_extern.h
View file @
66144698
...
@@ -66,6 +66,8 @@ extern const uint8_t table_7_3_2_3_3_4_twoCodeword[6][10];
...
@@ -66,6 +66,8 @@ extern const uint8_t table_7_3_2_3_3_4_twoCodeword[6][10];
extern
const
uint16_t
table_7_2_1
[
16
];
extern
const
uint16_t
table_7_2_1
[
16
];
extern
dci_pdu_rel15_t
*
def_dci_pdu_rel15
;
extern
void
mac_rlc_data_ind
(
const
module_id_t
module_idP
,
extern
void
mac_rlc_data_ind
(
const
module_id_t
module_idP
,
const
rnti_t
rntiP
,
const
rnti_t
rntiP
,
const
eNB_index_t
eNB_index
,
const
eNB_index_t
eNB_index
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
66144698
...
@@ -1315,7 +1315,7 @@ int nr_acknack_scheduling(int mod_id,
...
@@ -1315,7 +1315,7 @@ int nr_acknack_scheduling(int mod_id,
while
(
i
<
8
)
{
while
(
i
<
8
)
{
LOG_D
(
NR_MAC
,
"pdsch_to_harq_feedback[%d] = %d (pucch->ul_slot %d - slot %d)
\n
"
,
LOG_D
(
NR_MAC
,
"pdsch_to_harq_feedback[%d] = %d (pucch->ul_slot %d - slot %d)
\n
"
,
i
,
pdsch_to_harq_feedback
[
i
],
pucch
->
ul_slot
,
slot
);
i
,
pdsch_to_harq_feedback
[
i
],
pucch
->
ul_slot
,
slot
);
if
(
pdsch_to_harq_feedback
[
i
]
==
(
pucch
->
ul_slot
-
slot
)
%
n_slots_frame
)
{
if
(
pdsch_to_harq_feedback
[
i
]
==
pucch
->
ul_slot
-
slot
)
{
ind_found
=
i
;
ind_found
=
i
;
break
;
break
;
}
}
...
...
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