A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-vendor-specific-parameters.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Author: Marco Miozzo <marco.miozzo@cttc.es>
18 */
19
20#ifndef LTE_VENDOR_SPECIFIC_PARAMETERS
21#define LTE_VENDOR_SPECIFIC_PARAMETERS
22
23#include "ff-mac-common.h"
24
25#define SRS_CQI_RNTI_VSP 1
26
27namespace ns3
28{
29
30/**
31 * \brief Define the RNTI that has generated the
32 */
34{
35 public:
36 /**
37 * \brief SRS CQI RNTI VSP
38 *
39 * \param rnti the RNTI
40 */
41 SrsCqiRntiVsp(uint16_t rnti);
42 ~SrsCqiRntiVsp() override;
43
44 /**
45 * \brief Get RNTI function
46 *
47 * \returns the RNTI
48 */
49 uint16_t GetRnti() const;
50
51 private:
52 uint16_t m_rnti; ///< the rnti
53};
54
55}; // namespace ns3
56
57#endif /* LTE_VENDOR_SPECIFIC_PARAMETERS */
Define the RNTI that has generated the.
uint16_t GetRnti() const
Get RNTI function.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Base class for storing the values of vendor specific parameters.