laforge
/
openbts-osmo
Archived
1
0
Fork 0

include lchan reference when signalling nexWtime to ThreadMuxer

This commit is contained in:
Harald Welte 2011-11-13 15:53:33 +01:00
parent 2ff390643f
commit 5d46791fb0
3 changed files with 7 additions and 5 deletions

View File

@ -95,13 +95,13 @@ ostream& GSM::operator<<(ostream& os, const OsmoLogicalChannel& lchan)
ss_nr = lchan.SSnr();
/* 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)
{
if (mTM)
mTM->signalNextWtime(time);
mTM->signalNextWtime(time, *this);
}
void OsmoLogicalChannel::downstream(ARFCNManager* radio)

View File

@ -42,9 +42,10 @@ void OsmoThreadMuxer::writeLowSide(const L2Frame& frame,
/* 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

View File

@ -80,7 +80,8 @@ public:
/* L1 informs us about the next TDMA time for which it needs
* data */
virtual void signalNextWtime(GSM::Time &time);
virtual void signalNextWtime(GSM::Time &time,
OsmoLogicalChannel &lchan);
};
}; // GSM