int stat_modulation,stat_th,stat_outsignal_i,stat_outsignal_q,stat_bits; int mode,modulation; int datatype; char outputbits[INPUT_MAX_DATA*8]; int threshold=0; struct utils_param params[] = { /* 0 bpsk * 1 qpsk * 2 qam4 * 3 psk8 * 4 qam16 */ {"modulation",STAT_TYPE_INT,1,&modulation}, {"datatype",STAT_TYPE_INT,1,&datatype}, {"threshold",STAT_TYPE_INT,1,&threshold}, {NULL, 0, 0, 0}}; struct utils_stat stats[] = { {"modulation", STAT_TYPE_INT, 1, &stat_modulation, (void*)&modulation, READ}, {"outputbits", STAT_TYPE_CHAR, 128, &stat_bits, (void*)outputbits, WRITE}, {"threshold", STAT_TYPE_INT, 1, &stat_th, (void*)&threshold, READ}, {NULL, 0, 0, 0, 0, 0}};