Hi,

I am writing miniport driver on WinCE.Net 4.1 with Smartphone/PocketPC
environment from Platform builder. I am able to do ping from my
machine and is working fine. When other machines do a ping/telnet/ftp
to my machine, the get timeout.

My miniport driver receies the packets (ARP req, PING Req). I am
indicating to the NDIS using NdisMIndicateReceivePacket(). It is
received by the NDIS. But NDIS doesn't send any response back (ARP
response, PING Response). The following is the trace in TCP/IP Stack
and NDIS when PING request is received and indicated to NDIS:

392577 PID:c3c4e132 TID:43af6d32 0x83c11a84: Entering Ethernet Packet
indicate
392579 PID:c3c4e132 TID:43af6d32 0x83c11a84: Packet Len is 3C
392582 PID:c3c4e132 TID:43af6d32 0x83c11a84: +TCP:tcpxsum entered w/
0x00000 (0) Len = 20
392584 PID:c3c4e132 TID:43af6d32 0x83c11a84: -TCP:tcpxsum returning
0x0FFFF (65535)
392587 PID:c3c4e132 TID:43af6d32 0x83c11a84: +TCP:tcpxsum entered w/
0x00000 (0) Len = 40
392589 PID:c3c4e132 TID:43af6d32 0x83c11a84: -TCP:tcpxsum returning
0x0FFFF (65535)
392592 PID:c3c4e132 TID:43af6d32 0x83c11a84: +TCP:tcpxsum entered w/
0x00000 (0) Len = 8
392595 PID:c3c4e132 TID:43af6d32 0x83c11a84: -TCP:tcpxsum returning
0x0000A (10)
392597 PID:c3c4e132 TID:43af6d32 0x83c11a84: +TCP:tcpxsum entered w/
0x00000 (0) Len = 32
392600 PID:c3c4e132 TID:43af6d32 0x83c11a84: -TCP:tcpxsum returning
0x0A3AA (41898)
392602 PID:c3c4e132 TID:43af6d32 0x83c11a84: *GetIPPacket: Packet
54E6C Pool 54BC0
392605 PID:c3c4e132 TID:43af6d32 0x83c11a84: +TCP:tcpxsum entered w/
0x00000 (0) Len = 20
392607 PID:c3c4e132 TID:43af6d32 0x83c11a84: -TCP:tcpxsum returning
0x0B349 (45897)
392610 PID:c3c4e132 TID:43af6d32 ***NDIS*** (17, 412)
392613 PID:c3c4e132 TID:43af6d32 ==>ndisMSend
392616 PID:c3c4e132 TID:43af6d32 ***NDIS*** (b, 2769)
392618 PID:c3c4e132 TID:43af6d32 ==>ndisMQueueWorkItem
392621 PID:c3c4e132 TID:43af6d32 ***NDIS*** (b, 2802)
392624 PID:c3c4e132 TID:43af6d32 <==ndisMQueueWorkItem
392627 PID:c3c4e132 TID:43af6d32 ***NDIS*** (17, 470)
392629 PID:c3c4e132 TID:43af6d32 <==ndisMSend
392632 PID:c3c4e132 TID:43af6d32 0x83c11a84: Succesful Ethernet
Packet Indication


Looks like NDIS is trying to send some reponse but some how blocked.
Am I missing anything here ?
I checked OID_GEN_CURRENT_PACKET_FILTER, the last setting was
0x0000000F
I am sending proper OID_GEN_LINK_SPEED response... 10Mbps
I am using NdisMedium802_3 as medium type.
I am sending 4.0 for OID_GEN_DRIVER_VERSION

Is there anything that I am missing?? that causes Ndis not to send the
response packets to the miniport driver ???

Cheers
Srinivas Yarra