can't associate

Marcelo Tosatti marcelo at kvack.org
Fri Feb 16 12:14:19 EST 2007


On Fri, Feb 16, 2007 at 12:52:20PM +0100, Holger Schurig wrote:
> Somehow I can't associate to a Cisco AP.
> 
> # modprobe usb8xxx
> # ifconfig eth1 up
> # iwconfig eth1 essid SCHURIG
> # iwconfig eth1
> eth1      MRVL-USB8388  ESSID:""  Nickname:""
>           Mode:Managed  Access Point: Not-Associated   Bit Rate:1 Mb/s
>           Tx-Power=18 dBm
>           Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
>           Encryption key:off
>           Power Management:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> # iwlist eth1 scanning
> eth1      No scan results

Holger, 

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

What we are looking for is the ASSOCIATE command sent to firmware, and
what response was received back from it.

> However, the driver *did* find my access point, even when I did not
> do an "echo SCHURIG >extscan":
> 
> # cat /sys/kernel/debug/libertas_wireless/eth1/getscantable
> ------------------------------------------------------------------------------
> # | ch  | ss  |       bssid       |   cap    |    TSF   | Qual | SSID
> ------------------------------------------------------------------------------
> 00| 001 | 038 | 00:13:19:80:da:30 | 0801-I   | 00e32e90 | 218 | SCHURIG
> 
> After I did this, the following worked:
> 
> # iwlist eth1 scanning
> eth1      Scan completed :
>           Cell 01 - Address: 00:13:19:80:DA:30
>                     ESSID:"SCHURIG"
>                     Mode:Managed
>                     Frequency:2.412 GHz (Channel 1)
>                     Quality=100/100  Signal level=-43 dBm  Noise level=-96 dBm
>                     Encryption key:off
>                     Bit Rates:54 Mb/s
> 
> It just did report a wrong bit rate (iwlist eth1 scanning with another card
> report all bitrates from 1 Mb/s to 54 Mb/s). However, "iwconfig eth1" still
> doesn't show any association.
> 
> 
> When I did make an extscan, I suddenly got an association:
> 
> # echo SCHURIG >/sys/kernel/debug/libertas_wireless/eth1/extscan
> # cat /sys/kernel/debug/libertas_wireless/eth1/getscantable
> ------------------------------------------------------------------------------
> # | ch  | ss  |       bssid       |   cap    |    TSF   | Qual | SSID
> ------------------------------------------------------------------------------
> 00| 001 | 010 | 00:13:19:80:da:30 | 0801-I   | 29379031 | 246 | SCHURIG
> # iwconfig eth1 essid SCHURIG
> # iwconfig eth1
> eth1      MRVL-USB8388  ESSID:"SCHURIG"  Nickname:""
>           Mode:Managed  Frequency:2.412 GHz  Access Point: 00:13:19:80:DA:30
>           Bit Rate:54 Mb/s   Tx-Power=18 dBm
>           Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
>           Encryption key:off
>           Power Management:off
>           Link Quality=100/100  Signal level=-43 dBm  Noise level=-93 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:42
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> Without the second call to "iwconfig eth1 essid SCHURIG" this did not work,
> thought.
> 
> 
> 
> The device is
> 
>   idVendor           0x1286
>   idProduct          0x2001
>   bcdDevice           31.07
> 
> and the firmware is usb8388_A1_W8015FP14_FW2.bin renamed to usb8388.bin
> with an md5sum of 421964206b0699014a11256ac48dd0a8
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev



More information about the libertas-dev mailing list