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
30
namespace
ns3 {
31
32
33
class
LteMacSapUser;
34
41
class
LteEnbCmacSapProvider
42
{
43
public
:
44
virtual
~LteEnbCmacSapProvider
();
51
virtual
void
ConfigureMac
(uint8_t ulBandwidth,
52
uint8_t dlBandwidth) = 0;
53
54
55
virtual
void
AddUe
(uint16_t rnti) = 0;
56
57
62
struct
LcInfo
63
{
64
uint16_t
rnti
;
65
uint8_t
lcId
;
66
uint8_t
lcGroup
;
67
uint8_t
qci
;
68
bool
isGbr
;
69
uint64_t
mbrUl
;
70
uint64_t
mbrDl
;
71
uint64_t
gbrUl
;
72
uint64_t
gbrDl
;
73
};
74
81
virtual
void
AddLc
(
LcInfo
lcinfo,
LteMacSapUser
* msu) = 0;
82
83
89
virtual
void
ReconfigureLc
(
LcInfo
lcinfo) = 0;
90
91
98
virtual
void
ReleaseLc
(uint16_t rnti, uint8_t lcid) = 0;
99
100
virtual
void
UeUpdateConfigurationReq
(
LteUeConfig_t
params) = 0;
101
102
103
};
104
105
106
113
class
LteEnbCmacSapUser
114
{
115
public
:
116
virtual
~LteEnbCmacSapUser
();
124
virtual
void
NotifyLcConfigResult
(uint16_t rnti, uint8_t lcid,
bool
success) = 0;
125
virtual
void
RrcConfigurationUpdateInd
(
LteUeConfig_t
params) = 0;
126
};
127
128
129
130
131
132
133
134
}
// namespace ns3
135
136
137
#endif // MAC_SAP_H
src
lte
model
lte-enb-cmac-sap.h
Generated on Fri Dec 21 2012 19:00:39 for ns-3 by
1.8.1.2