#13 Marvell WiFi (WiFiStix) cannot associate to a specific AP

open
sakoman
Bug (21)
5
2008-01-15
2008-01-15
Yuvraj Agarwal
No

When I try to associate to a specific AP (i.e. BSSID) using the wireless tools "iwconfig" it fails and after that it fails to even associate using the normal mechanism of specifying just the ESSID. This is a scenario when there are multiple APs having the same ESSID in a enterprise/campus deployment and we want to connect to a specific one.

***************************************************
example log of this happening
***************************************************
root@gumstix-custom-connex:~$ ping www.google.com
PING www.l.google.com (74.125.19.103): 56 data bytes
64 bytes from 74.125.19.103: icmp_seq=0 ttl=239 time=19.1 ms

--- www.l.google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 19.1/19.1/19.1 ms
root@gumstix-custom-connex:~$ iwconfig wlan0 essid UCSD ap 00:20:A6:49:8B:E9

BUG: scheduling while atomic: iwconfig/0x00000001/808
[<c001c6b8>] (dump_stack+0x0/0x14) from [<c017d144>]
.
.
snipped the kernel bug mesages for brevity (yuvraj)
.
.

C02C9E20
[<c006c434>] (sys_read+0x0/0x70) from [<c0017c60>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000003 r6 = 000003FF r5 = 00000100 r4 = 00019008
Error for wireless request "Set AP Address" (8B14) :
SET failed on device wlan0 ; Network is down.

root@gumstix-custom-connex:~$ iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 MRVL-CF8385 ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:2 Mb/s Tx-Power=13 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:14759
Tx excessive retries:29 Invalid misc:49 Missed beacon:0

root@gumstix-custom-connex:~$ iwconfig wlan0 essid UCSD
BUG: scheduling while atomic: iwconfig/0x00000001/810
[<c001c6b8>] (dump_stack+0x0/0x14) from [<c017d144>] (schedule+0x64/0x768)
.
.
snipped the kernel bug mesages for brevity (yuvraj)
.
.
r7 = 00000003 r6 = 000003FF r5 = 00000100 r4 = 00019008
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Network is down.
root@gumstix-custom-connex:~$

Discussion