- How to determine the type of wifi network
- Posted by Arsalan Ahmad on January 11th, 2006
Hi,
Can anyone tell me (any link to any document or here) how can I determine
the type of available wifi network that is whether one wifi network is
802.11a, 802.11b or 802.11g or a combination of two or more when I get their
list using OID_802_11_BSSID_LIST oid sent to NDISUIO driver?
Thanks,
Arsalan
- Posted by Maxim S. Shatskih on January 11th, 2006
IIRC there was OID_GEN_PHYSICAL_MEDIUM or OID_802_3_PHYSICAL_MEDIUM.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
news:%23humddrFGHA.1124@TK2MSFTNGP10.phx.gbl...
- Posted by vijay visana on January 11th, 2006
use OID_GEN_LINK_SPEED
Vijay Visana
"Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
news:%23humddrFGHA.1124@TK2MSFTNGP10.phx.gbl...
- Posted by Cat on January 11th, 2006
Wouldn't that also depend on the speed limitations imposed by each
participating device, by signal quality, etc.? (e.g., the "link speed"
could be any of the allowed signal rates, 1Mbps or 2Mbps or 5.5Mbps,
etc.)
Perhaps, on the other hand, this is what you are looking for, Arsalan.
- Posted by Pavel A. on January 11th, 2006
"Arsalan Ahmad" wrote:
To get type of currently associated AP, query OID_802_11_NETWORK_TYPE_IN_USE.
To get type of APs returned in BSSID_LIST, parse the IEs
in NDIS_802_11_BSSID_LIST_EX structs.
Regards,
--PA
- Posted by Pavel A. on January 11th, 2006
Maxim, this might be afterburn effect of the new year celebration 
Nevermind.
- Posted by Thomas F. Divine [DDK MVP] on January 11th, 2006
"Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
news:%23humddrFGHA.1124@TK2MSFTNGP10.phx.gbl...
adapter is a WLAN adapter. If the query returns
NdisPhysicalMediumWirelessLan, then it is an 802.11?? adapter. If the query
fails or returns some other physical medium, then it isn't 802.11??.
Beyond that, the OID_GEN_LINK_SPEED gives some clue, but isn't definitive.
Finally, if the BSSID list query returns a NDIS_WLAN_BSSID_EX entries, then
there may be something in the Information Elements (IEs) that would help
sort this out.
Good luck,
Thomas F. Divine, Windows DDK MVP
http://www.rawether.net
- Posted by Philip Doragh on January 12th, 2006
"Arsalan Ahmad" <arsal__@hotmail.com> wrote in message
news:%23humddrFGHA.1124@TK2MSFTNGP10.phx.gbl...
from the AP broadcast / probe response: its frequency and its list of
available PHY media speeds. A is anything with frequencies in the 5GHz
range and G is anything at 2.4 and PHY speeds above 11Mbs.
First you need to use and expect the BSSID_EX list struct
typedef struct _NDIS_WLAN_BSSID_EX
The 11_Config element in the BSSID_EX list give you the frequency...
specifically in the DSConfig element
typedef struct _NDIS_802_11_CONFIGURATION
{
ULONG Length; // Length of
// structure
ULONG BeaconPeriod; // units are Kusec
ULONG ATIMWindow; // units are Kusec
ULONG DSConfig; // Frequency, units
// are kHz
NDIS_802_11_CONFIGURATION_FH FHConfig;
} NDIS_802_11_CONFIGURATION, *PNDIS_802_11_CONFIGURATION;
The RATES_EX element give you the PHY speeds
typedef UCHAR NDIS_802_11_RATES_EX[16]; // Set of 16 data rates