Skip to content

Fix/intel 8265 workaround - #122

Closed
mo1ein wants to merge 2 commits into
t4t5:mainfrom
mo1ein:fix/intel-8265-workaround
Closed

mo1ein wants to merge 2 commits into
t4t5:mainfrom
mo1ein:fix/intel-8265-workaround

Conversation

@mo1ein

@mo1ein mo1ein commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Allow experimental operation on the Intel Wireless-AC 8265 (8086:24fd) and provide optional local setup for systems where IPv6 policy routing blocks AirDrop replies.

The firmware workarounds are backported from t4t5/owly#117, with additional validation and regression coverage. Original hardware findings are documented in #116.

Problem

Owly marks the 8265 as broken and refuses to create awdl0. The underlying firmware stalls its group transmit queue and stops transmitting after the first ad-hoc beacon.

A separate routing issue prevented Mac discovery on the test machine: incoming TCP connection requests reached port 8771, but an IPv6 reject rule prevented Linux from replying.

Changes

  • Send broadcast and multicast frames as individual unicast copies to known peers.
  • Rejoin the ad-hoc cell every nine seconds to work around the firmware stall.
  • Keep both quirks specific to 8086:24fd, marked experimental and requiring allow_untested = true.
  • Filter multicast peer addresses to prevent recursive retransmission and reject zero rejoin intervals.
  • Add regression tests for recipient selection, device-specific configuration, rejoining, and shutdown recovery.
  • Add optional local installation and diagnostic scripts that preserve the packaged daemon.
  • Through the local installer, add an idempotent routing exception for fe80::/64 traffic scoped to awdl0. Existing rules are preserved, and an occupied rule priority causes installation to stop.

Validation

  • AWDL tests: 63 passed.
  • Radio unit and injection tests: 55 passed.
  • Service integration tests: 11 passed.
  • Formatting, Clippy, release build, hardware table consistency, and protocol coverage checks passed.
  • Isolated routing tests confirmed that global IPv6 and other interfaces remain blocked.
  • Live testing confirmed radio startup, Wi-Fi recovery, Mac discovery, and a file offer from a MacBook Pro running macOS 27.0.1.

The native kernel integration test remains blocked by the host’s unprivileged user-namespace restrictions.

Limitations

Completed file reception has not yet been confirmed. The workaround periodically restarts the firmware, causing brief interruptions; larger transfers may require retries.

Backport t4t5/owly PR t4t5#117 (cfb06ec) by LeandroLP23. Keep the workaround device-specific and opt-in; add interval validation, guard against multicast peer recursion, and verify radio rejoin and shutdown recovery.

Provide a local installer that preserves the packaged daemon and selects the experimental build through a systemd drop-in.
A packet capture showed Mac TCP SYNs arriving without replies because priority 9000 rejects IPv6 before the main routing table. Ensure a priority 8990 exception only for fe80::/64 destinations scoped to awdl0, and restore it at service startup.

Verify route isolation, idempotence and priority conflicts in network namespaces. Add a bounded local receiver that waits for the radio lease and keeps interactive input in the foreground.
@t4t5

t4t5 commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Thanks! I merged #117 and brought your multicast-peer filter and zero-interval check into it, so I'm closing this one.

@t4t5 t4t5 closed this Nov 20, 2026
@mo1ein

mo1ein commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants