AWDL causing ping spikes - Patch planned? Can AWDL be permanently disabled?
Good morning from the UK,
I have had a rather annoying problem with ping spikes for a couple of weeks now, coming out of nowhere. My MBP 16" M1 Pro is the only device on the network exhibiting the problem; a Mac mini M1, MacBook Air M1, iPhone and a number of other devices don't show the same behaviour.
This made video conferencing nigh on impossible with ping spikes regularly exceeding 600-1000ms every 5-10 seconds. After a night of googling and diagnosing the wifi.log it turned out that every few seconds, there would be wifi network discovery on awdl0, preceded by
Mon Jun 27 21:11:45.999 Driver Event: <airport[1456]> _bsd_80211_event_callback: AWDL_PEER_PRESENCE (awdl0)
which skyrocketed the ping every time. This seems to be a common beacon function when other AWDL devices are found in the vicinity - importantly though, none of the other devices show the same behaviour.
I shut down every other program and ran a virus scan to make sure I hadn't caught any nasties somehow, with no signs thereof.
I then simply shut down awdl0 via ifconfig and voila, the ping spikes completely vanished. Unfortunately, after every sleep cycle it restarts, and every time something (legitimately) triggers a wifi network search it restarts again.
This appears to be a known, if uncommon, problem.
Are there any patches planned for this? Is there a way to permanently disable AWDL?
MacBook Pro 16″, macOS 12.4