Hi,
I am having a problem when testing my FIR ndis minport driver on CE5.0.
After successfully connected to the PC via activesync, the IR connection
will gets interrupted when I try to copy a file from the device to the PC.
My debug log shows that when the connection fails, the upperlayer is trying
to write a packet with length=2049 through minoportSend. i.e. when I call
NdisQueryPacket(Packet, NULL, NULL, &ndisBuf, &ndisPacketLen) to get the
packet information, the returned ndisPacketLen = 2049.
In the IRDA specs, the data length without header should be 2048 maximum.
I'm not sure why the system is passing down a larger size packet.
Is there any way to limit the NDIS packet length?
I implemented OID_GEN_MAXIMUM_FRAME_SIZE, OID_GEN_MAXIMUM_TOTAL_SIZE and
OID_GEN_TRANSMIT_BUFFER_SPACE in the MiniportQueryInformation function, but
they are never gets called.
Any Suggestions?
Thanks
cindy