Document PCIe Wi-Fi cards on the Pi 5 as community-tested #187

Merged
aluminum-ice merged 1 commit from pcie-capture-adapters into main 2026-11-12 06:46:44 +00:00
Owner

What this PR does

Documents PCIe Wi-Fi cards on the Pi 5 as community-tested (not supported), after a report on the GitHub mirror (issue #3) of an MT7922 M.2 E-key card capturing on a Pi 5 through a PCIe-to-M.2 HAT. The README's WiFi capture adapter section now says what that takes on today's base image: building the in-kernel mt7921e module, which Raspberry Pi's 6.12 kernel doesn't enable (raspberrypi/linux#7416 enabled it from 6.18 only), and dtoverlay=pcie-32bit-dma-pi5, without which the driver fails to probe with -12. The overlay stays off by default because it slows other PCIe devices such as NVMe drives. The capture setup and troubleshooting pages link to that section, the MT7921U row now lists 6 GHz to match "WiFi 6E", and capture enable's no-adapter message no longer assumes a USB dongle.

Checklist

  • Lint passes — make lint (ansible --syntax-check, yamllint, shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.
  • Tests pass — make test (the kestrel_pi pytest suite and the real-data check's tests). The Test workflow runs this on the PR.
  • Nothing real: no secrets, no personal information, no real data. This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, .env files, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you.
  • Consent gates intact. Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced.
  • Docs updated in the same PR, if this changes something an operator sees or configures: the README package table, the relevant page under docs/, and the on-device operator guide (GUIDE_MD in kestrel_pi/userguide.py) where it applies.
  • Commit messages are short and imperative.

Release impact

  • App-layer-safe — changes only files the in-place update engine carries: the kestrel_pi package, plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine's LIB_SCRIPTS, or the CLI.
  • Reflash-class — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / config.txt / cmdline, kernel modules, the base image or partition size, builder/config.json, builder/config.yml, the Makefile, the Release workflow (.forgejo/workflows/main.yml), a shipped config default (config.toml / default.conf), or a brand-new lib script.

Notes for review

  • Docs plus one CLI message (kestrel.sh); no change to adapter detection, which already accepts any monitor-capable wlan that isn't the built-in chip, whatever its bus. The reporter's "adapter comes and goes" is very likely what #183 fixed in 1.0.14-beta.3 (tri-band cards have a long iw answer).
  • GUIDE_MD is left as it is: PCIe cards are a community note, not a supported setup, so the on-device guide keeps describing the USB dongle.
  • The reporter isn't named anywhere here; they've been asked on the mirror issue whether they'd like a thank-you in the release notes.
  • Lint and tests are left to CI: shellcheck and ansible-playbook aren't installed on the machine this was prepared on (bash -n and the real-data check pass there). Locally the pytest suite passes apart from five test_web.py potfile-import tests that fail identically on main in that environment.

🤖 Generated with Claude Code

## What this PR does Documents PCIe Wi-Fi cards on the Pi 5 as community-tested (not supported), after a report on the GitHub mirror (issue #3) of an MT7922 M.2 E-key card capturing on a Pi 5 through a PCIe-to-M.2 HAT. The README's WiFi capture adapter section now says what that takes on today's base image: building the in-kernel `mt7921e` module, which Raspberry Pi's 6.12 kernel doesn't enable (raspberrypi/linux#7416 enabled it from 6.18 only), and `dtoverlay=pcie-32bit-dma-pi5`, without which the driver fails to probe with `-12`. The overlay stays off by default because it slows other PCIe devices such as NVMe drives. The capture setup and troubleshooting pages link to that section, the MT7921U row now lists 6 GHz to match "WiFi 6E", and `capture enable`'s no-adapter message no longer assumes a USB dongle. ## Checklist - [ ] **Lint passes** — `make lint` (ansible `--syntax-check`, `yamllint`, `shellcheck --severity=error`, and the real-data check). The **Lint** workflow runs this on the PR. - [ ] **Tests pass** — `make test` (the `kestrel_pi` pytest suite and the real-data check's tests). The **Test** workflow runs this on the PR. - [x] **Nothing real: no secrets, no personal information, no real data.** This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, `.env` files, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you. - [x] **Consent gates intact.** Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced. - [x] **Docs updated in the same PR**, if this changes something an operator sees or configures: the README package table, the relevant page under `docs/`, and the on-device operator guide (`GUIDE_MD` in `kestrel_pi/userguide.py`) where it applies. - [x] Commit messages are short and imperative. ## Release impact - [x] **App-layer-safe** — changes only files the in-place update engine carries: the `kestrel_pi` package, `plugins/*.py`, systemd units, the journald drop-in, a lib script already in the engine's `LIB_SCRIPTS`, or the CLI. - [ ] **Reflash-class** — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / `config.txt` / `cmdline`, kernel modules, the base image or partition size, `builder/config.json`, `builder/config.yml`, the `Makefile`, the Release workflow (`.forgejo/workflows/main.yml`), a shipped config default (`config.toml` / `default.conf`), or a brand-new lib script. ## Notes for review - Docs plus one CLI message (`kestrel.sh`); no change to adapter detection, which already accepts any monitor-capable `wlan` that isn't the built-in chip, whatever its bus. The reporter's "adapter comes and goes" is very likely what #183 fixed in 1.0.14-beta.3 (tri-band cards have a long `iw` answer). - `GUIDE_MD` is left as it is: PCIe cards are a community note, not a supported setup, so the on-device guide keeps describing the USB dongle. - The reporter isn't named anywhere here; they've been asked on the mirror issue whether they'd like a thank-you in the release notes. - Lint and tests are left to CI: `shellcheck` and `ansible-playbook` aren't installed on the machine this was prepared on (`bash -n` and the real-data check pass there). Locally the pytest suite passes apart from five `test_web.py` potfile-import tests that fail identically on `main` in that environment. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Document PCIe Wi-Fi cards on the Pi 5 as community-tested
All checks were successful
Lint / lint (push) Successful in 31s
Test / test (push) Successful in 56s
Lint / lint (pull_request) Successful in 28s
Test / test (pull_request) Successful in 54s
ceedad3f90
A community member reported an MT7922 M.2 card capturing on a Pi 5. The
README's adapter section now says what it takes on today's base image:
building the in-kernel mt7921e module, which Raspberry Pi's 6.12 kernel
doesn't enable, and the pcie-32bit-dma-pi5 overlay, kept off by default
because it slows other PCIe devices. The capture setup and
troubleshooting pages point to it, the MT7921U row lists 6 GHz, and
capture enable's no-adapter message no longer assumes a USB dongle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch pcie-capture-adapters 2026-11-12 06:46:44 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aluminum-ice/kestrel!187
No description provided.