Spectrum sensing and resource allocation strategies for cognitive radio