Restricted mode not working with MA101, kernel 2.6.5, driver 0.12 from cvs

"Alexander Steppke" <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Organization http://freemail.web.de/
Message-ID <[email protected]>
Hi,

for upgrading my kernel to 2.6.5 I got the latest drivers from cvs. With my old configuration from the 0.11 driver it was not possible to connect to the AP. 

The system log shows that the devices is registered correctly:

Apr 28 13:19:11 blacklinux kernel: /home/vario/at76c503a/at76c503.c: $Id: at76c503.c,v 1.53 2004/04/16 19:06:02 jal2 Exp $ compiled Apr 27 2004 23:16:46
Apr 28 13:19:11 blacklinux kernel: /home/vario/at76c503a/at76c503.c: firmware version 1.101.2 #84 (fcs_len 4)
Apr 28 13:19:11 blacklinux kernel: /home/vario/at76c503a/at76c503.c: device's MAC 00:09:5b:24:30:01, regulatory domain FCC (U.S) (id 16)
Apr 28 13:19:11 blacklinux kernel: /home/vario/at76c503a/at76c503.c: registered wlan0

The device is configured like this:

wlan0     IEEE 802.11-DS  ESSID:"craven"  Nickname:"okuwlan"
          Mode:Managed  Channel:1  Access Point: 00:00:00:00:00:00  
          Bit Rate:11Mb/s   Tx-Power=15 dBm   
          Retry limit:8   RTS thr:off   Fragment thr:off
          Encryption key:my-key-here   Security mode:restricted
          Power Management:off
          Link Quality:0/0  Signal level:25/100  Noise level:0/0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Enabling the debugging showed that the card tries to connect but is not successful:

 13:22:35 blacklinux kernel: at76c503a/at76c503.c: wlan0: state 6 -> 1 (SCANNING)
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0 BSS table (curr=00000000, new=00000000):
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: 0xdf2d33c0: bssid 00:02:8a:a8:93:4f channel 1 ssid craven (63726176656E) capa x0031 rates 82 04 0B 16 rssi 14 link 0 noise 0
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0 BSS table (curr=00000000, new=00000000):
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: 0xdf2d33c0: bssid 00:02:8a:a8:93:4f channel 1 ssid craven (63726176656E) capa x0031 rates 82 04 0B 16 rssi 22 link 0 noise 0
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0: state 1 -> 6 (JOINING)
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0 find_matching_bss: returned df2d33c0
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0 join addr 00:02:8a:a8:93:4f ssid craven type 2 ch 1 timeout 2000
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0: state 6 -> 2 (AUTHENTICATING)
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0: state 2 -> 6 (JOINING)
 13:22:46 blacklinux kernel: at76c503a/at76c503.c: wlan0 find_matching_bss: returned 00000000

I rechecked everything and changed the security mode from "restricted" to "open" and the card works now perfectly. With the old 0.11 driver "restricted" worked without problems. Is this a bug? My access point is configured for restricted connections (it is a Cisco 1100).
It took me several hours to get my internet connecting working with this problem and I want to say thank you very much for the great support manual on the website and of course for the driver. 

Alexander Steppke

_______________________________________________________________________
... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail
ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.