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
b877a53d
Commit
b877a53d
authored
Nov 02, 2020
by
p.shashikala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSI payload bits inversion issue
parent
e5cdd46d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+5
-5
No files found.
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
b877a53d
...
...
@@ -78,12 +78,12 @@ 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
;
uint8_t
i
;
uint8_t
i
;
for
(
bitlen
,
i
=
0
;
bitlen
>
i
;
bitlen
--
,
i
++
)
{
if
(((
*
value
>>
bitlen
)
&
1
)
!=
((
*
value
>>
i
)
&
1
))
{
*
value
^=
(
1
<<
bitlen
);
*
value
^=
(
1
<<
i
);
}
if
(((
*
value
>>
bitlen
)
&
1
)
!=
((
*
value
>>
i
)
&
1
))
{
*
value
^=
(
1
<<
bitlen
);
*
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