author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 10892 | 3e86fac77082 |
permissions | -rw-r--r-- |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
2 |
/* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
3 |
* Copyright (c) 2014 Piotr Gawlowicz |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
4 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
8 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
13 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
17 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
18 |
* Author: Piotr Gawlowicz <gawlowicz.p@gmail.com> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
19 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
20 |
*/ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
21 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
22 |
#ifndef LTE_FFR_SOFT_ALGORITHM_H |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
23 |
#define LTE_FFR_SOFT_ALGORITHM_H |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
24 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
25 |
#include <ns3/lte-ffr-algorithm.h> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
26 |
#include <ns3/lte-ffr-sap.h> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
27 |
#include <ns3/lte-ffr-rrc-sap.h> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
28 |
#include <ns3/lte-rrc-sap.h> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
29 |
#include <map> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
30 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
31 |
namespace ns3 { |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
32 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
33 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
34 |
/** |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
35 |
* \brief Soft Fractional Frequency Reuse algorithm implementation |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
36 |
*/ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
37 |
class LteFfrSoftAlgorithm : public LteFfrAlgorithm |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
38 |
{ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
39 |
public: |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
40 |
/** |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
41 |
* \brief Creates a trivial ffr algorithm instance. |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
42 |
*/ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
43 |
LteFfrSoftAlgorithm (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
44 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
45 |
virtual ~LteFfrSoftAlgorithm (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
46 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
47 |
// inherited from Object |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
48 |
static TypeId GetTypeId (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
49 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
50 |
// inherited from LteFfrAlgorithm |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
51 |
virtual void SetLteFfrSapUser (LteFfrSapUser* s); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
52 |
virtual LteFfrSapProvider* GetLteFfrSapProvider (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
53 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
54 |
virtual void SetLteFfrRrcSapUser (LteFfrRrcSapUser* s); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
55 |
virtual LteFfrRrcSapProvider* GetLteFfrRrcSapProvider (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
56 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
57 |
// let the forwarder class access the protected and private members |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
58 |
friend class MemberLteFfrSapProvider<LteFfrSoftAlgorithm>; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
59 |
friend class MemberLteFfrRrcSapProvider<LteFfrSoftAlgorithm>; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
60 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
61 |
protected: |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
62 |
// inherited from Object |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
63 |
virtual void DoInitialize (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
64 |
virtual void DoDispose (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
65 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
66 |
virtual void Reconfigure (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
67 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
68 |
// FFR SAP PROVIDER IMPLEMENTATION |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
69 |
virtual std::vector <bool> DoGetAvailableDlRbg (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
70 |
virtual bool DoIsDlRbgAvailableForUe (int i, uint16_t rnti); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
71 |
virtual std::vector <bool> DoGetAvailableUlRbg (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
72 |
virtual bool DoIsUlRbgAvailableForUe (int i, uint16_t rnti); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
73 |
virtual void DoReportDlCqiInfo (const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters& params); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
74 |
virtual void DoReportUlCqiInfo (const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters& params); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
75 |
virtual void DoReportUlCqiInfo ( std::map <uint16_t, std::vector <double> > ulCqiMap ); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
76 |
virtual uint8_t DoGetTpc (uint16_t rnti); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
77 |
virtual uint8_t DoGetMinContinuousUlBandwidth (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
78 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
79 |
// FFR SAP RRC PROVIDER IMPLEMENTATION |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
80 |
virtual void DoReportUeMeas (uint16_t rnti, LteRrcSap::MeasResults measResults); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
81 |
virtual void DoRecvLoadInformation (EpcX2Sap::LoadInformationParams params); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
82 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
83 |
private: |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
84 |
void SetDownlinkConfiguration (uint16_t cellId, uint8_t bandwidth); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
85 |
void SetUplinkConfiguration (uint16_t cellId, uint8_t bandwidth); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
86 |
void InitializeDownlinkRbgMaps (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
87 |
void InitializeUplinkRbgMaps (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
88 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
89 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
90 |
// FFR SAP |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
91 |
LteFfrSapUser* m_ffrSapUser; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
92 |
LteFfrSapProvider* m_ffrSapProvider; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
93 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
94 |
// FFR RRF SAP |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
95 |
LteFfrRrcSapUser* m_ffrRrcSapUser; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
96 |
LteFfrRrcSapProvider* m_ffrRrcSapProvider; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
97 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
98 |
uint8_t m_dlCommonSubBandwidth; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
99 |
uint8_t m_dlEgdeSubBandOffset; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
100 |
uint8_t m_dlEdgeSubBandwidth; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
101 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
102 |
uint8_t m_ulCommonSubBandwidth; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
103 |
uint8_t m_ulEgdeSubBandOffset; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
104 |
uint8_t m_ulEdgeSubBandwidth; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
105 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
106 |
std::vector <bool> m_dlRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
107 |
std::vector <bool> m_ulRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
108 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
109 |
std::vector <bool> m_dlCenterRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
110 |
std::vector <bool> m_ulCenterRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
111 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
112 |
std::vector <bool> m_dlMediumRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
113 |
std::vector <bool> m_ulMediumRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
114 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
115 |
std::vector <bool> m_dlEdgeRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
116 |
std::vector <bool> m_ulEdgeRbgMap; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
117 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
118 |
enum UePosition |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
119 |
{ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
120 |
AreaUnset, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
121 |
CenterArea, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
122 |
MediumArea, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
123 |
EdgeArea |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
124 |
}; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
125 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
126 |
std::map< uint16_t, uint8_t > m_ues; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
127 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
128 |
uint8_t m_centerSubBandThreshold; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
129 |
uint8_t m_egdeSubBandThreshold; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
130 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
131 |
uint8_t m_centerAreaPowerOffset; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
132 |
uint8_t m_mediumAreaPowerOffset; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
133 |
uint8_t m_edgeAreaPowerOffset; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
134 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
135 |
uint8_t m_centerAreaTpc; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
136 |
uint8_t m_mediumAreaTpc; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
137 |
uint8_t m_edgeAreaTpc; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
138 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
139 |
// The expected measurement identity |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
140 |
uint8_t m_measId; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
141 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
142 |
}; // end of class LteFfrSoftAlgorithm |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
143 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
144 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
145 |
} // end of namespace ns3 |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
146 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
147 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
148 |
#endif /* LTE_FFR_SOFT_ALGORITHM_H */ |