OsmoComb5TS: make sure we don't put logical channels on stack
This commit is contained in:
parent
5116420cb2
commit
f1f5dbbaa4
|
@ -302,33 +302,33 @@ public:
|
||||||
|
|
||||||
/* timeslot in Combination 5 (FCCH, SCH, CCCH, BCCH and 4*SDCCH/4) */
|
/* timeslot in Combination 5 (FCCH, SCH, CCCH, BCCH and 4*SDCCH/4) */
|
||||||
class OsmoComb5TS : public OsmoTS {
|
class OsmoComb5TS : public OsmoTS {
|
||||||
|
protected:
|
||||||
|
SCHL1FEC mSCH;
|
||||||
|
FCCHL1FEC mFCCH;
|
||||||
|
RACHL1FEC mRACH;
|
||||||
|
OsmoCCCHLchan *mCCCH[3];
|
||||||
public:
|
public:
|
||||||
OsmoComb5TS(OsmoTRX &trx, unsigned int tn) :OsmoTS(trx, tn, 5) {
|
OsmoComb5TS(OsmoTRX &trx, unsigned int tn)
|
||||||
|
:OsmoTS(trx, tn, 5),
|
||||||
|
mSCH(),
|
||||||
|
mFCCH(),
|
||||||
|
mRACH(gRACHC5Mapping) {
|
||||||
ARFCNManager* radio = getARFCNmgr();
|
ARFCNManager* radio = getARFCNmgr();
|
||||||
|
|
||||||
SCHL1FEC SCH;
|
mSCH.downstream(radio);
|
||||||
SCH.downstream(radio);
|
mSCH.open();
|
||||||
SCH.open();
|
|
||||||
|
|
||||||
FCCHL1FEC FCCH;
|
mFCCH.downstream(radio);
|
||||||
FCCH.downstream(radio);
|
mFCCH.open();
|
||||||
SCH.open();
|
|
||||||
|
|
||||||
RACHL1FEC RACH(gRACHC5Mapping);
|
mRACH.downstream(radio);
|
||||||
RACH.downstream(radio);
|
mRACH.open();
|
||||||
RACH.open();
|
|
||||||
|
|
||||||
OsmoCCCHLchan CCCH0(this, 0);
|
for (int i = 0; i < 3; i++) {
|
||||||
CCCH0.downstream(radio);
|
mCCCH[i] = new OsmoCCCHLchan(this, i);
|
||||||
CCCH0.open();
|
mCCCH[i]->downstream(radio);
|
||||||
|
mCCCH[i]->open();
|
||||||
OsmoCCCHLchan CCCH1(this, 1);
|
}
|
||||||
CCCH1.downstream(radio);
|
|
||||||
CCCH1.open();
|
|
||||||
|
|
||||||
OsmoCCCHLchan CCCH2(this, 2);
|
|
||||||
CCCH2.downstream(radio);
|
|
||||||
CCCH2.open();
|
|
||||||
|
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
/* create logical channel */
|
/* create logical channel */
|
||||||
|
|
Reference in New Issue