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
9339b063
Commit
9339b063
authored
Sep 15, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pack unpack
parent
791347d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+6
-0
No files found.
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
9339b063
...
@@ -1336,6 +1336,12 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len
...
@@ -1336,6 +1336,12 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len
LOG_E
(
MAC
,
"could not unpack rx_ind right after packing encoded_size: %d
\n
"
,
encoded_size
);
LOG_E
(
MAC
,
"could not unpack rx_ind right after packing encoded_size: %d
\n
"
,
encoded_size
);
abort
();
abort
();
}
}
char
test_buffer
[
1024
];
int
encoded_size2
=
nfapi_p7_message_pack
(
&
test_ind
,
test_buffer
,
sizeof
(
test_buffer
),
NULL
);
if
(
encoded_size2
<
0
)
{
LOG_E
(
MAC
,
"could not pack rx_ind right after unpacking encoded_size2: %d
\n
"
,
encoded_size2
);
}
break
;
break
;
case
NFAPI_RX_CQI_INDICATION
:
case
NFAPI_RX_CQI_INDICATION
:
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
cqi_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
// Check pdu->ul_cqi_information.channel = 1
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
cqi_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
// Check pdu->ul_cqi_information.channel = 1
...
...
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