Skip to content

ieee80211: reject AP data from unassociated transmitters - #1206

Draft
mgonzalezlopezudc wants to merge 1 commit into
inet-framework:masterfrom
mgonzalezlopezudc:fix/ieee80211-audit-ap-source-admission
Draft

mgonzalezlopezudc wants to merge 1 commit into
inet-framework:masterfrom
mgonzalezlopezudc:fix/ieee80211-audit-ap-source-admission

Conversation

@mgonzalezlopezudc

Copy link
Copy Markdown
Contributor

Summary

An AP could forward uplink data without checking the original MPDU transmitter. Enforce association before recipient data processing, preserve immediate ACK behavior, and route authenticated-unassociated Class-3 violations to management for reason-7 Disassociation.

Scope

DCF/HCF admission, MIB, typed Class-3 indication and full AP management.

Standards references: IEEE 802.11-2024 §§11.3.3, 11.3.5.1 and 10.3.2.11.

Dependencies and merge order

No prerequisite within this audit series; this topic was built and tested independently on the pinned base.

Validation

Pinned test base: 7287f347aaca36e557c708d6930a6f5a450b2833.

The isolated topic head passed an assertions-enabled debug build (-O0 -Wall -g0; debug symbols omitted for storage) and the focused checks below. The larger integration source tree also passed debug and release compilation; no separate release build is claimed for this topic.

Executed focused test commands, from the repository root after source setenv -q:

inet_run_module_tests -m debug -f 'Ieee80211(ApClass3Response|ApSourceAdmission|ApSourceAdmissionQos|MgmtApLifecycle)_1\.test'

Results: 4 module cases passed.

Limits and review status

Simplified AP retains its documented admission behavior. No unverified mandatory State-1 Deauthentication rule is asserted.

Draft pending final independent review and reconciliation with current upstream. Live PR overlap has not been reverified against the pinned test base.

Validate the original MPDU transmitter before data service or A-MSDU address rewriting, while preserving immediate ACK behavior. Full APs discard unauthorized data; the simplified AP retains its documented all-associated abstraction. Clear authoritative station state on AP shutdown.

A typed MAC-to-management indication requests the verified State-2 response: Disassociation reason 7 for an authenticated but unassociated individual transmitter. Do not infer a mandatory State-1 Deauthentication rule from historical drafts. DCF/HCF rejection and associated positive controls, lifecycle tests, and the on-air State-2 response pass.

Change: src.ieee80211.ap | behavior.change.fix | test | wifi-audit
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