Page MenuHomeFreeBSD

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

Authored by bz on Wed, Mar 4, 8:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 12, 10:36 AM
Unknown Object (File)
Tue, Mar 10, 8:33 PM
Unknown Object (File)
Sun, Mar 8, 3:45 AM
Unknown Object (File)
Fri, Mar 6, 11:10 PM
Unknown Object (File)
Thu, Mar 5, 1:29 PM
Unknown Object (File)
Thu, Mar 5, 11:36 AM
Unknown Object (File)
Thu, Mar 5, 11:12 AM
Unknown Object (File)
Thu, Mar 5, 11:07 AM

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