Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > Wi-Fi AP selection by BSSID

Reply
Thread Tools Display Modes

Wi-Fi AP selection by BSSID

 
 
Benoît Bousquet
Guest
Posts: n/a

 
      10-05-2005, 06:27 PM
My NDIS IM driver is offering Wi-Fi services to a user-mode application,
through IOCTL calls (the driver generates NdisRequest calls to its bound
adapter). Currently, a typical association proceeds as follows (and it works
quite well):

OID_802_11_INFRASTRUCTURE_MODE
OID_802_11_AUTHENTICATION_MODE
OID_802_11_ADD_WEP (if needed)
OID_802_11_WEP_STATUS
OID_802_11_BSSID
OID_802_11_SSID

I have, however, run across an issue when faced with multiple access points
using the same SSID. I was under the impression (after reading the DDK docs
over and over) that an OID_802_11_SSID request would establish the
association AND that it would use the currently set BSSID value to further
restrict its AP selection. On both adapters I tested with (a lousy DLink
DWL-122 USB gizmo and a reliable Cisco Aironet 350 PCMCIA card) the behavior
seemed erratic - the DLink seemed to ignore my BSSID setting and just picked
the AP with the higher RSSI, and the Cisco apparently did something similar
(I couldn't do more extensive tests with it yet).

Am I doing something wrong or just plain missing a step?

Sample association that doesn't always behind to the desired BSSID:
- OID_802_11_INFRASTRUCTURE_MODE:
Ndis802_11Infrastructure
- OID_802_11_AUTHENTICATION_MODE
Ndis802_11AuthModeOpen
- OID_802_11_WEP_STATUS
Ndis802_11WEPDisabled
- OID_802_11_BSSID
01:02:03:04:05:06 (desired AP's BSSID)
- OID_802_11_SSID
"MultipleAPName"

---
Benoît Bousquet


 
Reply With Quote
 
 
 
 
Benoît Bousquet
Guest
Posts: n/a

 
      10-06-2005, 02:19 PM
I do not use any external / 3rd party Wi-Fi managers, nor do I use Wireless
Zero Config (the service is stopped). My IM driver is responsible for
sending the proper OID sequence to switch access points. Whether the D-Link
DWL-122 is better or worse than the Cisco Aironet is of no effect to me, as
long as they work sufficiently for me to do my testing (we have plenty of
other WiFi cards, anyway - I was just speaking from past experience).

-BB


"Diamontina Cocktail" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Benoît Bousquet" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> My NDIS IM driver is offering Wi-Fi services to a user-mode application,
>> through IOCTL calls (the driver generates NdisRequest calls to its bound
>> adapter). Currently, a typical association proceeds as follows (and it
>> works
>> quite well):
>>
>> OID_802_11_INFRASTRUCTURE_MODE
>> OID_802_11_AUTHENTICATION_MODE
>> OID_802_11_ADD_WEP (if needed)
>> OID_802_11_WEP_STATUS
>> OID_802_11_BSSID
>> OID_802_11_SSID
>>
>> I have, however, run across an issue when faced with multiple access
>> points
>> using the same SSID. I was under the impression (after reading the DDK
>> docs
>> over and over) that an OID_802_11_SSID request would establish the
>> association AND that it would use the currently set BSSID value to
>> further
>> restrict its AP selection. On both adapters I tested with (a lousy DLink
>> DWL-122 USB gizmo and a reliable Cisco Aironet 350 PCMCIA card) the
>> behavior

>
> Hate to burst your bubble here but the Dlink is superior in reception at
> least. It doesnt do WPA more than likely which is a downer but the PCMCIA
> cards never get as far as it does, as clearly as it does.
>
>> seemed erratic - the DLink seemed to ignore my BSSID setting and just
>> picked
>> the AP with the higher RSSI, and the Cisco apparently did something
>> similar
>> (I couldn't do more extensive tests with it yet).

>
> Let's look at this logically. You have all channels 1 through 12 used and
> your AP is on 6. If you have an SSID that is the same as the one you want
> to use and it is using channel 6, then change your AP to another channel
> and your SSID to something different. Also use the Dlink prog for that
> purpose or turn off the Windows feature to connect to any SSID in range. I
> use a D-Link G604T and set it to 25% signal strength and still penetrate
> great distances with it AND I am near a hospital! Now when you turn the
> computer on for the first time to use wi-fi, use the d-link Airplus prog
> and go to the Site Survey section, pick the SSID on your channel and click
> Connect. When it connects to that, it will be OK in future. I have had
> different machines at this location and when they first boot with the
> driver installed, they try to connect to a nearby open wi-fi setup and do.
> Some start downloading MS updates through this other wi-fi setup, too. I
> go to Site Survey, tell it to connect to my own and it is never a problem
> again after that.
>
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BSSID and security Jake Wireless Networks 4 02-05-2009 05:50 PM
Capture ESSID and BSSID in Windows AustinMillbarge@xyz.com Wireless Internet 1 04-28-2006 12:24 AM
Help with wireless kit selection David Allen Wireless Internet 9 03-30-2005 01:24 PM
802.11b and g channel selection Press Ctrl-Alt-Del Now Wireless Internet 5 02-20-2004 07:57 PM
Linksys BEFW11S4 V2 Router and SMC 2662W Client BSSID Problem chemisti Wireless Internet 1 02-15-2004 04:31 PM



1 2 3 4 5 6 7 8 9 10 11