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
wangjie
OpenXG-RAN
Commits
4892feae
Commit
4892feae
authored
Jun 04, 2020
by
masayuki.harada
Committed by
Haruki NAOI
Jul 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sr detection.
(cherry picked from commit 5482843b9a9dfd25abe74afb04a40c117da3bac4)
parent
a3d78407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+4
-2
No files found.
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
4892feae
...
...
@@ -823,9 +823,11 @@ uint32_t calc_pucch_1x_interference(PHY_VARS_eNB *eNB,
rxcomp
[
aa
][
1
+
j
]
=
(
int16_t
)((
rxptr
[
re_offset
<<
1
]
*
(
int32_t
)
zptr
[
1
+
j
])
>>
15
)
+
((
rxptr
[
1
+
(
re_offset
<<
1
)]
*
(
int32_t
)
zptr
[
j
])
>>
15
);
n0_IQ
[
0
]
+=
rxcomp
[
aa
][
j
];
n0_IQ
[
1
]
+=
rxcomp
[
aa
][
1
+
j
];
calc_cnt
++
;
}
//re
calc_cnt
++
;
}
// symbol
n0_IQ
[
0
]
/=
12
;
n0_IQ
[
1
]
/=
12
;
interference_power
+=
(
double
)(
n0_IQ
[
0
]
*
n0_IQ
[
0
]
+
n0_IQ
[
1
]
*
n0_IQ
[
1
]);
}
// antenna
}
...
...
@@ -1206,7 +1208,7 @@ uint32_t rx_pucch(PHY_VARS_eNB *eNB,
}
stat
+=
(
(
stat_re
*
stat_re
)
+
(
stat_im
*
stat_im
)
);
stat
+=
(
stat_re
*
stat_re
);
}
//re
}
// aa
...
...
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