Hi All,
We are developing an application through which one should be able to connect
to a WiFi network.
We could successfully connect to an Access Point (AP), if it is configured
as follows,
1. Open (no security or encryption at all.)
2.WEP enabled. (This was set by using the OID_802_11_ADD_WEP OID.)
We are using NDISUIO miniport driver to develop the application. The
Wireless Zero Configuration service is disabled on the device.
Now, we want to connect to an access point which is configured as WPAPSK.
(Wifi protected Acess Pre Shared Key).
We have understood that the OID used for setting the WPA is
OID_802_11_ADD_KEY and a 4-way handshaking process should happen between the
AP(Authnticator) and the client device(supplicant) for the successful
authentication.
The 4-way handshaking starts with sending an EAPOL to AP from the supplicant.
We are stuck here and it would be of very help, if someone helps us by
giving info on following questions
1. Whether the hand shaking process is initiated by the driver automatically
or
should we initiate the same?
2. If at all required, how to do the 4-way handshaking process.(using
ndisuio or by
any other means)?.
3. How to set the KeyMaterial field in the NDIS_802_11_KEY structure?
Rgds
Rakesh