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
F146781600: D55644.diff
Thu, Mar 5, 1:29 PM
F146772449: D55644.diff
Thu, Mar 5, 11:36 AM
F146770563: D55644.id173098.diff
Thu, Mar 5, 11:12 AM
F146770139: D55644.id.diff
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