Page MenuHomeFreeBSD

net80211: sta: RUN to INIT is a DEAUTH not a DISASSOC
Needs ReviewPublic

Authored by bz on Mar 4 2026, 8:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 9:36 PM
Unknown Object (File)
Tue, Apr 28, 9:30 PM
Unknown Object (File)
Tue, Apr 21, 12:24 AM
Unknown Object (File)
Mon, Apr 20, 2:55 AM
Unknown Object (File)
Wed, Apr 15, 12:34 AM
Unknown Object (File)
Sat, Apr 11, 12:33 AM
Unknown Object (File)
Wed, Apr 8, 9:53 AM
Unknown Object (File)
Sun, Apr 5, 1:14 PM

Details

Reviewers
None
Group Reviewers
wireless
Summary

When taking a node down from RUN to INIT (the latter being the important
part) we are going back to State 1 (cf. 802.11-2024, Figure 11-23) and
that is a DEUATH and not a DISASSOC change (like ASSOC to INIT).
Correct the management type frame we are sending and reason.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Test Plan

Is there any reason why we did send a disassoc in this case forever?
I saw it elsewhere too in a Linux based product which made me wonder.
Even the simple diagram in 802.11-2007 (Figure 11-6) seems to have
it as deauth.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71171
Build 68054: arc lint + arc unit