From 7568d1a0322fc12239673c14eaa86c6979034e89 Mon Sep 17 00:00:00 2001 From: Marco Miozzo Date: Fri, 18 Mar 2011 08:48:49 +0100 Subject: [PATCH] add missed file of pf-ff-mac-scheduler --- src/lte/model/pf-ff-mac-scheduler.h | 185 ++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 src/lte/model/pf-ff-mac-scheduler.h diff --git a/src/lte/model/pf-ff-mac-scheduler.h b/src/lte/model/pf-ff-mac-scheduler.h new file mode 100644 index 000000000..694edde5e --- /dev/null +++ b/src/lte/model/pf-ff-mac-scheduler.h @@ -0,0 +1,185 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Marco Miozzo + */ + +#ifndef PF_FF_MAC_SCHEDULER_H +#define PF_FF_MAC_SCHEDULER_H + +#include +#include +#include +#include +#include +#include + + +namespace ns3 { + + +struct pfsFlowId_t +{ + uint16_t m_rnti; + uint8_t m_lcId; + + bool operator<(const pfsFlowId_t& A) const + { return m_rnti m_rlcBufferReq; + + + /* + * Map of UE-LC statistics + */ + std::map m_flowStats; + + + /* + * Map of UE's DL CQI P01 received + */ + std::map m_p10CqiRxed; + + /* + * Map of UE's DL CQI A30 received + */ + std::map m_a30CqiRxed; + + + /* + * Map of UE's buffer status reports received + */ + std::map m_ceBsrRxed; + + // MAC SAPs + FfMacCschedSapUser* m_cschedSapUser; + FfMacSchedSapUser* m_schedSapUser; + FfMacCschedSapProvider* m_cschedSapProvider; + FfMacSchedSapProvider* m_schedSapProvider; + + + // Internal parameters + FfMacCschedSapProvider::CschedCellConfigReqParameters m_cschedCellConfig; + + + double m_timeWindow; + +}; + +} // namespace ns3 + +#endif /* PF_FF_MAC_SCHEDULER_H */