Cognitive Radio in a Regulatory Environment