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
7382d913
Commit
7382d913
authored
Nov 03, 2017
by
David Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging...
parent
f90444a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
nfapi/nfapi_pnf.c
nfapi/nfapi_pnf.c
+1
-1
nfapi/nfapi_vnf.c
nfapi/nfapi_vnf.c
+4
-0
No files found.
nfapi/nfapi_pnf.c
View file @
7382d913
...
@@ -1879,7 +1879,7 @@ int oai_nfapi_sr_indication(nfapi_sr_indication_t *ind)
...
@@ -1879,7 +1879,7 @@ int oai_nfapi_sr_indication(nfapi_sr_indication_t *ind)
int
retval
=
nfapi_pnf_p7_sr_ind
(
p7_config_g
,
ind
);
int
retval
=
nfapi_pnf_p7_sr_ind
(
p7_config_g
,
ind
);
LOG_E
(
PHY
,
"%s()
retval:%d
\n
"
,
__FUNCTION__
,
retval
);
LOG_E
(
PHY
,
"%s()
SFN/SF:%d srs:%d retval:%d
\n
"
,
__FUNCTION__
,
NFAPI_SFNSF2DEC
(
ind
->
sfn_sf
),
ind
->
sr_indication_body
.
number_of_srs
,
retval
);
//free(ind.rx_indication_body.rx_pdu_list);
//free(ind.rx_indication_body.rx_pdu_list);
...
...
nfapi/nfapi_vnf.c
View file @
7382d913
...
@@ -796,11 +796,15 @@ int phy_sr_indication(struct nfapi_vnf_p7_config* config, nfapi_sr_indication_t*
...
@@ -796,11 +796,15 @@ int phy_sr_indication(struct nfapi_vnf_p7_config* config, nfapi_sr_indication_t*
*
dest_ind
=
*
ind
;
*
dest_ind
=
*
ind
;
dest_ind
->
sr_indication_body
.
sr_pdu_list
=
dest_pdu_list
;
dest_ind
->
sr_indication_body
.
sr_pdu_list
=
dest_pdu_list
;
LOG_D
(
MAC
,
"%s() eNB->UL_INFO.sr_ind.sr_indication_body.number_of_srs:%d
\n
"
,
eNB
->
UL_INFO
.
sr_ind
.
sr_indication_body
.
number_of_srs
);
for
(
int
i
=
0
;
i
<
eNB
->
UL_INFO
.
sr_ind
.
sr_indication_body
.
number_of_srs
;
i
++
)
for
(
int
i
=
0
;
i
<
eNB
->
UL_INFO
.
sr_ind
.
sr_indication_body
.
number_of_srs
;
i
++
)
{
{
nfapi_sr_indication_pdu_t
*
dest_pdu
=
&
dest_ind
->
sr_indication_body
.
sr_pdu_list
[
i
];
nfapi_sr_indication_pdu_t
*
dest_pdu
=
&
dest_ind
->
sr_indication_body
.
sr_pdu_list
[
i
];
nfapi_sr_indication_pdu_t
*
src_pdu
=
&
ind
->
sr_indication_body
.
sr_pdu_list
[
i
];
nfapi_sr_indication_pdu_t
*
src_pdu
=
&
ind
->
sr_indication_body
.
sr_pdu_list
[
i
];
LOG_D
(
MAC
,
"SR_IND[PDU:%d][rnti:%x cqi:%d channel:%d]
\n
"
,
i
,
dest_pdu
->
rx_ue_information
.
rnti
,
dest_pdu
->
ul_cqi_information
.
ul_cqi
,
dest_pdu
->
ul_cqi_information
.
channel
);
memcpy
(
dest_pdu
,
src_pdu
,
sizeof
(
*
src_pdu
));
memcpy
(
dest_pdu
,
src_pdu
,
sizeof
(
*
src_pdu
));
}
}
...
...
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