How do I get the 802.11 channel of the AP that my adapter is assocaited
with?

Thanks

Re: 802.11 channel by Thomas

Thomas
Tue Apr 19 14:43:02 CDT 2005

"shawn" <shawnberg@gmail.com> wrote in message
news:1113938264.124340.70050@o13g2000cwo.googlegroups.com...
> How do I get the 802.11 channel of the AP that my adapter is assocaited
> with?
>
> Thanks
>
Make the OID_802_11_CONFIGURATION NDIS query and then examine the DSConfig
field. That gives the frequency of the selected channel in kHz, then convert
that to channel number.

Good luck,

Thomas F. Divine, Windows DDK MVP
http://www.rawether.net



Re: 802.11 channel by Arkady

Arkady
Wed Apr 20 04:17:25 CDT 2005

For 2.4 GHz: 1 channel is 2.412 and each next add 5 ( second is 2.417 and so
on with last (14)-2,484.
For 802.11a look at
http://www.wi-fiplanet.com/tutorials/article.php/2109881
Arkady

"Thomas F. Divine [DDK MVP]" <tdivine@NOpcausaSPAM.com> wrote in message
news:OAWrFgRRFHA.2744@TK2MSFTNGP10.phx.gbl...
> "shawn" <shawnberg@gmail.com> wrote in message
> news:1113938264.124340.70050@o13g2000cwo.googlegroups.com...
>> How do I get the 802.11 channel of the AP that my adapter is assocaited
>> with?
>>
>> Thanks
>>
> Make the OID_802_11_CONFIGURATION NDIS query and then examine the DSConfig
> field. That gives the frequency of the selected channel in kHz, then
> convert that to channel number.
>
> Good luck,
>
> Thomas F. Divine, Windows DDK MVP
> http://www.rawether.net
>
>