can't associate

Holger Schurig hs4233 at mail.mn-solutions.de
Sat Feb 17 10:14:36 EST 2007


> Can you please enable debugging (CONFIG_LIBERTAS_USB_DEBUG) and save
> the output somewhere?

I think the scanning code is buggy.

I added some debug statements and get this output:

16:58:45 usb8xxx: Enter: wlan_scan_create_channel_list:319
16:58:45 //HS scantype 0
16:58:45 //HS enable11d 0
16:58:45 //HS using region_channel 0
16:58:45 //HS scanregion->nrcfp 11
         //HS scanregion->band 0
         //HS nextchan 0, chanidx 0
         //HS nextchan 1, chanidx 1
         //HS nextchan 2, chanidx 2
         //HS nextchan 3, chanidx 3
         //HS nextchan 4, chanidx 4
         //HS nextchan 5, chanidx 5
         //HS nextchan 6, chanidx 6
         //HS nextchan 7, chanidx 7
         //HS nextchan 8, chanidx 8
         //HS nextchan 9, chanidx 9
         //HS nextchan 10, chanidx 10
usb8xxx: Leave: wlan_scan_create_channel_list:397

So the code creates a list of 11 channels. But later, I see only this:

16:58:45 usb8xxx: Enter: wlan_scan_channel_list:669
16:58:45 usb8xxx: Scan: Chan(  1), Radio(0), mode(0,1), Dur(100)
16:58:45 usb8xxx: Scan: Chan(  2), Radio(0), mode(0,1), Dur(100)
16:58:45 usb8xxx: Enter: libertas_prepare_and_send_command:1148

that are all channels that get scanned.
               



More information about the libertas-dev mailing list