Repository navigation
Releases
omdrop-awdl 0.11.0
- AirDrop turns off before Wi-Fi leaves a network. A NetworkManager hook ends any open AirDrop window and turns AWDL off before a network switch. Joining a network on some channels with AWDL on could wedge Wi-Fi until a restart (#74, #95).
- A window starts on the right schedule after a network change. When AirDrop's radio interface was left on another network's schedule, a new window now rebuilds it, and refuses to open if that fails (#98).
- AirDrop works on more 5 GHz networks. On channels other than 44 and 149, the default master now follows the Wi-Fi channel, so
omdrop onno longer fails there. Thanks @srsuchard (#88). - The vendored kernel and patch series are unchanged.
omdrop-awdl 0.10.9
- Channel 44 uses the
mac6gschedule by default. When Wi-Fi is on channel 44 and there's nochan-shapeoverride,awdl-upusesmac6g. Other channels still default todense. You can still opt intomac6gon any channel. (#90, #91) - Peer slots follow 2.4 GHz Wi-Fi. When the default schedule would miss the Wi-Fi channel, channel 1 or 11 takes the peer slots. (#86)
- The schedule record is cleared safely. It's cleared only after
awdl0is confirmed absent, andawdl-upstops if it can't clear the record. (#87) - The test harness leaves the host's NetworkManager alone. The reload tests no longer touch it. (#85)
The vendored kernel and the patch series are unchanged from 0.10.8.
omdrop-awdl 0.10.8
- Sends to a Mac keep working after the first minute. On 5 GHz Wi-Fi, the AirDrop radio now uses AWDL master channel 149, so a Mac keeps this computer reachable and goes on answering lookups and sends. To choose the channel yourself, write it to
/etc/omdrop/master-chan. (#79, #81) - Long sends complete. A send keeps its Bluetooth wake signal up until it finishes, so a Mac or iPhone keeps its AirDrop server open through the whole negotiation and transfer. (#82)
- The radio schedule is checked before it is applied.
awdl-uprefuses a schedule that never visits the Wi-Fi channel before it unloads or writes anything, so a bad setting can't drop the Wi-Fi connection. (#80) - Schedule changes apply completely or not at all. A failed write stops the run, and the schedule announced to other devices is always the one the radio was given. (#80, #81)
awdl0is created once Wi-Fi is connected. If Wi-Fi isn't associated at boot, the interface is created when Omdrop is turned on and Wi-Fi reports a channel.
No kernel patch changed since 0.10.7.
After upgrading, restart the computer, or turn Wi-Fi off and back on, before you turn Omdrop on. Until then Omdrop reports that the radio interface needs restarting.
omdrop-awdl 0.10.7
-
The boot-time warm-up is now opt-in. The package installs
awdl-warmup.servicebut no longer enables it, so AWDL isn't turned on at boot unless you ask for it. To have the first AirDrop window after a boot open in seconds instead of about a minute:sudo systemctl enable awdl-warmup.serviceIf you're upgrading from 0.10.4–0.10.6, which enabled it by default, the upgrade turns it off and says so. Run the command above to keep it.
No kernel patches or helpers changed since 0.10.6.
omdrop-awdl 0.10.6
-
Omdrop can tell which Wi-Fi driver supplies AirDrop (#73).
probe --jsonnow reports a"module"field:kernel: the running kernel's own Wi-Fi driver supports AWDL, as onlinux-aurora7.2. This package then installs only its helpers and builds no driver.dkms: AWDL needs this package's driver build, as onlinux-asahi.unknown: the probe couldn't tell.
The probe uses the same test as the DKMS build, so they agree on which kernels the build skips. With an Omdrop plugin that reads this field (omdrop-plugin#124),
omdrop doctorandinstall-driveron a native kernel talk about updating AirDrop's helpers instead of a "patched Wi-Fi driver". Older plugins ignore the field and behave as before.
No kernel patches or other helpers changed since 0.10.5.
Tested on an M1 Pro with linux-aurora 7.2.11, whose own driver supports AWDL: the probe reports "module":"kernel".
omdrop-awdl 0.10.5
- Wi-Fi keeps working after suspend (#69, fixes #67). Before the machine suspends or hibernates, a new sleep hook ends any AirDrop window, turns AWDL off, and removes
awdl0. That covers the boot warm-up or a window that's still starting. Leavingawdl0in place across suspend correlated with Wi-Fi that wouldn't reconnect until a reboot. After resume, the firstomdrop onrebuilds it, which takes about 20 s to 2 minutes. - The first window after a resume no longer gets stuck (#69). The transmit check can now restart AWDL even after an earlier window, instead of reporting the radio stuck until a restart.
- Driver reset and unload are safer (#68, fixes #59 and #60). Three kernel patches fix races when the Wi-Fi firmware crashes and the driver resets, or when the driver is unbound or unloaded while AirDrop is on. One of them could have frozen networking.
Tested on an M1 Pro with linux-aurora 7.2.11:
- a firmware reset, an unbind and a driver unload with AirDrop on, with no hang or kernel warning;
- two real suspends with AirDrop on: Wi-Fi came back each time, and the next window opened.
omdrop-awdl 0.10.4
- The first AirDrop window after a boot opens in seconds (#64). A new
awdl-warmup.service, enabled by the package, createsawdl0at boot and runs the transmit check once in the background, so a cold radio's slow first start no longer delays the firstomdrop onby a minute or more. It announces nothing while no window is open. To turn it off:sudo systemctl mask awdl-warmup.service. - Turning AirDrop on during the warm-up waits for it (#64). Instead of failing, the start waits for the warm-up to finish (up to 180 s) and then opens the window. omdrop 0.18.7 does the same.
- Login is no longer delayed when
awdl0.serviceis enabled (#64). It was a oneshot that held up the desktop by about 25 s. It and the warm-up can both be enabled; the second waits for the first. - The driver is compile-tested in CI against
asahi-7.1.13-3andasahi-7.2.12-3(#63).
Tested on an M1 Pro with linux-aurora 7.2.11: a start during the boot warm-up waited and then opened its window, later windows opened in about 8 s, and an AirDrop receive from a Mac worked.
omdrop-awdl 0.10.3
- Linux 7.2's own AirDrop driver is recognized (#57).
linux-aurora7.2 has AirDrop support built into its Wi-Fi driver, with anawdlon/off switch in place of the olderawdl_create_flags. The package now leaves that driver in place instead of building its own over it, andomdrop doctorreports it ready. If AirDrop is switched off in the driver (awdl=0),doctorsays so. - Builds on Linux 7.2 (#58). The driver source moves to Asahi's
asahi-7.2.12-2, solinux-asahi7.2, which has no AirDrop support of its own, gets the module. The same source still builds on 7.1 kernels (0015). 0016 drops a duplicate Wi-Fi port-authorization report that arrived out of order in that Asahi release.
Tested on hardware on a 7.1 kernel: DKMS install, driver reload, and an AirDrop receive. Support for linux-asahi 7.2 has been compile-tested only.
omdrop-awdl 0.10.2
- Reloading the driver no longer leaves Wi-Fi down (#52, fixes #51). On the first
awdl-up --reloadafter the DKMS modules were installed or rebuilt, the stockbrcmutilwas still loaded, and the patchedbrcmfmacfailed with an unknown symbol until a reboot. A reload now unloadsbrcmutilas well. If another module holdsbrcmutil, the reload stops before unloading anything, while Wi-Fi still works. - Omdrop says when the driver isn't built for your kernel (#53). If the DKMS build fails for a new kernel, the kernel's own
brcmfmacloads instead, and it has no AWDL.omdrop doctorused to report nothing wrong in that case, andomdrop onsuggested toggling Wi-Fi or restarting. Both now say that the driver isn't built for the running kernel and give the command that rebuilds it and shows why the last build failed. A driver with AWDL is recognized by itsawdl_create_flagsparameter, so a kernel whose own driver has AWDL still counts as ready.
The kernel patches and omdrop-discoverable are unchanged.
omdrop-awdl 0.10.1
- The sender's reads have limits (#48).
airdrop-send.pyreads at most 4 MiB of a receiver's answer, the same limit as omdrop-core's sender. It accepts only well-formed chunk sizes, treats an answer shorter than its declared length as incomplete, and gives a whole answer at most twice the operation timeout. - Plists decode within limits. The
/Discoveranswer and the opt-in debug dump are decoded through the newuserspace/awdl_plist.py, with omdrop-core's limits (values, depth and decoded size) applied while decoding. - Device names are normalized. A device's reported name drops control, line-separator, bidi and zero-width characters and is capped at 255 bytes, so
send-to-peerlists one device per line. Omdrop 0.18.4 streams name lookups to its panel only from this release onward.
The kernel patches, the radio hooks and omdrop-discoverable are unchanged.