sampling frequency is drastically reduced when wifi is on

Just sampling analog signal I see more than 100 samples every 20 ms.

If wifi is used I see less than 10 samples every 20 ms.

Is there any way to avoid this degradation in sampling rate?

(deleted)