Impact of Rayleigh fading channel on connectivity in wireless sensor networks