let demux use common interface

master
Andre Puschmann 8 years ago
parent cbfcb281a9
commit 83c358d33f

@ -42,7 +42,7 @@ class demux : public srslte::pdu_queue::process_callback
{ {
public: public:
demux(); 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(); bool process_pdus();
uint8_t* request_buffer(uint32_t pid, uint32_t len); uint8_t* request_buffer(uint32_t pid, uint32_t len);
@ -73,7 +73,7 @@ private:
bool is_uecrid_successful; bool is_uecrid_successful;
phy_interface_mac *phy_h; phy_interface_mac_common *phy_h;
srslte::log *log_h; srslte::log *log_h;
srslte::timers *timers_db; srslte::timers *timers_db;
rlc_interface_mac *rlc; rlc_interface_mac *rlc;

@ -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_; phy_h = phy_h_;
log_h = log_h_; log_h = log_h_;

Loading…
Cancel
Save