On 1/26/07, Larry Finger <[EMAIL PROTECTED]> wrote:
> Paul Marks wrote:
> > I have a BCM4311 card, and ever since the PCI-E interrupts patch, I've been
> > able to associate just fine with my own WPA2-PSK access point, using
> > wpa_supplicant with ap_scan=1.
> >
> > However, the access points at my school (Purdue) are all WPA-Enterprise with
> > a hidden SSID, and I so far haven't had any luck getting bcm43xx to connect
> > to these.  If I use ndiswrapper instead, then these APs work as expected.
> >
> > Am I doing something wrong, or is this a limitation in the driver?  Has
> > anyone gotten bcm43xx to work in a hidden-SSID situation?
> >
> > -snip-
>
> It should work. I just hid my SSID and had no trouble seeing the AP when 
> scanning nor any problem
> with associating or authenticating.
>
> How close are you to the AP at Purdue? The 4311's don't broadcast with much 
> power and you might not
> be in reach. I'm also not sure about the ap_scan=2 in your .conf file. Please 
> try a value of 1.
>
> One other thing to test. Once the system is trying to authenticate, do an 
> 'iwlist s' command to see
> if any scans are getting through. It doesn't seem as if they are, but this is 
> another way to see.

In order to get around the (possible) transmit power problem, I set my
own AP to have a hidden SSID, and it's currently sitting about 1 meter
from the laptop.

I've been skimming through the wpa_supplicant source code to try to
get a handle on what's going on.   When ap_scan is set to 1,
wpa_supplicant will walk through all of the entries in the config file
that have "scan_ssid=1" set.  For each of these SSIDs, it tells the
driver to scan for that specific SSID, and when the results come back,
it compares each resulting SSID with the SSID that it was originally
scanning for, looking for an exact string match.

So, it looks like it's the driver's job to scan for a specific SSID,
and insert its name into one of the fields that would ordinarily be
"<hidden>".  The problem is, even after scanning for a specific SSID,
the results from the driver never contain the SSID that we searched
for.  In the debug output for wpa_supplicant, I see:

0: 00:16:01:11:42:11 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   skip - SSID mismatch

That's definitely my access point, but as you can see, the driver
never inserted the correct SSID.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to