# HG changeset patch # User Mychaela Falconia # Date 1457076026 0 # Node ID 854f343761c894a5dd9b1398f6f7ded8b6f7b4a1 # Parent 138d181bead92c79a825fe641d779df4c311b6f7 l1_async.c: l1a_neighbour_cell_bcch_reading_process() reconstructed diff -r 138d181bead9 -r 854f343761c8 chipsetsw/layer1/cfile/l1_async.c --- a/chipsetsw/layer1/cfile/l1_async.c Fri Mar 04 06:08:33 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_async.c Fri Mar 04 07:20:26 2016 +0000 @@ -1840,10 +1840,7 @@ // Look for first free location within L1 structure. while((neigh_number < 6) && (l1a_l1s_com.bcchn.list[neigh_number].status != NSYNC_FREE)) - { - if(neigh_number != 5 ) neigh_number++; - } // Download neighbour info from request message. @@ -1858,8 +1855,6 @@ time_alignmt =time_alignmt_mem; fn_offset =fn_offset_mem; l1a_sub_timeslot(&time_alignmt, &fn_offset, l1a_l1s_com.dl_tn); - if (neigh_number < 6 ) - { l1a_l1s_com.bcchn.list[neigh_number].radio_freq = ((T_MPHC_NCELL_BCCH_REQ *)(msg->SigP))->radio_freq; l1a_l1s_com.bcchn.list[neigh_number].fn_offset = fn_offset; @@ -1878,9 +1873,7 @@ l1a_l1s_com.bcchn.list[neigh_number].gprs_priority = NORMAL_PRIORITY; #endif - } // Enable L1S activity on this new neighbour task BCCH. - if (neigh_number < 6 )//OMAPS00090550 l1a_l1s_com.bcchn.list[neigh_number].status = NSYNC_PENDING; l1a_l1s_com.bcchn.current_list_size += 1; @@ -1979,15 +1972,7 @@ (l1a_l1s_com.bcchn.list[j].status != NSYNC_FREE)) && (j < 6)) { - if(j < 5 ) //OMAPS00090550 - { j++; - } - else - { - j++; - break; - } } // If found, reset L1 structure for this carrier.