RED-based Channel Selection Algorithm in Cognitive Network