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
850e8e92
Commit
850e8e92
authored
Jul 25, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5603
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
25e92552
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
6 deletions
+25
-6
openair1/PHY/INIT/lte_init.c
openair1/PHY/INIT/lte_init.c
+2
-0
openair1/PHY/LTE_TRANSPORT/pmch.c
openair1/PHY/LTE_TRANSPORT/pmch.c
+1
-0
openair1/PHY/TOOLS/lte_dfts.c
openair1/PHY/TOOLS/lte_dfts.c
+1
-0
openair1/PHY/TOOLS/time_meas.c
openair1/PHY/TOOLS/time_meas.c
+12
-0
openair1/PHY/TOOLS/time_meas.h
openair1/PHY/TOOLS/time_meas.h
+3
-3
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+6
-3
No files found.
openair1/PHY/INIT/lte_init.c
View file @
850e8e92
...
...
@@ -193,6 +193,8 @@ void phy_config_sib2_eNB(uint8_t Mod_id,
}
}
else
lte_frame_parms
->
num_MBSFN_config
=
0
;
}
...
...
openair1/PHY/LTE_TRANSPORT/pmch.c
View file @
850e8e92
...
...
@@ -76,6 +76,7 @@ int is_pmch_subframe(uint32_t frame, int subframe, LTE_DL_FRAME_PARMS *frame_par
uint32_t
period
;
uint8_t
i
;
for
(
i
=
0
;
i
<
frame_parms
->
num_MBSFN_config
;
i
++
)
{
// we have at least one MBSFN configuration
period
=
1
<<
frame_parms
->
MBSFN_config
[
i
].
radioframeAllocationPeriod
;
if
((
frame
%
period
)
==
frame_parms
->
MBSFN_config
[
i
].
radioframeAllocationOffset
)
{
...
...
openair1/PHY/TOOLS/lte_dfts.c
View file @
850e8e92
...
...
@@ -14862,6 +14862,7 @@ void dft1200(int16_t *x,int16_t *y,unsigned char scale_flag){
#ifdef MR_MAIN
int opp_enabled=1;
int opp_enabled=1;
int main(int argc, char**argv) {
...
...
openair1/PHY/TOOLS/time_meas.c
View file @
850e8e92
#include <stdio.h>
#include "time_meas.h"
#include <math.h>
#include <unistd.h>
// global var for openair performance profiler
int
opp_enabled
=
0
;
/*
double get_cpu_freq_GHz(void) {
time_stats_t ts;
reset_meas(&ts);
start_meas(&ts);
sleep(1);
stop_meas(&ts);
return (double)ts.diff/1000000000;
}*/
void
print_meas
(
time_stats_t
*
ts
,
const
char
*
name
,
time_stats_t
*
total_exec_time
,
time_stats_t
*
sf_exec_time
){
...
...
openair1/PHY/TOOLS/time_meas.h
View file @
850e8e92
...
...
@@ -92,8 +92,8 @@ static inline void copy_meas(time_stats_t *dst_ts,time_stats_t *src_ts) {
return (double) ts->diff/ts->trials/cpu_freq_GHz/1000.0;
}
*/
}
*/
static
inline
double
get_cpu_freq_GHz
(
void
)
{
time_stats_t
ts
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
850e8e92
...
...
@@ -1056,6 +1056,7 @@ void phy_procedures_eNB_TX(unsigned char subframe,PHY_VARS_eNB *phy_vars_eNB,uin
// for (sect_id = 0 ; sect_id < number_of_cards; sect_id++) {
if
(
abstraction_flag
==
0
)
{
for
(
aa
=
0
;
aa
<
phy_vars_eNB
->
lte_frame_parms
.
nb_antennas_tx_eNB
;
aa
++
)
{
...
...
@@ -1063,6 +1064,8 @@ void phy_procedures_eNB_TX(unsigned char subframe,PHY_VARS_eNB *phy_vars_eNB,uin
0
,
phy_vars_eNB
->
lte_frame_parms
.
ofdm_symbol_size
*
(
phy_vars_eNB
->
lte_frame_parms
.
symbols_per_tti
)
*
sizeof
(
mod_sym_t
));
}
}
if
(
is_pmch_subframe
(
phy_vars_eNB
->
proc
[
sched_subframe
].
frame_tx
,
subframe
,
&
phy_vars_eNB
->
lte_frame_parms
))
{
if
(
abstraction_flag
==
0
){
...
...
@@ -1072,6 +1075,7 @@ void phy_procedures_eNB_TX(unsigned char subframe,PHY_VARS_eNB *phy_vars_eNB,uin
AMP
,
subframe
<<
1
,
1
);
}
#ifdef Rel10
// if mcch is active, send regardless of the node type: eNB or RN
// when mcch is active, MAC sched does not allow MCCH and MTCH multiplexing
...
...
@@ -1149,7 +1153,6 @@ void phy_procedures_eNB_TX(unsigned char subframe,PHY_VARS_eNB *phy_vars_eNB,uin
phy_vars_eNB
->
lte_eNB_common_vars
.
txdataF
[
0
],
AMP
,
(
subframe
<<
1
)
+
1
,
0
);
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_ENB_RS_TX
,
0
);
// First half of PSS/SSS (FDD)
...
...
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