RNDIS "OID_GEN_CURRENT_PACKET_FILTER" contains 0x00000000

Hello,

Background of the issue:

I have a device which runs embedded linux. It uses RNDIS to communicate to
Windows PC through USB. Currently it is using NDIS-5 drivers. But I need to
sign the INF with a different VIID/PID. In this case, the logo kit requires
the NDIS driver to be 0x600. Therefore I changed the INF and loaded the
driver.

But after that the RNDIS is not working. I can assure you that it was
working well with NDIS-5.

Issue:

I’m doing some exhausting debugging here. One prominent issue I found in
NDIS-6 driver communication is related to the OID_GEN_CURRENT_PACKET_FILTER.

I printed the received command to my embedded device.

rndis_set_response: MessageType: 0x5
rndis_set_response: MessageLength: 0x20
rndis_set_response: RequestID: 0xda
rndis_set_response: OID: 0x1010e
rndis_set_response: InformationBufferLength: 0x4
rndis_set_response: InformationBufferOffset: 0x14
rndis_set_response: Reserved: 0x0
rndis_set_response: DeviceVcHandle: 0x0

Here the InputBuffer contains 4 bytes of data. But the value is always
0x00. Therefore the RNDIS state is not going to the RNDIS_DATA_INITIALIZED
state. May be the Linux side implementation has an issue. But I want to
make sure that the I’m fully confident with Windows side. Since this is
working well with NDIS-5 I think due to some specification change this
happened.

Is there anyway to get the old RNDIS specification?

Is this the correct behavior? or am I missing something?

Thank you.

-Pradeepa