Adaptive Beamforming And Switching In Smart Antenna Systems