# HG changeset patch # User Mychaela Falconia # Date 1457139550 0 # Node ID 3557ef98f01315c45044a23816b2ca09029ebca2 # Parent a92e07daf86ad8d0b8a2f5b241047e3da82ed316 l1_async.c: l1a_idle_smscb_process() reconstructed diff -r a92e07daf86a -r 3557ef98f013 chipsetsw/layer1/cfile/l1_async.c --- a/chipsetsw/layer1/cfile/l1_async.c Sat Mar 05 00:03:42 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_async.c Sat Mar 05 00:59:10 2016 +0000 @@ -5124,10 +5124,10 @@ UWORD8 *state = &l1a.state[I_SMSCB]; UWORD32 SignalCode = msg->SignalCode; - UWORD32 first_block_0 =0; - UWORD32 first_block_1= 0; - BOOL extended_cbch =FALSE; //oamps00090550 - T_CBCH_HEAD_SCHEDULE *cbch_schedule_ptr= NULL ; + UWORD32 first_block_0; + UWORD32 first_block_1; + BOOL extended_cbch; + T_CBCH_HEAD_SCHEDULE *cbch_schedule_ptr; UWORD8 schedule_length; BOOL end_process = 0; @@ -5443,9 +5443,10 @@ return; } } - else - if(SignalCode == L1C_DEDIC_DONE) - { +#if 0 /* match TCS211 */ + else + if(SignalCode == L1C_DEDIC_DONE) + { // Stop SMSCB task. l1a_l1s_com.l1s_en_task[SMSCB] = TASK_DISABLED; @@ -5457,8 +5458,8 @@ // Step in state machine. *state = RESET; - - } + } +#endif else // No action in this machine for other messages. @@ -5472,8 +5473,6 @@ case SET_SCHEDULE: { - if(cbch_schedule_ptr != NULL) - { UWORD8 i,j; UWORD8 mf51_offset; @@ -5527,7 +5526,7 @@ // Step in state machine. *state = WAIT_RESULT; - } + // End of process. return; } @@ -5558,7 +5557,8 @@ } else - if((SignalCode == MPHC_STOP_CBCH_REQ)||(SignalCode == L1C_DEDIC_DONE)) + //if((SignalCode == MPHC_STOP_CBCH_REQ)||(SignalCode == L1C_DEDIC_DONE)) + if(SignalCode == MPHC_STOP_CBCH_REQ) // Request to (may be partially) STOP reading the CBCH. //----------------------------------------------------- {