Adaptive filtering based DS/SS code acquisition in frequency selective and flat Rayleigh fading channels