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
canghaiwuhen
OpenXG-RAN
Commits
7893f94f
Commit
7893f94f
authored
Nov 02, 2020
by
Rangaswami
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed CSI payload bits inversion issue
parent
b877a53d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+4
-4
No files found.
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
7893f94f
...
...
@@ -77,11 +77,11 @@ void handle_nr_rach(NR_UL_IND_t *UL_info) {
}
void
reverse_n_bits
(
uint8_t
*
value
,
uint16_t
bitlen
)
{
uint16_t
bitlen
=
bitlen
-
1
;
uint16_t
j
;
uint8_t
i
;
for
(
bitlen
,
i
=
0
;
bitlen
>
i
;
bitlen
--
,
i
++
)
{
if
(((
*
value
>>
bitlen
)
&
1
)
!=
((
*
value
>>
i
)
&
1
))
{
*
value
^=
(
1
<<
bitlen
);
for
(
j
=
bitlen
-
1
,
i
=
0
;
j
>
i
;
j
--
,
i
++
)
{
if
(((
*
value
>>
j
)
&
1
)
!=
((
*
value
>>
i
)
&
1
))
{
*
value
^=
(
1
<<
j
);
*
value
^=
(
1
<<
i
);
}
}
...
...
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