Repository navigation
net: apple: Add N1 protocol-27 station and data-ring consumer - #251
Closed
DjDeveloperr wants to merge 1 commit into
Closed
DjDeveloperr wants to merge 1 commit into
DjDeveloperr wants to merge 1 commit into
Conversation
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>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).