include lchan reference when signalling nexWtime to ThreadMuxer
This commit is contained in:
parent
2ff390643f
commit
5d46791fb0
|
@ -95,13 +95,13 @@ ostream& GSM::operator<<(ostream& os, const OsmoLogicalChannel& lchan)
|
||||||
ss_nr = lchan.SSnr();
|
ss_nr = lchan.SSnr();
|
||||||
|
|
||||||
/* Just dump something like "(TRX,TS,SS)" identifying the lchan */
|
/* Just dump something like "(TRX,TS,SS)" identifying the lchan */
|
||||||
os << "(" << trx_nr << "," << ts_nr << "," << ss_nr << ")";
|
os << "(" << trx_nr << "," << ts_nr << "," << ss_nr << "," << lchan.type() << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
void OsmoLogicalChannel::signalNextWtime(GSM::Time &time)
|
void OsmoLogicalChannel::signalNextWtime(GSM::Time &time)
|
||||||
{
|
{
|
||||||
if (mTM)
|
if (mTM)
|
||||||
mTM->signalNextWtime(time);
|
mTM->signalNextWtime(time, *this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OsmoLogicalChannel::downstream(ARFCNManager* radio)
|
void OsmoLogicalChannel::downstream(ARFCNManager* radio)
|
||||||
|
|
|
@ -42,9 +42,10 @@ void OsmoThreadMuxer::writeLowSide(const L2Frame& frame,
|
||||||
/* build primitive that we can put into the up-queue */
|
/* build primitive that we can put into the up-queue */
|
||||||
}
|
}
|
||||||
|
|
||||||
void OsmoThreadMuxer::signalNextWtime(GSM::Time &time)
|
void OsmoThreadMuxer::signalNextWtime(GSM::Time &time,
|
||||||
|
OsmoLogicalChannel &lchan)
|
||||||
{
|
{
|
||||||
OBJLOG(DEBUG) << "NextWriteTime: " << time;
|
OBJLOG(DEBUG) << lchan << " " << time;
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: ts=4 sw=4
|
// vim: ts=4 sw=4
|
||||||
|
|
|
@ -80,7 +80,8 @@ public:
|
||||||
|
|
||||||
/* L1 informs us about the next TDMA time for which it needs
|
/* L1 informs us about the next TDMA time for which it needs
|
||||||
* data */
|
* data */
|
||||||
virtual void signalNextWtime(GSM::Time &time);
|
virtual void signalNextWtime(GSM::Time &time,
|
||||||
|
OsmoLogicalChannel &lchan);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // GSM
|
}; // GSM
|
||||||
|
|
Reference in New Issue