Broadband cognitive radio enabled by photonics