When the WZC connects ad hoc I noticed it changed from add_wep in SP1 to
add_key in SP2
There is one thing I don't understand.

this is what I captured. (the bytes set with OID_802_11_ADD_KEY)

2D 00 00 00 00 00 00 80 0D 00 00 00 FF FF FF FF
FF FF D8 76 64 FE 56 03 98 FE 56 03 15 F0 D8 76
70 69 9B 40 0C 11 DC AB 8C 81 F1 83 34

the key index 0x80 indicates that there is no KeyRSC, correct?
if so, why is the KeyRSC:
D8 76 64 FE 56 03 98 FE 56 03 15 F0 D8 76
and not zero?

does the WZC just add some values that are not necessary at all? or have I
misunderstood this?

thanks
/Niklas

Re: question about OID_802_11_ADD_KEY by Pavel

Pavel
Tue May 31 13:25:39 CDT 2005

"Niklas" <niklaso@hotmail.com> wrote in message news:OLjgsCcZFHA.3488@tk2msftngp13.phx.gbl...
>>
> this is what I captured. (the bytes set with OID_802_11_ADD_KEY)
>
> 2D 00 00 00 00 00 00 80 0D 00 00 00 FF FF FF FF
> FF FF D8 76 64 FE 56 03 98 FE 56 03 15 F0 D8 76
> 70 69 9B 40 0C 11 DC AB 8C 81 F1 83 34
>
> the key index 0x80 indicates that there is no KeyRSC, correct?

Wrong. The index is 0x80000000 (bit 31 set, and BSSID = FF...FF), so it is a default transmit key ).

Good luck,
--PA




Re: question about OID_802_11_ADD_KEY by Niklas

Niklas
Wed Jun 01 08:51:57 CDT 2005

I see now, the doc says when bit 29 is set to 0, the receive SC should be
set by the NIC.
Have you seen any doc where this is described further? so I know what values
to set.

thanks
/Niklas

"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:O9z5F6gZFHA.1456@TK2MSFTNGP15.phx.gbl...
> "Niklas" <niklaso@hotmail.com> wrote in message
> news:OLjgsCcZFHA.3488@tk2msftngp13.phx.gbl...
>>>
>> this is what I captured. (the bytes set with OID_802_11_ADD_KEY)
>>
>> 2D 00 00 00 00 00 00 80 0D 00 00 00 FF FF FF FF
>> FF FF D8 76 64 FE 56 03 98 FE 56 03 15 F0 D8 76
>> 70 69 9B 40 0C 11 DC AB 8C 81 F1 83 34
>>
>> the key index 0x80 indicates that there is no KeyRSC, correct?
>
> Wrong. The index is 0x80000000 (bit 31 set, and BSSID = FF...FF), so it is
> a default transmit key ).
>
> Good luck,
> --PA
>
>
>



Re: question about OID_802_11_ADD_KEY by pavel_a

pavel_a
Fri Jun 03 20:30:02 CDT 2005

"Niklas" wrote:
> I see now, the doc says when bit 29 is set to 0, the receive SC should be
> set by the NIC.
> Have you seen any doc where this is described further? so I know what values
> to set.

In the MSDL (or MSDN...) DDK documentation.

--PA