author | Marco Miozzo <marco.miozzo@cttc.es> |
Thu, 22 Mar 2012 18:16:01 +0100 | |
changeset 8714 | 398bbcbb3f42 |
parent 7909 | 82b1281ea0a3 |
child 9337 | ae7126b266ce |
permissions | -rw-r--r-- |
7886 | 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 |
*/ |
|
20 |
||
21 |
#ifndef LTE_UE_CMAC_SAP_H |
|
22 |
#define LTE_UE_CMAC_SAP_H |
|
23 |
||
24 |
#include <ns3/packet.h> |
|
25 |
#include <ns3/ff-mac-common.h> |
|
26 |
#include <ns3/eps-bearer.h> |
|
8714
398bbcbb3f42
Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents:
7909
diff
changeset
|
27 |
#include <ns3/lte-common.h> |
7886 | 28 |
|
29 |
namespace ns3 { |
|
30 |
||
31 |
||
32 |
||
33 |
class LteMacSapUser; |
|
34 |
||
35 |
/** |
|
36 |
* Service Access Point (SAP) offered by the UE MAC to the UE RRC |
|
37 |
* |
|
38 |
* This is the MAC SAP Provider, i.e., the part of the SAP that contains the MAC methods called by the RRC |
|
39 |
*/ |
|
40 |
class LteUeCmacSapProvider |
|
41 |
{ |
|
42 |
public: |
|
7909
82b1281ea0a3
Updates for MACOS compilation (virtual destructors and variable types)
mmiozzo
parents:
7886
diff
changeset
|
43 |
virtual ~LteUeCmacSapProvider (); |
7886 | 44 |
/** |
45 |
* called by the RRC after going to RRC connected |
|
46 |
* |
|
47 |
* \param rnti |
|
48 |
*/ |
|
49 |
virtual void ConfigureUe (uint16_t rnti) = 0; |
|
50 |
||
51 |
virtual void AddLc (uint8_t lcId, LteMacSapUser* msu) = 0; |
|
52 |
||
53 |
virtual void RemoveLc (uint8_t lcId) = 0; |
|
8714
398bbcbb3f42
Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents:
7909
diff
changeset
|
54 |
|
398bbcbb3f42
Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents:
7909
diff
changeset
|
55 |
virtual void RrcUpdateConfigurationReq (LteUeConfig_t params) = 0; |
7886 | 56 |
|
57 |
}; |
|
58 |
||
59 |
||
60 |
||
61 |
/** |
|
62 |
* Service Access Point (SAP) offered by the UE MAC to the UE RRC |
|
63 |
* |
|
64 |
* This is the MAC SAP User, i.e., the part of the SAP that contains the RRC methods called by the MAC |
|
65 |
*/ |
|
66 |
class LteUeCmacSapUser |
|
67 |
{ |
|
68 |
public: |
|
7909
82b1281ea0a3
Updates for MACOS compilation (virtual destructors and variable types)
mmiozzo
parents:
7886
diff
changeset
|
69 |
virtual ~LteUeCmacSapUser (); |
7886 | 70 |
virtual void LcConfigCompleted () = 0; |
71 |
}; |
|
72 |
||
73 |
||
74 |
||
75 |
||
76 |
} // namespace ns3 |
|
77 |
||
78 |
||
79 |
#endif // LTE_UE_CMAC_SAP_H |