Mac Wi-Fi Stutter

Fix Regular Cursor Stutter on a Mac over Wi-Fi (AirDrop, Universal Control)

If the cursor keeps freezing for a moment, about twice a second, while VirtualTablet is connected to a Mac over Wi-Fi, the Mac’s own Wi-Fi is pausing. It happens even right next to the router, and it goes away completely when the Mac is plugged in with an Ethernet cable or the tablet is connected with USB.

This page explains why, and how to stop it while staying on Wi-Fi.

Why it happens

Macs use a second wireless link called AWDL (Apple Wireless Direct Link) to talk directly to nearby Apple devices. AirDrop and Universal Control run on it. While AWDL is active, the Mac’s Wi-Fi radio leaves your router’s channel on a fixed schedule, about every half second, to visit the channel AWDL uses. While it is away, packets from your tablet cannot arrive, so the cursor stops and then catches up.

In our measurements on a MacBook Pro with the router 1 m away, the Mac spent about a quarter of the time off the router’s channel, in gaps of up to about 130 ms. With AWDL idle, the longest gap was under 30 ms.

Two settings keep AWDL active even when you are not using it:

  • AirDrop set to Everyone
  • Universal Control (moving your pointer and keyboard to a nearby Mac or iPad)

Handoff and AirPlay Receiver did not keep it active in our tests, so you can leave them on.

Fix 1: change two settings (recommended)

  1. Open System Settings > General > AirDrop & Handoff
  2. Set AirDrop to Contacts Only (or No One)
  3. Open System Settings > Displays > Advanced
  4. Turn off Allow your pointer and keyboard to move between any nearby Mac or iPad
  5. Wait a few minutes, then draw again
💡
The change is not instant. In our tests AWDL stopped a few minutes after Universal Control was turned off, so a test right after the change can still look broken. AirDrop still works with Contacts Only; it only wakes AWDL while you are actually sending or receiving.

Fix 2: move the router to the channel AWDL uses

If you want to keep AirDrop on Everyone or keep Universal Control, put your router’s 5 GHz Wi-Fi on the same channel AWDL uses. Then the Mac no longer has to leave the router’s channel.

Find the channel AWDL uses:

  1. Open Terminal on the Mac
  2. Run the command below and enter your Mac password
1
sudo wdutil info | grep -E "AWDL Enabled|Channel Sequence"
  1. Look at Channel Sequence. It lists 16 slots, for example 44 44 149 149 44 44 44 44 44 44 149 149 44 44 44 44. One number is your router’s channel; the other one is the channel AWDL visits (149 in this example)

Change the router’s channel:

  1. Open your router’s admin page (see the label on the router or its manual)
  2. In the 5 GHz wireless settings, set the channel to the AWDL channel you found, and keep the channel width as it was
  3. Save, wait for the Mac and tablet to reconnect, then run the command again. Every slot should now show the same channel

In our test (South Korea), AWDL used channel 149 while the router was on 44. With the router moved to 149, every slot showed 149 and the regular freezes were gone. AWDL can use a different channel in other countries, so always check with the command above instead of copying a number.

⚠️
Some older or imported devices cannot use 5 GHz channels 149 and above. After changing the channel, check that your other devices (TV, printer, smart home devices) still connect to the 5 GHz network.

Fix 3: skip Wi-Fi on one side

The two options from How to Minimize Cursor Delays also remove this problem completely:

Check whether AWDL is still active

Run the same command in Terminal:

1
sudo wdutil info | grep -E "AWDL Enabled|Channel Sequence"
  • AWDL Enabled: No: AWDL is idle and cannot cause this stutter
  • AWDL Enabled: Yes: something still keeps it active. Check the two settings in Fix 1 again, and wait a few minutes after changing them

VirtualTablet Server on a Mac also detects this pattern. When it sees the cursor stalling at a regular interval over Wi-Fi, the connection quality section suggests the same settings.