5 unsigned dc=0, sector_type=0;
6 unsigned fr_table[16][6]={{0,1,1,0,1,0},
25 case 1: sector_type = 4 + subsector;
27 case 2: sector_type = 1 - (sector%2);
29 case 3: sector_type = 3 - (sector%2);
31 case 4: sector_type = 3 - (sector%2);
36 return fr_table[cscid-1][sector_type];
static unsigned getFRBit(int sector, int subsector, int station, int cscid)