2.2.2.9 Passphrase Structure
The Passphrase structure specifies the Wi-Fi Protected Access 2 (WPA2) passphrase, as defined in [WF-Security], that is used in the tethering connection. The passphrase contains 8 to 64 characters.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header |
Value (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
header (3 bytes): The header field contains the CommonHeader structure (section 2.2.2.2), where the value of the Id field is set to 4 (Passphrase), as specified in TypeId enumeration (section 2.2.1.3), and the value of the Length field MUST be 8 to 64 characters.
Value (variable): The Value field specifies the WPA2 passphrase encoded as ASCII. If the length of the passphrase is 64 characters, all the characters MUST be hexadecimal characters. If the length is 8 to 63 characters, all the characters MUST be ASCII characters in the range of 32 to 126.