Скачиваний:
31
Добавлен:
02.05.2014
Размер:
3.51 Mб
Скачать

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

Table 7-23. Format of Connection Context

Name

Size

Description

 

 

 

Connection Host ID (CHID)

16 bytes

Unique Host ID. The device uses this ID to locate the host’s

 

 

Wireless USB Channel.

Connection Device ID (CDID)

16 bytes

Unique Device ID. This ID uniquely identifies the device to

 

 

the host specified by CHID. It is not guaranteed to be unique

 

 

across multiple hosts.

Connection Key (CK)

16 bytes

The key used to establish reconnections using this context.

 

 

This key should be changed periodically.

It is a Request Error if wValue or wIndex are other than as specified above.

UnAuthenticated State: This is a valid request in the UnAuthenticated state only after encryption is enabled. This may be as a result of a 4-way handshake/SetKey(GTK) or other authentication protocols tied to New Connection.

Default State: This is a valid request when the device is in the Default state. Address State: This is a valid request when the device is in the Address state.

Configured State: This is a valid request when the device is in the Configured state.

7.3.2.6Set Security Data

The host uses this command to pass in-band authentication messages and data to the device.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00000000B

SET_SECURITY_DATA

Data Number

Zero

Data Length

Security Data

 

 

 

 

 

 

This command provides a wrapper for in-band authentication messages and data sent from the host to the device. Data Number represents a stage or message number, defined by the authentication protocol, this data piece is associated with. The request is valid for any device that has requested a New Connection.

It is a Request Error if Data Number does not represent a valid authentication-protocol designated value. It is a Request Error if wValue or wIndex are other than as specified above.

UnAuthenticated State: This is a valid request when the device is in the UnAuthenticated state.

Default State: Device behavior when this request is received while the device is in the Default state is not specified.

Address State: Device behavior when this request is received while the device is in the Address state is not specified.

Configured State: Device behavior when this request is received while the device is in the Configured state is not specified.

159

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

7.3.2.7Get Security Data

The host uses this command to retrieve in-band authentication methods and data from the device.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

10000000B

GET_SECURITY_DATA

Data Number

Zero

Data Length

Security Data

 

 

 

 

 

 

This command provides a wrapper for in-band authentication messages and data sent from device to host. Data Number represents a stage or message number, defined by the authentication protocol, this data piece is associated with. The request is valid for any device that has requested a New Connection.

It is a Request Error if Data Number does not represent a valid authentication-protocol designated value. It is a Request Error if wValue or wIndex are other than as specified above.

UnAuthenticated State: This is a valid request when the device is in the UnAuthenticated state.

Default State: Device behavior when this request is received while the device is in the Default state is not specified.

Address State: Device behavior when this request is received while the device is in the Address state is not specified.

Configured State: Device behavior when this request is received while the device is in the Configured state is not specified.

160

Соседние файлы в папке Wireless USB Specification Revision 1.0 May 12, 2005