Channel And Frequency Offset Estimation For Ofdm-Based Systems