let demux use common interface

This commit is contained in:
Andre Puschmann 2017-06-26 13:49:12 +02:00
parent cbfcb281a9
commit 83c358d33f
2 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ class demux : public srslte::pdu_queue::process_callback
{
public:
demux();
void init(phy_interface_mac* phy_h_, rlc_interface_mac *rlc, srslte::log* log_h_, srslte::timers* timers_db_);
void init(phy_interface_mac_common* phy_h_, rlc_interface_mac *rlc, srslte::log* log_h_, srslte::timers* timers_db_);
bool process_pdus();
uint8_t* request_buffer(uint32_t pid, uint32_t len);
@ -73,10 +73,10 @@ private:
bool is_uecrid_successful;
phy_interface_mac *phy_h;
srslte::log *log_h;
srslte::timers *timers_db;
rlc_interface_mac *rlc;
phy_interface_mac_common *phy_h;
srslte::log *log_h;
srslte::timers *timers_db;
rlc_interface_mac *rlc;
// Buffer of PDUs
srslte::pdu_queue pdus;

View File

@ -40,7 +40,7 @@ demux::demux() : mac_msg(20), pending_mac_msg(20)
{
}
void demux::init(phy_interface_mac* phy_h_, rlc_interface_mac *rlc_, srslte::log* log_h_, srslte::timers* timers_db_)
void demux::init(phy_interface_mac_common* phy_h_, rlc_interface_mac *rlc_, srslte::log* log_h_, srslte::timers* timers_db_)
{
phy_h = phy_h_;
log_h = log_h_;