RS_STATE_SEARCH_CYCLE_ENDED
lq_sta->rs_state = RS_STATE_SEARCH_CYCLE_ENDED;
if (done_search && lq_sta->rs_state == RS_STATE_SEARCH_CYCLE_ENDED) {