//////////////////////////////////////////////////////////////////////////////// // // // FILE: cconv_imp.c // // // // FUNCTION: Convolutional encoder // // // // Description: Bit Level Control mode for Downlink WiMAX IEEE802.16e // // rel 2005 // // // // // // // // // //June 2009 // //////////////////////////////////////////////////////////////////////////////// /** ALOE headers */ #include #include #include #include "itf_types.h" #include "inputs.h" #include "outputs.h" #include "stats.h" #include "typetools.h" char symbols[INPUT_MAX_DATA]; int numblocks,longblock; int first=1; int process_input(int length) { int i,rpm,wpm; if (length == 0) return (-1); /* check length */ if (length!=typeSizeArray(TYPE_BITSTREAM,numblocks*longblock)) { printf("CCONV: Invalid input length: len=%d ninput=%d*%d\n",length,numblocks,longblock); return 0; } rpm=0; wpm=0; for (i=0;iCCONV: inputlength=%d bytes, numblocks=%d rate=%.2f\n", control_cconv.long_block/8, control_cconv.num_blocks,(float) 1/control_cconv.CCcoderate); return 1; } void ConfigInterfaces(){}