Constructor for an L1Decoder. @param wTN The timeslot to decode on. @param wMapping Demux parameters, MUST BE PERSISTENT. @param wParent The containing L1FEC, for sibling access. */
| 321 | @param wParent The containing L1FEC, for sibling access. |
| 322 | */ |
| 323 | L1Decoder(unsigned wCN, unsigned wTN, const TDMAMapping& wMapping, L1FEC* wParent) |
| 324 | :mUpstream(NULL), |
| 325 | mT3101(T3101ms),mT3109(T3109ms),mT3111(T3111ms), |
| 326 | mT3103(gConfig.getNum("GSM.Timer.T3103")), |
| 327 | mActive(false), |
| 328 | mRunning(false), |
| 329 | //mFER(0.0F), |
| 330 | mCN(wCN),mTN(wTN), |
| 331 | mMapping(wMapping),mParent(wParent), |
| 332 | mEncrypted(ENCRYPT_NO), |
| 333 | mEncryptionAlgorithm(0) |
| 334 | { |
| 335 | // Start T3101 so that the channel will |
| 336 | // become recyclable soon. |
| 337 | mT3101.set(); |
| 338 | } |
| 339 | |
| 340 | |
| 341 | virtual ~L1Decoder() { } |