Use of Frame Information

The IrDA protocol driver calls the NdisSendPacketsfunction to send an array of packet descriptors ( NDIS_PACKETstructures) to an underlying IrDA miniport driver. These packet descriptors only specify the frame from the address element to the end of the information element. The IrDA miniport driver must add all other frame elements before it transmits the frame. Likewise, the IrDA miniport driver must strip from a received packet all elements other than those from the address element to the end of the information element, before the IrDA miniport driver indicates the packet to the IrDA protocol driver.

The IrDA miniport driver must perform any coding that is required to transform a packet that is transmitted to the infrared media. Likewise, the IrDA miniport driver must perform any decoding that is required to transform a packet, that is received from the infrared media, back into its original form.

If a packet that is received from the infrared media is invalid, the IrDA miniport driver must not indicate the packet to the IrDA protocol driver. A packet might be invalid for the following reasons:

  • The packet is incomplete.

  • The packet's cyclic redundancy check (CRC) is invalid.

  • The packet contains a reject sequence.

 

 

Send comments about this topic to Microsoft