problems with associated SSID for a wireless card

A

andrew

I posted this in microsoft.public.win32.programmer.wmi, and found this group
as well, so I figured I try posting it here too. Thanks.

-------

Hi there,

I'm having some problems with how to interpret the data for the
Ndis80211Ssid field for the MSNdis_80211_ServiceSetIdentifier class.

I have tested my code with data from 5 different wireless cards and all work
fine except for two Cisco cards. The ssid field for the Cisco cards is as
follows...

32,0,0,0,12,27,19,27,12,31,4,23,19,21,8,1,17,12,15,29,24,16,10,30,10,28,11,11,28,2,30,10,10

This format seems to be different than what I get from my other cards. For
example, 3 of my other cards provide data that look like this...

14,0,0,0,71,117,101,115,116,45,87,105,114,101,108,101,115,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

When I try to decode the former data, I get no useful text. I can decode
the latter no problem. 14 bytes of data and each byte is an ASCII
character... perfect. So are these Cisco cards populating the field with
UNICODE data? I tried to interpret the text as UNICODE, but I'm not all
that familiar with it and was also unable to get anything useful, but that
could partially be due to my lack of knowledge with it.

Any ideas?

Thanks,
Andrew
 
P

Pavel A.

Many if not all of MSNdis_80211 structures are described in the DDK
docum on 802.11 netcards.
This documentation can now be found in latest MSDN library.
Look for OID_802_11_SSID and you'll find:

typedef struct _NDIS_802_11_SSID
{
ULONG SsidLength;
UCHAR Ssid[32];
} NDIS_802_11_SSID;

Hope this helps,
--PA
 
A

andrew

Thanks. I didn't realize the structure descs were in the docs.

Pavel A. said:
Many if not all of MSNdis_80211 structures are described in the DDK
docum on 802.11 netcards.
This documentation can now be found in latest MSDN library.
Look for OID_802_11_SSID and you'll find:

typedef struct _NDIS_802_11_SSID
{
ULONG SsidLength;
UCHAR Ssid[32];
} NDIS_802_11_SSID;

Hope this helps,
--PA


andrew said:
I posted this in microsoft.public.win32.programmer.wmi, and found this
group
as well, so I figured I try posting it here too. Thanks.

-------

Hi there,

I'm having some problems with how to interpret the data for the
Ndis80211Ssid field for the MSNdis_80211_ServiceSetIdentifier class.

I have tested my code with data from 5 different wireless cards and all
work
fine except for two Cisco cards. The ssid field for the Cisco cards is
as
follows...

32,0,0,0,12,27,19,27,12,31,4,23,19,21,8,1,17,12,15,29,24,16,10,30,10,28,11,11,28,2,30,10,10

This format seems to be different than what I get from my other cards.
For
example, 3 of my other cards provide data that look like this...

14,0,0,0,71,117,101,115,116,45,87,105,114,101,108,101,115,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

When I try to decode the former data, I get no useful text. I can decode
the latter no problem. 14 bytes of data and each byte is an ASCII
character... perfect. So are these Cisco cards populating the field with
UNICODE data? I tried to interpret the text as UNICODE, but I'm not all
that familiar with it and was also unable to get anything useful, but
that
could partially be due to my lack of knowledge with it.

Any ideas?

Thanks,
Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top