GNU Radio's LTE Package
pss.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2014 Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT)
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21
22#ifndef INCLUDED_LTE_PSS_H
23#define INCLUDED_LTE_PSS_H
24
25#include <lte/api.h>
26#include <cmath>
27#include <fftw3.h>
28#include <cstring>
29
30namespace gr
31{
32namespace lte
33{
34
35/*!
36 * \brief helper class for pss blocks
37 *
38 */
40{
41public:
42 pss();
44 static void gen_pss_t(gr_complex *zc_t, int cell_id, int len);
45 static void gen_conj_pss_t(gr_complex *zc_t, int cell_id, int len);
46 static void zc(gr_complex *zc, int cell_id);
47
48private:
49 static const gr_complex d_C_I;
50 static const float d_PI;
51
52};
53
54} // namespace lte
55} // namespace gr
56
57#endif /* INCLUDED_LTE_PSS_H */
58
#define LTE_API
Definition: api.h:30
helper class for pss blocks
Definition: pss.h:40
static void zc(gr_complex *zc, int cell_id)
static void gen_pss_t(gr_complex *zc_t, int cell_id, int len)
static void gen_conj_pss_t(gr_complex *zc_t, int cell_id, int len)
Definition: bch_crc_check_ant_chooser_bb.h:28