Hi all,

In NDIS, can anyone tell me the difference between OID_802_11_ADD_WEP and
OID_802_11_ADD_KEY. Where we use the first one and where do we use the
second one.

Thanks,

Arsalan

Re: Difference between OID_802_11_ADD_WEP and OID_802_11_ADD_KEY by Thomas

Thomas
Wed Aug 17 07:01:25 CDT 2005


"Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
news:esq72pxoFHA.3304@tk2msftngp13.phx.gbl...
> Hi all,
>
> In NDIS, can anyone tell me the difference between OID_802_11_ADD_WEP and
> OID_802_11_ADD_KEY. Where we use the first one and where do we use the
> second one.
>

OID_802_11_ADD_WEP - For setting WEP keys.
OID_802_11_ADD_KEY - for setting WAP keys.

The DDK documentation described the use of each of these OIDs.

Good luck,

Thomas F. Divine, Windows DDK MVP



Re: Difference between OID_802_11_ADD_WEP and OID_802_11_ADD_KEY by Arsalan

Arsalan
Wed Aug 17 08:13:37 CDT 2005

Thanks,

So if I am correct then I should use OID_802_11_ADD_WEP to add keys only in
Ndis802_11AuthModeShared and OID_802_11_ADD_KEY in other authentication
modes other than NDIS802_11AuthModeOpen or Shared. Please correct me.

Also I can use OID_802_11_ADD_WEP only when NIC is in
Ndis802_11Encryption1Enabled or can I use any other encryption modes also.
Please correct me

Thanks,

Arsalan


"Thomas F. Divine [DDK MVP]" <tdivine@NOpcausaSPAM.com> wrote in message
news:uF8jmNyoFHA.1996@TK2MSFTNGP10.phx.gbl...
>
> "Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
> news:esq72pxoFHA.3304@tk2msftngp13.phx.gbl...
>> Hi all,
>>
>> In NDIS, can anyone tell me the difference between OID_802_11_ADD_WEP and
>> OID_802_11_ADD_KEY. Where we use the first one and where do we use the
>> second one.
>>
>
> OID_802_11_ADD_WEP - For setting WEP keys.
> OID_802_11_ADD_KEY - for setting WAP keys.
>
> The DDK documentation described the use of each of these OIDs.
>
> Good luck,
>
> Thomas F. Divine, Windows DDK MVP
>
>



Re: Difference between OID_802_11_ADD_WEP and OID_802_11_ADD_KEY by Arsalan

Arsalan
Wed Aug 17 08:31:48 CDT 2005

Hi,

Also could anyone please tell me what is the right time to set WEP keys. I
am using following sequence when I try to connect to an access point.

1. Set Infrastructure mode.
2. Set Authentication mode.
3. Set encryption mode.
4. Add key.
5. Set SSID. This connects you to access point.

Also tell me lets suppose I was connect to an access point which require WEP
keys. Now I want to disconnect from that access point and wants to connect
to an access point which is open and wep disabled. Do I need to remove my
already added wep keys or not?

Thanks,

Arsalan


"Thomas F. Divine [DDK MVP]" <tdivine@NOpcausaSPAM.com> wrote in message
news:uF8jmNyoFHA.1996@TK2MSFTNGP10.phx.gbl...
>
> "Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
> news:esq72pxoFHA.3304@tk2msftngp13.phx.gbl...
>> Hi all,
>>
>> In NDIS, can anyone tell me the difference between OID_802_11_ADD_WEP and
>> OID_802_11_ADD_KEY. Where we use the first one and where do we use the
>> second one.
>>
>
> OID_802_11_ADD_WEP - For setting WEP keys.
> OID_802_11_ADD_KEY - for setting WAP keys.
>
> The DDK documentation described the use of each of these OIDs.
>
> Good luck,
>
> Thomas F. Divine, Windows DDK MVP
>
>



Re: Difference between OID_802_11_ADD_WEP and OID_802_11_ADD_KEY by fat_boy

fat_boy
Fri Aug 19 09:55:29 CDT 2005

They are diffent security/encryption methods, wired equivalent protocol
and wireless protection acess.

you set them to what the access point requires, if not, you cant join
the network.