Re: Vista TCP



Native WiFi -- Correct. I just have something out of skelter. It might be
that I don't have some indication to NDIS set up just right. In the
indications, I've given NDIS: CONN_START, ASSOC_START, LINK_STATE,
LINK_STATE, ASSOC_COMPLETE, LINK_QUALITY, CONN_COMPLETE. These seem to be
working to establish an association and connection with the AP and since
static IP address let me xfer packets back and forth.

((&->

"Pavel A." <pavel_a@xxxxxxxxxxxxxxx> wrote in message
news:59A5A5BA-476E-4924-B857-1052FB058DA7@xxxxxxxxxxxxxxxx
You write a native ndis 6 miniport, correct?

--PA

"QuasiCodo" wrote:
I'm having a problem with a 802.11n WiFi driver I am developing for Vista
(build 5384).

When I use a static IP address, everything works fine. However, if I use
DHCP, I don't get a DHCP address allocated to me from the AP.

I know DHCP in Vista 5384 works because I have a Realtek 8185 802.11g
card
that works OK.

Here are a couple of clues to the problem:

1. The first thing I found was that the driver was transmitting the DHCP
DISCOVER broadcast packet and then receiving a DHCP OFFER broadcast back
from the AP. However, the driver's packets filters were setup to handle
only DIRECTED (i.e. unicast) packets. This seemed a little strange,
since I
believe during TCP protocol initialization the driver should be called to
set the the MULTICAST and BROADCAST filters.

2. Thinking that perhaps I had a problem with the packet filters, I
jury-rigged the driver to accept all packets which then started
indicating
the DHCP OFFFER broadcasts up to the protocols. This did not work. TCP
still would not transmit a DHCP REQUEST packet to the AP.

3. Thinking that I still have a problem with the packet filters, I add
more
debug traces to the driver and rerum the test. PRESTO! Now I have a
valid
DHCP address from the AP. Strange. However, now I cannot ping the AP.

Anybody have any thoughts about this problem?

((&->





.



Relevant Pages

  • Re: pf.conf and cable modem
    ... I was using a half-bridge modem that had a 30 second lease time, ... I added-in some early static rules to log all the DHCP packets. ... never saw any of the lease renewal packets, just some broadcast ...
    (freebsd-questions)
  • Help w/ routing on Cisco 1841...
    ... router successfully making a DHCP request to the cable system and getting ... interface FastEthernet0/0 ... description Outside Interface to Cable Modem ... input packets with dribble condition detected ...
    (comp.dcom.sys.cisco)
  • Re: IP Address
    ... DHCP is used to request an IP address ... NIS mean by the term "loopback"? ... IP also "loop back" packets that are ... DHCP is a superset of BOOTP, ...
    (microsoft.public.windowsxp.newusers)
  • Re: pf.conf and cable modem
    ... I was using a half-bridge modem that had a 30 second lease time, ... I added-in some early static rules to log all the DHCP packets. ... never saw any of the lease renewal packets, just some broadcast ...
    (freebsd-questions)
  • Re: dhclient denied
    ... > not all DHCP messages go out to the IP broadcast address. ... >> so that and the failure of firewall changes to end the message make ... >> me think that the blocked packets aren't getting as far as the firewall. ... and "out xmit" is that "out via" checks both incoming and outgoing packets, ...
    (freebsd-questions)