Cooperative spectrum sensing via coherence detection