Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Anand Choubey <AnandChoubey@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 01:31:01 -0800
Hi,
I can give source code.
If you are ready to look my source code. Please tell me
at anand.choubey@xxxxxxxxx
--
With regards
thanks
Anand Choubey
"PCAUSA" wrote:
On Feb 27, 11:13 am, Anand Choubey.
<AnandChou...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
Yes WZC is able to see all access points.
But this is strange pattern I could not unserstand.
Please help me.
--
With regards
thanks
Anand Choubey"Pavel A." wrote:
"Anand Choubey" <AnandChou...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CB20AB7A-0D9B-47C9-963F-F76714B63F7A@xxxxxxxxxxxxxxxx
Hi,
Thanks for reply.
I am having T61 thinkspad laptop.
Miniport driver is provided by company. NIC is intel wireless wifi link
4965AG.
I am calling using IOCTL_NDIS_QUERY_GLOBAL_STATS.
Err... then all I could say that the driver should be ok, unless you have some outdated version.
Does the Windows WZC GUI see both items?
--PA
--
With regards
thanks
Anand Choubey
"Pavel A." wrote:
The second item looks garbled (SSID="S_HAL009" at 12DBF2);
does it come from your own wi-fi driver?
--PA
"Anand Choubey" <AnandChou...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3DA185E0-C0DF-40F5-A2FC-81173E35424C@xxxxxxxxxxxxxxxx
Hi,
Thanks for reply again.
I have tested code which you suggested but unfortunately It could not work.
Please sugget me what should I do?
stBSSIDList = *(NDIS_802_11_BSSID_LIST_EX *)OidData;
PNDIS_WLAN_BSSID_EX pstBSSSID = &stBSSIDList.Bssid;
for(iBSSIDCounter = 0; iBSSIDCounter < stBSSIDList.NumberOfItems;
iBSSIDCounter++)
{
memcpy(szSSID, pstBSSSID->Ssid.Ssid, pstBSSSID->Ssid.SsidLength);
szSSID[pstBSSSID->Ssid.SsidLength] = '\0';
pstBSSSID = (PNDIS_WLAN_BSSID_EX)((char *)pstBSSSID + pstBSSSID->Length) ;
}
--
With regards
thanks
Anand Choubey
"PCAUSA" wrote:
On Feb 22, 2:03 pm, PCAUSA <pca...@xxxxxxxxx> wrote:
This code (abbreviated...) is extracted from NDIScope and does work -
assuming pBssidStart is initialized to point to the first Bssid before
the for loop is entered.
for( ULONG i = 0; i < pBssidList->NumberOfItems ; ++i )
{
PNDIS_WLAN_BSSID pBssid = (PNDIS_WLAN_BSSID )pBssidStart;
//
// Insert Privacy Information (Column 6)
//
if( pBssid->Privacy == 0 )
{
m_BssidListCtrl.SetItemText( i, 6, "NO" );
}
else
{
m_BssidListCtrl.SetItemText( i, 6, "YES" );
}
//
// Possibly Examine Extended BSSID Fields
//
//
// Move To The Next BSSID List Element
//
pBssidStart += pBssid->Length;
}
On Feb 22, 1:27 pm, Anand Choubey<AnandChou...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
Thanks for reply.
But it does not work with you suggested change. My Code is:
stBSSIDList = *(NDIS_802_11_BSSID_LIST_EX *)OidData;
PNDIS_WLAN_BSSID_EX pstBSSSID = &stBSSIDList.Bssid;
for(iBSSIDCounter = 0; iBSSIDCounter < stBSSIDList.NumberOfItems;
iBSSIDCounter++)
{
memcpy(szSSID, pstBSSSID->Ssid.Ssid, pstBSSSID->Ssid.SsidLength);
szSSID[pstBSSSID->Ssid.SsidLength] = '\0';
pstBSSSID = (PNDIS_WLAN_BSSID_EX)((char *)pstBSSSID + (pstBSSSID->Length +
pstBSSSID->IELength + 20));
}
Please suggest me what is wrong in my code.> With regards
thanks
nand Choubey
Perhaps a structure packing/alignment issue. Something simple you have
overlooked.
I know that given the pointer pBssid to a valid Bssid, the next Bssid
is really at pBssid += pBssid->Length.
Thomas F. Divine
Thomas F. Divine
The code snippet refereced PNDIS_WLAN_BSSID, not PNDIS_WLAN_BSSID_EX.
However, either will work. (I just tried it to make sure...)
Thomas F. Divine
It's hard to provide more help. The code fragments provided are from a
working application. The executable that uses these fragments can be
found at the URL:
http://www.pcausa.com/Utilities/ndistools.htm
My only further suggestion is that somewhere along the line you have
introduced peculiar structure alignement artifacts.
Good luck,
- References:
- How to Parse NDIS_WLAN_BSSID_EX???
- From: Anand Choubey
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: PCAUSA
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: PCAUSA
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: PCAUSA
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Anand Choubey
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Pavel A.
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Anand Choubey
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Pavel A.
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: Anand Choubey
- Re: How to Parse NDIS_WLAN_BSSID_EX???
- From: PCAUSA
- How to Parse NDIS_WLAN_BSSID_EX???
- Prev by Date: Re: Emulation of a hardware component?
- Next by Date: send notification from mirror driver to user application
- Previous by thread: Re: How to Parse NDIS_WLAN_BSSID_EX???
- Next by thread: Re: Do we need DTM for Windows 2000, XP and Vista x32
- Index(es):
Relevant Pages
|