Basics of Cognitive Radio