6.3.2 802.11管理帧WSC IE设置
最后更新于:2022-04-02 06:04:21
WSC规范规定,不同的管理帧中WSC IE必须包含一些特定属性,下面将简单介绍这些管理帧中WSC IE包含的属性及它们的作用。
**1、Probe Request和Response帧设置**
Probe Request帧中WSC IE包含的属性如表6-1所示。
:-: 
表6-1 Probe Request帧中WSC IE属性设置
图6-18所示为Galaxy Note 2的Probe Request WSC IE的内容。
:-: 
图6-18 Probe Request WSC IE示例
表6-2为Probe Response帧WSC IE属性设置说明。
:-: 
图6-19所示为笔者家中无线路由器开启WSC功能后发送的Probe Response帧WSC IE信息内容。
:-: 
图6-19 Probe Response WSC IE示例
图6-19中还包含了一个名为Selected Registrar的属性,该属性的作用是,当AP已选择合适的Registrar后,该属性值为0x01,否则为0x00。对于Standalone AP来说,如果其内部的Registrar组件启动,则设置该值为0x01。
提示 由图6-19的示例可知,笔者使用的AP仅支持WPS,而不支持WSC。
**2、Association Request/Response和Beacon帧设置**
Association Request/Response帧的WSC IE设置比较简单,如表6-3所示。
:-: 
表6-3 Association Request/ Response帧的WSC IE属性设置
:-: 
图6-20 Association RequestWSC IE属性
Association Request帧示例如图6-20所示。
Beacon帧WSC IE属性比较多,如表6-4所示。
:-: 
:-: 
表6-4 Beacon WSC IE属性设置
笔者家中的无线路由器功能比较简单,其Beacon帧WSC IE仅包含了必选项属性,如图6-21所示。
:-: 
图6-21 Beacon WSC IE属性
介绍完WSC IE,接着来看EAP-WSC流程。
';