mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
4 years ago
|
/**
|
||
8 years ago
|
*
|
||
4 years ago
|
* \section COPYRIGHT
|
||
8 years ago
|
*
|
||
4 years ago
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||
8 years ago
|
*
|
||
4 years ago
|
* By using this file, you agree to the terms and conditions set
|
||
|
* forth in the LICENSE file which can be found at the top level of
|
||
|
* the distribution.
|
||
8 years ago
|
*
|
||
|
*/
|
||
|
|
||
|
/******************************************************************************
|
||
|
* File: interfaces.h
|
||
|
* Description: Abstract base class interfaces provided by layers
|
||
|
* to other layers.
|
||
|
*****************************************************************************/
|
||
|
|
||
4 years ago
|
#ifndef SRSRAN_UE_INTERFACES_H
|
||
|
#define SRSRAN_UE_INTERFACES_H
|
||
8 years ago
|
|
||
4 years ago
|
#include "ue_mac_interfaces.h"
|
||
4 years ago
|
#include "ue_rrc_interfaces.h"
|
||
8 years ago
|
|
||
|
namespace srsue {
|
||
|
|
||
5 years ago
|
// STACK interface for RRC
|
||
4 years ago
|
class stack_interface_rrc
|
||
5 years ago
|
{
|
||
|
public:
|
||
4 years ago
|
virtual srsran::tti_point get_current_tti() = 0;
|
||
5 years ago
|
};
|
||
|
|
||
6 years ago
|
// Combined interface for PHY to access stack (MAC and RRC)
|
||
|
class stack_interface_phy_lte : public mac_interface_phy_lte, public rrc_interface_phy_lte
|
||
|
{
|
||
5 years ago
|
public:
|
||
|
/* Indicate new TTI */
|
||
|
virtual void run_tti(const uint32_t tti, const uint32_t tti_jump) = 0;
|
||
6 years ago
|
};
|
||
|
|
||
7 years ago
|
} // namespace srsue
|
||
8 years ago
|
|
||
4 years ago
|
#endif // SRSRAN_UE_INTERFACES_H
|