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
b30c9c8f
Commit
b30c9c8f
authored
Mar 26, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uselessAssignmentPtrArg
parent
97b3c6bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
11 deletions
+6
-11
common/config/config_load_configmodule.c
common/config/config_load_configmodule.c
+3
-4
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
+0
-2
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+0
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+0
-3
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+3
-1
No files found.
common/config/config_load_configmodule.c
View file @
b30c9c8f
...
...
@@ -424,13 +424,12 @@ void end_configmodule(configmodule_interface_t *cfgptr)
cfgptr
->
numptrs
=
0
;
pthread_mutex_unlock
(
&
cfgptr
->
memBlocks_mutex
);
if
(
cfgptr
->
cfgmode
)
if
(
cfgptr
->
cfgmode
)
free
(
cfgptr
->
cfgmode
);
if
(
cfgptr
->
argv_info
)
free
(
cfgptr
->
argv_info
);
if
(
cfgptr
->
argv_info
)
free
(
cfgptr
->
argv_info
);
free
(
cfgptr
);
cfgptr
=
NULL
;
}
}
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
b30c9c8f
...
...
@@ -1336,7 +1336,6 @@ void NFAPI_NR_DMRS_TYPE1_average_prb(NR_DL_FRAME_PARMS *frame_parms,
for
(
int
i
=
0
;
i
<
2
*
P_average
;
i
++
)
{
dl_ch
[
i
]
=
ch
;
}
dl_ch
+=
2
*
P_average
;
#else
dl_ch
[
3
].
r
+=
(
ch
.
r
*
1365
)
>>
15
;
// 1/12*16384
dl_ch
[
3
].
i
+=
(
ch
.
i
*
1365
)
>>
15
;
// 1/12*16384
...
...
@@ -1488,7 +1487,6 @@ void NFAPI_NR_DMRS_TYPE2_average_prb(NR_DL_FRAME_PARMS *frame_parms,
for
(
int
i
=
0
;
i
<
3
*
P_average
;
i
++
)
{
dl_ch
[
i
]
=
ch
;
}
dl_ch
+=
3
*
P_average
;
#else
dl_ch
[
3
].
r
+=
(
ch
.
r
*
1365
)
>>
15
;
// 1/12*16384
dl_ch
[
3
].
i
+=
(
ch
.
i
*
1365
)
>>
15
;
// 1/12*16384
...
...
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
b30c9c8f
...
...
@@ -97,7 +97,6 @@ static void free_uci_inds(nfapi_nr_uci_indication_t *uci_ind)
free
(
uci_ind
->
uci_list
);
uci_ind
->
uci_list
=
NULL
;
free
(
uci_ind
);
uci_ind
=
NULL
;
}
int8_t
nr_ue_scheduled_response_stub
(
nr_scheduled_response_t
*
scheduled_response
)
{
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
b30c9c8f
...
...
@@ -3731,13 +3731,10 @@ int nr_write_ce_ulsch_pdu(uint8_t *mac_ce,
LOG_D
(
NR_MAC
,
"[UE] Generating ULSCH PDU : long_bsr size %d Lcgbit 0x%02x Buffer_size %d %d %d %d %d %d %d %d
\n
"
,
mac_ce_size
,
*
((
uint8_t
*
)
mac_ce
),
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size0
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size1
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size2
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size3
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size4
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size5
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size6
,
((
NR_BSR_LONG
*
)
mac_ce
)
->
Buffer_size7
);
// update pointer and length
mac_ce
=
Buffer_size_ptr
;
mac_ce_len
+=
mac_ce_size
+
sizeof
(
NR_MAC_SUBHEADER_SHORT
);
}
return
mac_ce_len
;
}
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
b30c9c8f
...
...
@@ -3084,7 +3084,9 @@ uint8_t nr_ue_get_sdu(NR_UE_MAC_INST_t *mac,
if
(
mac_ce_p
->
tot_mac_ce_len
>
0
)
{
LOG_D
(
NR_MAC
,
"In %s copying %d bytes of MAC CEs to the UL PDU
\n
"
,
__FUNCTION__
,
mac_ce_p
->
tot_mac_ce_len
);
nr_write_ce_ulsch_pdu
(
pdu
,
mac
,
0
,
NULL
,
mac_ce_p
->
bsr_t
,
mac_ce_p
->
bsr_s
,
mac_ce_p
->
bsr_l
);
int
size
=
nr_write_ce_ulsch_pdu
(
pdu
,
mac
,
0
,
NULL
,
mac_ce_p
->
bsr_t
,
mac_ce_p
->
bsr_s
,
mac_ce_p
->
bsr_l
);
if
(
size
!=
mac_ce_p
->
tot_mac_ce_len
)
LOG_E
(
NR_MAC
,
"MAC CE size computed by nr_write_ce_ulsch_pdu is %d while the one assumed before is %d
\n
"
,
size
,
mac_ce_p
->
tot_mac_ce_len
);
pdu
+=
(
unsigned
char
)
mac_ce_p
->
tot_mac_ce_len
;
#ifdef ENABLE_MAC_PAYLOAD_DEBUG
...
...
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