| 988 | |
| 989 | |
| 990 | XCCHL1Encoder::XCCHL1Encoder( |
| 991 | unsigned wCN, |
| 992 | unsigned wTN, |
| 993 | const TDMAMapping& wMapping, |
| 994 | L1FEC* wParent) |
| 995 | : SharedL1Encoder(), |
| 996 | L1Encoder(wCN,wTN,wMapping,wParent) |
| 997 | { |
| 998 | mFillerBurst = TxBurst(gDummyBurst); |
| 999 | |
| 1000 | // Set up the training sequence and stealing bits |
| 1001 | // since they'll be the same for all bursts. |
| 1002 | |
| 1003 | // stealing bits for a control channel, GSM 05.03 4.2.5, 05.02 5.2.3. |
| 1004 | // (pat) For a GPRS channel these bits are used for the encoding, 1,1 implies CS-1. |
| 1005 | // Since we will be sharing the channels between GSM and GPRS, we cannot depend |
| 1006 | // on this preinitialization surviving. This is so minor, I am just going |
| 1007 | // to set these anew inside transmit(). |
| 1008 | //mBurst.Hl(1); |
| 1009 | //mBurst.Hu(1); |
| 1010 | |
| 1011 | // training sequence, GSM 05.02 5.2.3 |
| 1012 | gTrainingSequence[mTSC].copyToSegment(mBurst,61); |
| 1013 | } |
| 1014 | |
| 1015 | |
| 1016 | // Default initialization is as for XCCH channels (SACCH) or CS-1 encoding. |
nothing calls this directly
no test coverage detected