fun_ofdm
1.0
802.11a Physical Layer for USRP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
timing_sync.h
Go to the documentation of this file.
1
9
#ifndef TIMING_SYNC_H
10
#define TIMING_SYNC_H
11
12
#define LTS_CORR_THRESHOLD 0.9
13
#define CARRYOVER_LENGTH 160
14
#define LTS_LENGTH 64
15
16
#include <complex>
17
18
#include "
block.h
"
19
#include "
tagged_vector.h
"
20
21
namespace
fun
22
{
33
class
timing_sync
:
public
fun::block
<tagged_sample, tagged_sample>
34
{
35
public
:
36
37
timing_sync
();
38
39
virtual
void
work
();
40
41
private
:
42
43
double
m_phase_offset
;
44
45
double
m_phase_acc
;
46
51
std::vector<tagged_sample>
m_carryover
;
52
};
53
}
54
55
#endif // TIMING_SYNC_H
src
timing_sync.h
Generated on Mon Oct 20 2014 10:26:27 for fun_ofdm by
1.8.4