A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lte-enb-cmac-sap.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Nicola Baldo <nbaldo@cttc.es>
19
* Marco Miozzo <mmiozzo@cttc.es>
20
*/
21
22
#ifndef LTE_ENB_CMAC_SAP_H
23
#define LTE_ENB_CMAC_SAP_H
24
25
#include <ns3/packet.h>
26
#include <ns3/ff-mac-common.h>
27
#include <ns3/eps-bearer.h>
28
#include <ns3/lte-common.h>
29
#include <ns3/ff-mac-csched-sap.h>
30
31
namespace
ns3 {
32
33
34
class
LteMacSapUser;
35
42
class
LteEnbCmacSapProvider
43
{
44
public
:
45
virtual
~LteEnbCmacSapProvider
();
52
virtual
void
ConfigureMac
(uint8_t ulBandwidth,
53
uint8_t dlBandwidth) = 0;
54
55
56
virtual
void
AddUe
(uint16_t rnti) = 0;
57
58
63
struct
LcInfo
64
{
65
uint16_t
rnti
;
66
uint8_t
lcId
;
67
uint8_t
lcGroup
;
68
uint8_t
qci
;
69
bool
isGbr
;
70
uint64_t
mbrUl
;
71
uint64_t
mbrDl
;
72
uint64_t
gbrUl
;
73
uint64_t
gbrDl
;
74
};
75
82
virtual
void
AddLc
(
LcInfo
lcinfo,
LteMacSapUser
* msu) = 0;
83
84
90
virtual
void
ReconfigureLc
(
LcInfo
lcinfo) = 0;
91
92
99
virtual
void
ReleaseLc
(uint16_t rnti, uint8_t lcid) = 0;
100
101
virtual
void
RrcUpdateConfigurationReq
(
FfMacCschedSapProvider::CschedUeConfigReqParameters
params) = 0;
102
103
104
};
105
106
107
114
class
LteEnbCmacSapUser
115
{
116
public
:
117
virtual
~LteEnbCmacSapUser
();
125
virtual
void
NotifyLcConfigResult
(uint16_t rnti, uint8_t lcid,
bool
success) = 0;
126
virtual
void
RrcConfigurationUpdateInd
(
LteUeConfig_t
params) = 0;
127
};
128
129
130
131
132
133
134
135
}
// namespace ns3
136
137
138
#endif // MAC_SAP_H
src
lte
model
lte-enb-cmac-sap.h
Generated on Tue Oct 9 2012 16:45:40 for ns-3 by
1.8.1.2