wifi 帧分类

转载自  https://www.rfwireless-world.com/Terminology/WLAN-class1-class2-class3-frames.html

This page describes difference between WLAN class1, class2 and class3 as per IEEE 802.11 WLAN standard.

Figure-1 below depicts 802.11 state diagram. As shown allowed frame types vary with the association and authentication states. Stations are either authenticated or unauthenticated and can be associated or unassociated. These two variables can be combined into three allowed states.

There are three states as mentioned below:

State-1. Initial state; not authenticated and not associated
State-2. Authenticated but not yet associated
State-3. Authenticated and associated

WLAN Class1 frames

a) WLAN Class 1 frames (permitted from within States 1, 2, and 3)
1) Control frames
i) Request to send (RTS)
ii) Clear to send (CTS)
iii) Acknowledgment (ACK)
iv) Contention-Free (CF)-End+ACK
v) CF-End
2) Management frames
i) Probe request/response
ii) Beacon
iii) Authentication: Successful authentication enables a STA to exchange Class 2 frames.
Unsuccessful authentication leaves the STA in State 1.
iv) Deauthentication: Deauthentication notification when in State 2 or State 3 changes the
STA's state to State 1. The STA shall become authenticated again prior to sending Class 2
frames. Deauthentication notification when in State 3 implies disassociation as well.
v) Announcement traffic indication message (ATIM)
vi) Spectrum Management Action: Within an IBSS, action frames are Class 1.
3) Data frames
i) Data: Data frames between STAs in an IBSS with frame control (FC) bits "To DS" and "From DS" both false.

ControlManagementData
RTSProbe RequestAny frame with ToDS and FromDS false(0)
CTSProbe Response
AcknowledgmentBeacon
CF-EndAuthentication
CF-End+CF-AckDeauthentication
ATIM(Announcement Traffic Indication Message)

WLAN Class2 frames

WLAN Class 2 frames (if and only if authenticated; allowed from within States 2 and 3 only)
1) Management frames
i) Association request/response: Successful association enables Class 3 frames.
Unsuccessful association leaves STA in State 2.
ii) Reassociation request/response: Successful reassociation enables Class 3 frames.
Unsuccessful reassociation leaves the STA in State 2 (with respect to the STA that was
sent the reassociation message). Reassociation frames shall only be sent if the sending
STA is already associated in the same ESS.
iii) Disassociation: Disassociation notification when in State 3 changes a STA's state to
State 2. This STA shall become associated again if it wishes to utilize the DS.
If STA A receives a Class 2 frame with a unicast address in the Address 1 field from STA B that is
not authenticated with STA A, STA A shall disallow the received Class 2 frame and send a
deauthentication frame to STA B.

ControlManagementData
NoneAssociation Request/ResponseNone
Reassociation Request/Response
Disassociation

WLAN Class3 frames

WLAN Class 3 frames (if and only if associated; allowed only from within State 3)
1) Data frames
i) Data subtypes: Data frames allowed, i.e., either the "To DS" or
"From DS" FC bits may
be set to true to utilize the DSS.
ii) QoS data subtypes allowed to/from non-AP STA(s) that are associated with AP(s).
iii) Data frames between STAs in a BSS with FC bits "To DS" and
"From DS" both false.
2) Management frames
i) QoS, DLS, and Block Ack Action
3) Control frames
i) Power save (PS)-Poll
ii) Action: Within an infrastucture BSS, action frames are Class 3.
iii) Block Ack (BlockAck)
iv) Block Ack Request (BlockAckReq)

ControlManagementData
PS-PollDeauthenticationany frames including those with either the ToDS or FromDS bits set

Deauth reason

1.png
2.png

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值