Open FFBoard
Open source force feedback firmware

Initialize Complete Message. More...

#include <cdc_rndis.h>

Public Attributes

uint32_t type
 Message Type, must be RNDIS_MSG_INITIALIZE_CMPLT. More...
 
uint32_t length
 Message length in bytes, must be 0x30. More...
 
uint32_t request_id
 A 32-bit integer value from request_id field of the rndis_msg_initialize_t to which this message is a response. More...
 
uint32_t status
 The initialization status of the device, has value from rndis_msg_status_t. More...
 
uint32_t major_version
 the highest-numbered RNDIS Protocol version supported by the device. More...
 
uint32_t minor_version
 the highest-numbered RNDIS Protocol version supported by the device. More...
 
uint32_t device_flags
 MUST be set to 0x000000010. Other values are reserved for future use. More...
 
uint32_t medium
 is 0x00 for RNDIS_MEDIUM_802_3 More...
 
uint32_t max_packet_per_xfer
 The maximum number of concatenated RNDIS_MSG_PACKET messages that the device can handle in a single bus transfer to it. This value MUST be at least 1. More...
 
uint32_t max_xfer_size
 The maximum size, in bytes, of any single bus data transfer that the device expects to receive from the host. More...
 
uint32_t packet_alignment_factor
 The byte alignment the device expects for each RNDIS message that is part of a multimessage transfer to it. The value is specified as an exponent of 2; for example, the host uses 2{PacketAlignmentFactor} as the alignment value. More...
 
uint32_t reserved [2]
 

Detailed Description

Initialize Complete Message.

This message MUST be sent by the device in response to an initialize message.

Definition at line 104 of file cdc_rndis.h.

Member Data Documentation

◆ device_flags

uint32_t rndis_msg_initialize_cmplt_t::device_flags

MUST be set to 0x000000010. Other values are reserved for future use.

Definition at line 111 of file cdc_rndis.h.

◆ length

uint32_t rndis_msg_initialize_cmplt_t::length

Message length in bytes, must be 0x30.

Definition at line 106 of file cdc_rndis.h.

◆ major_version

uint32_t rndis_msg_initialize_cmplt_t::major_version

the highest-numbered RNDIS Protocol version supported by the device.

Definition at line 109 of file cdc_rndis.h.

◆ max_packet_per_xfer

uint32_t rndis_msg_initialize_cmplt_t::max_packet_per_xfer

The maximum number of concatenated RNDIS_MSG_PACKET messages that the device can handle in a single bus transfer to it. This value MUST be at least 1.

Definition at line 113 of file cdc_rndis.h.

◆ max_xfer_size

uint32_t rndis_msg_initialize_cmplt_t::max_xfer_size

The maximum size, in bytes, of any single bus data transfer that the device expects to receive from the host.

Definition at line 114 of file cdc_rndis.h.

◆ medium

uint32_t rndis_msg_initialize_cmplt_t::medium

is 0x00 for RNDIS_MEDIUM_802_3

Definition at line 112 of file cdc_rndis.h.

◆ minor_version

uint32_t rndis_msg_initialize_cmplt_t::minor_version

the highest-numbered RNDIS Protocol version supported by the device.

Definition at line 110 of file cdc_rndis.h.

◆ packet_alignment_factor

uint32_t rndis_msg_initialize_cmplt_t::packet_alignment_factor

The byte alignment the device expects for each RNDIS message that is part of a multimessage transfer to it. The value is specified as an exponent of 2; for example, the host uses 2{PacketAlignmentFactor} as the alignment value.

Definition at line 115 of file cdc_rndis.h.

◆ request_id

uint32_t rndis_msg_initialize_cmplt_t::request_id

A 32-bit integer value from request_id field of the rndis_msg_initialize_t to which this message is a response.

Definition at line 107 of file cdc_rndis.h.

◆ reserved

uint32_t rndis_msg_initialize_cmplt_t::reserved[2]

Definition at line 116 of file cdc_rndis.h.

◆ status

uint32_t rndis_msg_initialize_cmplt_t::status

The initialization status of the device, has value from rndis_msg_status_t.

Definition at line 108 of file cdc_rndis.h.

◆ type

uint32_t rndis_msg_initialize_cmplt_t::type

Message Type, must be RNDIS_MSG_INITIALIZE_CMPLT.

Definition at line 105 of file cdc_rndis.h.


The documentation for this struct was generated from the following file: