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?
((&->