laforge
/
openbts-osmo
Archived
1
0
Fork 0

include lchan reference when signalling nexWtime to ThreadMuxer

master
Harald Welte 11 years ago
parent 2ff390643f
commit 5d46791fb0
  1. 4
      public-trunk/GSM/OsmoLogicalChannel.cpp
  2. 5
      public-trunk/GSM/OsmoThreadMuxer.cpp
  3. 3
      public-trunk/GSM/OsmoThreadMuxer.h

@ -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)

@ -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

@ -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