I am trying to add wep encryption to ndiswrapper. I have so far added
the ndis_set_wep and ndis_get_wep routines. The set_wep routine uses
ndis call OID_802_11_ADD_WEP to set the key,
OID_802_11_AUTHENTICATION_MODE to set the authentication mode and
OID_802_11_WEP_STATUS to set the encryption flag. With iwconfig, I set
the encryption information and everything seems to be set
properly. However, the handshake with the AP fails. I am wondering if
anyone here is more familiar with how to deal with WEP using ndis.