-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path课时56 MANAGEMENT FRAME 管理帧.txt
executable file
·241 lines (208 loc) · 16.5 KB
/
课时56 MANAGEMENT FRAME 管理帧.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
课时56 MANAGEMENT FRAME 管理帧
╋━━━━━━━━━━━━━━━━╋
┃ MANAGEMENT FRAME ┃
┃ 管理帧 ┃
╋━━━━━━━━━━━━━━━━╋
╋━━━━━━━━━━━━━━━━╋
┃MANAGEMENT FRAME ┃
┃用于协商和控制STA与AP之间的关系 ┃
╋━━━━━━━━━━━━━━━━╋
┌───────┬────────┬───────────────────────┐
│ Type Filed │ Subtype Filed │ Description │
├───────┼────────┼───────────────────────┤
│ 0 │ 0 │ Association Request │
├───────┼────────┼───────────────────────┤
│ 0 │ 1 │ Association Response │
├───────┼────────┼───────────────────────┤
│ 0 │ 2 │ Re-association Request │
├───────┼────────┼───────────────────────┤
│ 0 │ 3 │ Re-association Response │
├───────┼────────┼───────────────────────┤
│ 0 │ 4 │ Probe Request │
├───────┼────────┼───────────────────────┤
│ 0 │ 5 │ Probe Response │
├───────┼────────┼───────────────────────┤
│ 0 │ 6 │ Measurement Pilot │
├───────┼────────┼───────────────────────┤
│ 0 │ 7 │ Reserved │
├───────┼────────┼───────────────────────┤
│ 0 │ 8 │ Beacon │
├───────┼────────┼───────────────────────┤
│ 0 │ 9 │ ATIM │
├───────┼────────┼───────────────────────┤
│ 0 │ 10 │ Disassociation │
├───────┼────────┼───────────────────────┤
│ 0 │ 11 │ Authentication │
├───────┼────────┼───────────────────────┤
│ 0 │ 12 │ Deauthentication │
├───────┼────────┼───────────────────────┤
│ 0 │ 13 │ Action │
├───────┼────────┼───────────────────────┤
│ 0 │ 14 │ Action No ACK │
├───────┼────────┼───────────────────────┤
│ 0 │ 15 │ Reserved │
└───────┴────────┴───────────────────────┘
╋━━━━━━━━━━━━━━━━━━━━━╋
┃BEACON FRAMES ┃
┃AP发送的广播帧,通告无线网络的存在(BSSID) ┃
┃发包频率 ┃
┃ 102.4ms (可变) ┃
┃ 时间单位1024 microsecond (60秒) ┃
┃SSID网络名 ┃
┃ 隐藏AP不发SSID广播 ┃
╋━━━━━━━━━━━━━━━━━━━━━╋
2 2 6 6 6 2 ┌───────────────┐
┌──────┬──────┬──────┬────┬────┬─────┐ │ │
│ Frame │ Duration │ Destination│ Source │ BSS ID │ Sequence │ │ Note:All values are in bytes │
│ control │ │ Address │ Address│ │ Control │ │ │
└──────┴──────┴──────┴────┴────┴─────┘ └───────────────┘
↘ ↙
↘ 24 ↙ Variable 4
┌───────────┬──────────┬────┐
│ Header │ Frame body │ FCS │
└───────────┴──────────┴────┘
↙ ↘
↙ 8 2 2 Variable Variable 6 2 8 ↘
┌───────────┬─────┬──────┬────┬─────┬─────────┬───────┬───────┐
│ Timestamp │ Beacon │ Capabity │ SSID │Supported │ FH Paramenter Set│ DS │ CF │
│ │ interval │ information│ │ rates │ │Parameter set │Parameter set ├┐
└───────────┴─────┴──────┴────┴─────┴─────────┴───────┴───────┘│
│
┌──────────────────────────────────────────────────────────────┘
│ 2 Variable Variable 4 Variable 3 6 8 Variable
│ ┌───────┬────┬──────┬─────┬─────┬────┬───────┬────────┬────┐
│ │ IBSS │ TIM │ Country │FH Hopping│FH pattecn│ Power │Channel switch│ Quiet │IBSS DFS│
└─→│Parameter set │ │information │ parameter│ table │constant│ announcement │ │ ├┐
└───────┴────┴──────┴─────┴─────┴────┴───────┴────────┴────┘│
│
┌──────────────────────────────────────────────────────────────┘
│ 4 3 Variable Variable
│ ┌───┬──────┬─────┬─────┐
│ │ TPC │ EXP │Extended │Robust │
└─→│Report│ information│Supported │Security │
│ │ │ rates │Network │
└───┴──────┴─────┴─────┘
╋━━━━━━━━━━━━━━━━╋
┃BEACON FRAMES ┃
┃IBSSI Status ┃
┃ 0: infrastructure ┃
┃ 1: ad-hoc ┃
┃Privicy ┃
┃ WEP、WPA ┃
┃ESSID ┃
┃ 名称、长度 ┃
┃速率 ┃
┃ 802.11 g (1-----54Mbit) ┃
┃信道 ┃
┃ 11 ┃
╋━━━━━━━━━━━━━━━━╋
╋━━━━━━━━━━━╋
┃PROBE REQUEST FRANES ┃
┃用于STA扫描现有AP ┃
┃ 发现连接过的AP ┃
┃ 发现未连连接的AP ┃
╋━━━━━━━━━━━╋
24 Variable 4
┌───────────┬──────────┬────┐
│ Header │ Frame body │ FCS │
└───────────┴──────────┴────┘
↙ │ ↘
│
│
↙ 2 2 6 6 6 2 │Variable Variable Variable ↘
┌──────┬──────┬──────┬────┬────┬─────┬────┬─────┬─────┐
│ Frame │ Duration │ Destination│ Source │ BSS ID │ Sequence │ SSID │Supported │Extended │
│ control │ │ Address │ Address│ │ Control │ │ rates │Supported │
│ │ │ │ │ │ │ │ │ rates │
└──────┴──────┴──────┴────┴────┴─────┴────┴─────┴─────┘
╋━━━━━━━━━━━━━━━━━━━━━╋
┃PROBE REQUEST FRANES ┃
┃发现连接过的AP时,速率和ESSID相同的AP响应 ┃
╋━━━━━━━━━━━━━━━━━━━━━╋
2 2 6 6 6 2 ┌───────────────┐
┌──────┬──────┬──────┬────┬────┬─────┐ │ │
│ Frame │ Duration │ Destination│ Source │ BSS ID │ Sequence │ │ Note:All values are in bytes │
│ control │ │ Address │ Address│ │ Control │ │ │
└──────┴──────┴──────┴────┴────┴─────┘ └───────────────┘
↘ ↙
↘ 24 ↙ Variable 4
┌───────────┬──────────┬────┐
│ Header │ Frame body │ FCS │
└───────────┴──────────┴────┘
↙ ↘
↙ 8 2 2 Variable Variable 6 2 8 ↘
┌───────────┬─────┬──────┬────┬─────┬─────────┬───────┬───────┐
│ Timestamp │ Beacon │ Capability │ SSID │Supported │ FH Paramenter Set│ DS │ CF │
│ │ interval │ information│ │ rates │ │Parameter set │Parameter set ├┐
└───────────┴─────┴──────┴────┴─────┴─────────┴───────┴───────┘│
│
┌──────────────────────────────────────────────────────────────┘
│ 2 Variable Variable 4 Variable 3 6 8 Variable
│ ┌───────┬────┬──────┬─────┬─────┬────┬───────┬────────┬────┐
│ │ IBSS │ TIM │ Country │FH Hopping│FH pattecn│ Power │Channel switch│ Quiet │IBSS DFS│
└─→│Parameter set │ │information │ parameter│ table │constant│ announcement │ │ ├┐
└───────┴────┴──────┴─────┴─────┴────┴───────┴────────┴────┘│
│
┌──────────────────────────────────────────────────────────────┘
│ 4 3 Variable Variable
│ ┌───┬──────┬─────┬─────┐
│ │ TPC │ EXP │Extended │Robust │
└─→│Report│ information│Supported │Security │
│ │ │ rates │Network │
└───┴──────┴─────┴─────┘
╋━━━━━━━━━━━╋
┃AUTHENTICATION FRAMES ┃
╋━━━━━━━━━━━╋
2 2 6 6 6 2
┌──────┬──────┬──────┬────┬────┬─────┐
│ Frame │ Duration │ Destination│ Source │ BSS ID │ Sequence │
│ control │ │ Address │ Address│ │ Control │
└──────┴──────┴──────┴────┴────┴─────┘
↘ ↙
↘ 24 ↙ Variable 4
┌───────────┬──────────┬────┐
│ Header │ Frame body │ FCS │
└───────────┴──────────┴────┘
↙ ↘
↙ 2 2 2 Variable ↘
┌───────┬───────┬──────┬───────┐
│Authentcation │Authentcation │ │ │
│Algorlthen No │ Transcation │ Status Code│Challenge text│
│ │ Seq NO │ │ │
└───────┴───────┴──────┴───────┘
╋━━━━━━━━━━━━━━━━━━╋
┃AUTHENTICATION FRAMES ┃
┃Authentication Algorith身份认证类型 ┃
┃ 0: 开放系统身份验证 ┃
┃ 1: 共享密钥身份验证 ┃
┃身份认证有多个帧交换过程组成 ┃
┃Authentication Seq ┃
┃ 每次身份验证过程Seq唯一 ┃
┃ 1-65535 ┃
┃Challenge text ┃
┃ 只有共享秘钥方式才有此字段 ┃
┃Status Code: 成功/失败 ┃
╋━━━━━━━━━━━━━━━━━━╋
╋━━━━━━━━━━━━━━━━━━━━━━━╋
┃ASSOCIATION/REASSOCIATION FRAMES ┃
┃身份验证成功后,STA执行关联操作,加入无线网络 ┃
┃ Association Request ┃
┃ Reassociation Request ┃
┃ Association Request ┃
╋━━━━━━━━━━━━━━━━━━━━━━━╋
╋━━━━━━━━━━━━━━━━━╋
┃ ASSOCIATION REQUEST FRAMES ┃
╋━━━━━━━━━━━━━━━━━╋
24 Variable 4
┌───────────┬──────────┬────┐
│ Header │ Frame body │ FCS │
└───────────┴──────────┴────┘
↙ │ ↘
│
│
↙ 2 2 6 6 6 2 │Variable Variable Variable ↘
┌──────┬──────┬──────┬────┬────┬─────┬────┬─────┬─────┐
│ Frame │ Duration │ Destination│ Source │ BSS ID │ Sequence │ SSID │Supported │Extended │
│ control │ │ Address │ Address│ │ Control │ │ rates │Supported │
│ │ │ │ │ │ │ │ │ rates │
└──────┴──────┴──────┴────┴────┴─────┴────┴─────┴─────┘