Skip to content

net: apple: Add N1 protocol-27 station and data-ring consumer - #251

Closed
DjDeveloperr wants to merge 1 commit into
apif-centauri-corefrom
apif-centauri-wifi
Closed

DjDeveloperr wants to merge 1 commit into
apif-centauri-corefrom
apif-centauri-wifi

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Add the N1 Alpha cfg80211/netdev station consumer as a separate layer on the shared firmware transport. Keep the protocol-27 command profile, active 2.4/5 GHz scans, WPA2-PSK/CCMP firmware handshake offload, 2,048-entry data rings and coalesced TX completions.

Remove the private passphrase/debugfs interface, firmware dumps, packet probes, diagnostic mode switches, snapshots and success logging. The Control driver already requires explicit firmware profile metadata; this consumer does not dispatch by machine name. Disabled/NO_IR channels are excluded from active scans because passive scan encoding is not established. WPA3, 6 GHz and roaming are outside the established driver scope.

Validate frame offsets, completion spans and RSSI TLVs. A lost/cancelled command completion poisons new commands and stops transmission. A key payload is cleared only when the transfer tail proves consumption; safe IPC teardown scrubs backing buffers after all DMA owners have stopped. IRQ publication and teardown synchronize before Wi-Fi storage is freed.

Validation: native arm64 linked transport/consumer objects with real Kconfig enabled, production-function frame/completion/TLV/ownership host tests and whitespace checks passed. Hardware traffic and suspend/resume qualification of this cleaned series remains pending. No GPU changes.

Depends on #250 (N1 firmware/IPC transport).

Keep the existing ring sizes and coalesced completion behavior. Remove
manual bring-up controls, packet probes, snapshots and success logging.
Use the explicit firmware profile rather than machine-name dispatch.

Check frame and TLV bounds. Poison new commands after unknown completion,
and retain key payloads until their transfer tail proves consumption.
Scrub IPC buffers only after verified DMA shutdown. Respect NO_IR during
active scans while passive encoding remains unqualified.

Signed-off-by: Dj <hey@djdev.me>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Superseded by #483, refreshed from the current T6050 source onto Linux 7.3 integration. The new shared base is #472; all feature PRs now target t6050/base. Closing this stale chained version and keeping its branch for history.

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.

1 participant