【文件属性】:
文件名称:Wi-Fi_Simple_Configuration_Technical_Specification_v2-0
文件大小:994KB
文件格式:PDF
更新时间:2015-04-17 16:41:27
WIFI, WPS 2.0
1 Introduction ........................................................................................................................... 11
1.1 Purpose .................................................................................................................. 11
1.2 Scope ..................................................................................................................... 11
1.3 Supported Usage Models ...................................................................................... 11
1.3.1 Primary Usage Models .......................................................................................... 11
1.3.2 Secondary Usage Models ...................................................................................... 12
1.4 Mental Model ........................................................................................................ 12
1.5 Design Approach .................................................................................................. 12
1.6 Solution Flexibility ............................................................................................... 12
1.7 User Experience .................................................................................................... 13
1.7.1 In-band Setup ........................................................................................................ 13
1.7.2 Out-of-Band Setup ................................................................................................ 14
2 References ............................................................................................................................. 15
3 Definitions............................................................................................................................. 16
4 Core Architecture .................................................................................................................. 17
4.1 Components and Interfaces ................................................................................... 17
4.1.1 Architectural Overview ......................................................................................... 17
4.1.2 Interface E ............................................................................................................. 18
4.1.3 Interface M ............................................................................................................ 19
4.1.4 Interface A ............................................................................................................ 20
4.2 Registration Protocol ............................................................................................ 20
4.3 Security Overview ................................................................................................ 22
4.3.1 In-band Configuration ........................................................................................... 23
4.3.2 Guidelines and Requirements for PIN values ....................................................... 25
4.3.3 Out-of-Band Configuration ................................................................................... 26
5 Initial WLAN Setup .............................................................................................................. 27
5.1 Standalone AP ....................................................................................................... 27
5.2 AP With an External Registrar ............................................................................. 28
5.2.1 EAP-based Setup of External Registrar ................................................................ 30
5.2.2 Ethernet-based Setup of External Registrar .......................................................... 32
6 Adding Member Devices ...................................................................................................... 33
Wi-Fi Simple Configuration Technical Specification v2.0.2
© 2011 Wi-Fi Alliance. All Rights Reserved.
Used with the permission of the Wi-Fi Alliance under the terms as stated in this document.
Page 4 of 154
6.1 In-band Setup Using a Standalone AP/Registrar .................................................. 34
6.2 In-band Setup Using an External Registrar .......................................................... 35
6.2.1 PIN based setup - External Registrar trigger first ................................................. 35
6.2.2 PBC based setup – External Registrar trigger first ............................................... 37
6.2.3 PIN based setup – Enrollee trigger first ................................................................ 38
6.2.4 PBC based setup – Enrollee trigger first ............................................................... 40
6.3 In-band Setup Using Multiple External Registrars ............................................... 41
6.4 Secure Setup with Legacy Enrollee ...................................................................... 44
6.4.1 Mental model mapping ......................................................................................... 44
7 Registration Protocol Definition ........................................................................................... 45
7.1 Registration Protocol Initiation ............................................................................. 45
7.2 Registration Protocol Messages ............................................................................ 47
7.2.1 Optional Parameters .............................................................................................. 49
7.2.2 Validation of Configuration Data ......................................................................... 49
7.3 Key Derivation ...................................................................................................... 50
7.4 Proof-of-possession of Device Password.............................................................. 52
7.4.1 PIN Checksums ..................................................................................................... 53
7.4.2 Device Password Splitting .................................................................................... 54
7.4.3 Device Password Usage in M1 and M2 ................................................................ 54
7.5 Key Wrap Algorithm ............................................................................................ 55
7.6 Key Summary and Classification .......................................................................... 56
7.7 EAP Transport of Registration Protocol ............................................................... 57
7.7.1 EAP Message Framing ......................................................................................... 58
7.7.2 EAP Messages ...................................................................................................... 60
7.7.3 EAP State Machine for Enrollee Registration ...................................................... 61
7.7.4 EAP State Machine for Adding an External Registrar ......................................... 62
7.8 UPnP Transport of Registration Protocol ............................................................. 63
7.9 Version Negotiation .............................................................................................. 64
8 Message Encoding ................................................................................................................ 65
8.1 Wi-Fi Simple Configuration TLV Data Format ................................................... 65
8.2 802.11 Management Frames ................................................................................. 66
8.2.1 Beacon Frame (C) ................................................................................................. 67
8.2.2 Association Request and Reassociation Request .................................................. 68
Wi-Fi Simple Configuration Technical Specification v2.0.2
© 2011 Wi-Fi Alliance. All Rights Reserved.
Used with the permission of the Wi-Fi Alliance under the terms as stated in this document.
Page 5 of 154
8.2.3 Association Response and Reassociation Response ............................................. 69
8.2.4 Probe Request (D-E or D-R) ................................................................................. 69
8.2.5 Probe Response (D-AP/Registrar) ........................................................................ 70
8.3 Registration Protocol Message Definitions .......................................................... 71
8.3.1 Message M1 .......................................................................................................... 72
8.3.2 Message M2 .......................................................................................................... 73
8.3.3 Message M2D ....................................................................................................... 74
8.3.4 Message M3 .......................................................................................................... 75
8.3.5 Message M4 .......................................................................................................... 75
8.3.6 Message M5 .......................................................................................................... 76
8.3.7 Message M6 .......................................................................................................... 76
8.3.8 Message M7 .......................................................................................................... 77
8.3.9 Message M8 .......................................................................................................... 78
8.3.10 WSC_ACK Message ............................................................................................ 80
8.3.11 WSC_NACK Message.......................................................................................... 80
8.3.12 WSC_Done Message ............................................................................................ 80
8.4 AP Settings Message Definitions.......................................................................... 81
8.4.1 SetSelectedRegistrar Message .............................................................................. 81
9 Security Configuration Requirements ................................................................................... 83
10 NFC Out-of-Band Interface Specification ............................................................................ 84
10.1 Overview ............................................................................................................... 84
10.2 NFC Usage Models ............................................................................................... 84
10.2.1 Password Token .................................................................................................... 85
10.2.2 Configuration Token ............................................................................................. 85
10.2.3 Connection Handover ........................................................................................... 86
10.3 Requirements for NFC Out-of-Band Support ....................................................... 89
10.3.1 Enrollee Requirements .......................................................................................... 89
10.3.2 Registrar Requirements ......................................................................................... 89
10.4 Informative: NFC Forum Specifications .............................................................. 89
10.4.1 NFC Data Exchange Format (NDEF) Specification ............................................. 89
10.4.2 NFC Forum Tag Operation Specifications ........................................................... 89
10.4.3 Logical Link Control Protocol (LLCP) Specification .......................................... 90
10.4.4 Connection Handover Specification ..................................................................... 90
Wi-Fi Simple Configuration Technical Specification v2.0.2
© 2011 Wi-Fi Alliance. All Rights Reserved.
Used with the permission of the Wi-Fi Alliance under the terms as stated in this document.
Page 6 of 154
11 Push Button Configuration ................................................................................................... 91
11.1 Introduction ........................................................................................................... 91
11.2 User Experience .................................................................................................... 91
11.3 PBC Technical Description ................................................................................... 93
11.4 PBC Security Considerations ................................................................................ 96
12 Data Element Definitions ...................................................................................................... 98
13 Protocol Implementation Conformance Specification (PICS) ........................................... 130
Annex A - Out-of-Band Channel Considerations ................................................................. 134
Annex B - Security Analysis of Registration Protocol ......................................................... 136
Out-Of-Band Channels ........................................................................................................... 136
Out-of-band Channel Characteristics ...................................................................................... 137
Annex C - Out-of-band Setup Using a Standalone AP/Registrar ......................................... 138
Setup steps .............................................................................................................................. 138
Annex D - Out-of-band Setup Using an External Registrar ................................................. 139
Annex E - Secondary Usage Models .................................................................................... 140
Removing Members from the WLAN .................................................................................... 140
Guest access ............................................................................................................................ 140
Re-keying credentials ............................................................................................................. 140
Expanding the network - Adding additional AP or Router .................................................... 140
Changing Network Name (SSID), radio channels, etc. .......................................................... 140
Rekeying ................................................................................................................................. 141
Annex F - Management Interface Message Definitions ...................................................... 142
GetAPSettings Input Message ................................................................................................ 142
GetAPSettings Output Message .............................................................................................. 143
SetAPSettings Message .......................................................................................................... 144
DelAPSettings Message .......................................................................................................... 145
ResetAP and RebootAP Messages ......................................................................................... 146
STA Settings Message Definitions ......................................................................................... 146
GetSTASettings Input Message .............................................................................................. 146
GetSTASettings Output Message ........................................................................................... 147
SetSTASettings Message ........................................................................................................ 148
DelSTASettings Message ....................................................................................................... 149
ResetSTA and RebootSTA Messages ..................................................................................... 150
Annex G - USBA (USB Host) Out-of-Band Interface Specification ................................... 151
Wi-Fi Simple Configuration Technical Specification v2.0.2
© 2011 Wi-Fi Alliance. All Rights Reserved.
Used with the permission of the Wi-Fi Alliance under the terms as stated in this document.
Page 7 of 154
Requirements for USB Flash Drives (UFD) ........................................................................... 151
Enrollee Requirements for USBA out-of-band Interfaces ...................................................... 151
Firmware and Software Requirements ................................................................................... 152
Encrypted Settings File (xxxxxxxx.WSC) .............................................................................. 152
Unencrypted Settings File (00000000.WSC) ......................................................................... 153
Enrollee Device Password and Key Hash (xxxxxxxx.WFA) ................................................. 153
网友评论
- 我往项目中移植一键wps功能的时候有很大帮助,非常不错,赞一个!
- 很好的东西,正需要!
- 感谢提供,应该是wifi联盟官方的wps文档
- WPS协议方面非常赞的资料,就是资源分要太多了。。。
- 资源海不错,就是有点贵!
- 原版书,用来做参考比较好
- 相当有用。包含了所有wps的说明
- 不错的文档,就是分值太高了
- 没啥好说的,wifi联盟要收费的文档。唯一的不好就是没有目录的书签
- 這是目前(2012年)最新的版本, US$ 99. 感謝提供.
- 很好的资料,就是资源分要的多了。
- 工作需要参考,谢谢。这是目前的最新版。赞!
- 哈哈,原版是要钱的:)
- 谢谢,在公司看过一些,觉得不错
- https://www.wi-fi.org/knowledge-center/published-specifications,这个是最新的2.02版本,价值99刀,哈哈,谢了!
- 太好了,就是分太高了
- 最近工作要转到wifi direct ,谢谢了。
- 版本是2012-01-30的。不知是不是最新的。不过这个积分也太高了。要有share的精神嘛。
- 英文的,英语底子很好才行啊
- 這是目前(2012年)最新的版本, US$ 99. 感謝提供.
- 很不错,wifi WPS开发必备。谢谢
- 谢谢fzel_net,这个文档是做wifi开发必须的,找了好久终于在这里找到了。