A generalized waveform synthesis mechanism for software radio