Repository navigation
wifi: mt7932: WPA2 PMF with PSK-SHA256 and 6 GHz LPI with J700 TPE projection - #659
Merged
Merged
Conversation
Retain cfg80211's optional/required MFP policy, validate WPA2 RSN admission and encode selected PSK-SHA256 as EA/40 AKM 0x0400. Advertise BIP-CMAC-128 with firmware-owned handshake, IGTK installation and BIP verification. Bind t-2862 country class data to the clean t-3460 CID5d class/TPE ABI. Project finite AP limits with t-3573's immutable J700 gain matrix and exact primary/bandwidth map, preserving signed half-dB and sentinel semantics. Keep SP/AFC and unknown layouts unsupported. Preserve aurora-wip's v2 VLP admission and firmware command sequence, including finite/absent TPE and AP-wide 160 MHz announcements. Retain v2 pages when v4 is installed alongside it, using v4 as the LP/extra-channel sidecar. New LPI and v4-only VLP use class publication and projected TPE. Restore the idle country policy and unconstrained TPE after retiring a new class connection. Partial publication closes RF admission until reset. Cover MFP/AKM encoders, class selectors, package ownership, legacy VLP regression and the gain SPEC's boundary/projection vectors with KUnit. Firmware acceptance and RF compliance require owner qualification. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
run-host-tests.py refuses unregistered test files, so register the new 6 GHz class policy tests next to the existing mt7932 policy tests. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Extract the production 6 GHz class enum and selector alongside regulatory helpers, and supply the notifier's six_ap_valid field in the host mock. Keep VLP-client restrictions in class admission rather than expecting the country domain to discard channels that can still admit LPI. Retarget the VLP-client mutation to the production selector and assert both VLP denial and LPI admission. Preserve the existing band, stale-policy, USB, wake and syscore controls, including old-source negative controls. Check that a regulatory update invalidates the cached AP decision. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
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.
WPA2 PSK-SHA256 now keeps optional/required MFP policy on the host, validates
AP RSN admission and writes AKM
0x0400at EA/0x40 body +0x14.BIP-CMAC-128 is advertised; firmware owns the handshake, IGTK installation
and BIP verification. No host key command or PMF readback bit is invented.
Rebased onto current
aurora-wip(f1c31a0c9f1b2428a7458ad6b965673814c3d6ab),retaining linux#646's driver changes and MAINTAINERS coverage. The clean
t-3573 SPEC supplies the fixed J700 antenna matrix and exact channel/BW map.
Finite TPE is projected independently for SISO/CDD/MIMO in signed half-dB,
with sentinel preservation and checked arithmetic.
“Admitted” below means the driver permits and submits the association.
New firmware paths have not been qualified on hardware by this task.
0x0400; required cannot downgrade. iwd/firmware/IGTK/BIP qualification remains.0x7f, absent or unsupported TPE0x7feffective limits; SAE-H2E or OWE, required MFP0x1aLP pages, projected 60-byte TPE, then EA/40.0x2aVLP pages and projected TPE before EA/40. Uses the same J700 matrix as LPI.-128, unsupported extended PSD, missing gain-map cell or unrepresentable projectionThe no-regression comparison covers
12010e055535and current aurora-wip:neither parses VLP TPE before joining. When v2 and v4 coexist, the driver
keeps v2's base/CID5d/CID95 pages, numeric clamp over the original VLP channel
set, and both cached 1020-byte post-CID6b association pages. v4 is retained
as a hashed class sidecar for LP/additional channels. KUnit proves finite
VLP selection, absent TPE, AP-wide 160 MHz, original page bytes/CIDs, both
file lifetimes and the unchanged legacy numeric clamp.
Legacy directed discovery remains available on legacy VLP channels; newly
added class-only channels scan passively. New class connections revalidate
AP information, close data admission on changed policy, and restore the idle
country policy plus all-
0x7fTPE after peer/DMA retirement. Partial SETfailure closes RF admission until checked reset. Command submission is not
firmware acknowledgment or active-class readback.
The installer branch is unchanged. It can be installed independently:
older kernels ignore
policy-v4/and continue using the retained v1/v2packages. Using the installer's LPI/v4 data requires this kernel consumer;
WPA2-PMF does not depend on the installer change. The kernel's LPI path
requires valid bound v4 packages, produced by this installer or the public
packaging tool. Retain v1/v2 and the known-good kernel for rollback.
Final validation on kernel commit
6156b0c17bc35fe4c26ffd42f59df8814e0c0c06:(2796 lines checked).
event/wait/calibration controls: 30 pass, all four mutations rejected.
7.3.0-aurora-fleet11 SMP preempt mod_unload aarch64.All heavy gates used
/srv/aurora/fast/buildslotwith eight build jobs.The task checkout, build/KUnit outputs and temporary build dependencies were
deleted after bundle/module verification. Shared fleet11 inputs were retained.
Local branches, bundles, fleet11-vermagic Wi-Fi/Bluetooth modules,
UNRESOLVED.mdand the controller-only owner commands are delivered forreview. The reviewer opens and merges. No push, PR, merge, hardware access
or messages to other people were performed. Build trees are removed after
verified packaging; failures and prior delivery evidence are retained.
🤖 Generated with Claude Code