I turned up debug in the zd1211rw driver and can see what the problem
is. Tomorrow I'll see if I can learn enough about the driver to fix
it. The problem has nothing to do with setting an essid, that just
happens to be a way to recover from it.

modprobe the driver in.....
[ 1850.103620] zd1211rw 5-3.6:1.0: zd1211b chip 0ace:1215 v4810 high
00-02-72 AL2230_RF pa0 g--N
[ 1850.103628] zd1211rw 5-3.6:1.0: zd_write_mac_addr() mac addr
00:02:72:53:e3:c7
[ 1850.107608] zd1211rw 5-3.6:1.0: zd_read_regdomain() regdomain: 0x10
[ 1850.108122] zd1211rw 5-3.6:1.0: regdomain 0x10
[ 1850.108210] zd1211rw 5-3.6:1.0: zd_usb_disable_int() urb f5a6e8c0 killed
[ 1850.108319] zd1211rw 5-3.6:1.0: probe() successful
[ 1850.108324] zd1211rw 5-3.6:1.0: eth1
[ 1850.108343] usbcore: registered new interface driver zd1211rw
[ 1850.108349] zd1211rw initialized
[ 1889.326326] zd1211rw 5-3.6:1.0: set_security()
[ 1889.326334] zd1211rw 5-3.6:1.0: set_security()    .active_key = 0
[ 1889.326339] zd1211rw 5-3.6:1.0: set_security()    .level = 1
[ 1889.326344] zd1211rw 5-3.6:1.0: set_security()    .enabled = 1
[ 1889.326347] zd1211rw 5-3.6:1.0: set_security()    .encrypt = 1
[ 1889.328839] SoftMAC: Associate: Scanning for networks first.
[ 1889.328847] SoftMAC: Associate: failed to initiate scan. Is device up?
Looks like we tried to initiate a scan before the device was
completely initialized

[ 1889.357563] zd1211rw 5-3.6:1.0: zd_usb_enable_int()
[ 1889.357755] zd1211rw 5-3.6:1.0: zd_usb_enable_int() submit urb f5a6e2c0
[ 1889.358061] zd1211rw 5-3.6:1.0: zd_chip_set_basic_rates_locked() ff0f
[ 1889.360399] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[ 1889.365376] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1:
0x20 -> 0xa0
[ 1889.367367] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[ 1889.368364] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 1
[ 1889.373485] zd1211rw 5-3.6:1.0: update_pwr_int() channel 1 pwr_int 0x54
[ 1889.374470] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 1
ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5
[ 1889.375481] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 1 pwr_cal 0xd7
[ 1889.379353] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12
[ 1889.382359] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1:
0x20 -> 0xa0
[ 1889.383600] zd1211rw 5-3.6:1.0: zd_usb_enable_rx()
[ 1889.389389] zd1211rw 5-3.6:1.0: housekeeping_enable()
[ 1889.389417] zd1211rw 5-3.6:1.0: bssinfo_change() changes: 7
[ 1889.389751] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr
01:00:5e:00:00:01
[ 1889.393980] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr
01:00:5e:00:00:01
[ 1889.394469] zd1211rw 5-3.6:1.0: zd_chip_set_rts_cts_rate_locked()
rts_rate=0 preamble=0
[ 1889.394971] zd1211rw 5-3.6:1.0: zd_chip_set_basic_rates_locked() ff0f
[ 1889.395199] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr
01:00:5e:00:00:01
[ 1889.395593] zd1211rw 5-3.6:1.0: zd_chip_set_multicast_hash() hash l
0x00000001 h 0x80000000

Now chip is fully initialized

When I type, iwconfig eth1 essid Smirl, it cancels the first Associate
request and starts a new one. This one will work because the device is
now initialized.

[ 1955.592897] SoftMAC: Canceling existing associate request!
[ 1955.593000] SoftMAC: Associate: Scanning for networks first.
[ 1955.593010] zd1211rw 5-3.6:1.0: set_channel() channel 1
[ 1955.594136] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[ 1955.594768] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 1
[ 1955.598507] zd1211rw 5-3.6:1.0: update_pwr_int() channel 1 pwr_int 0x54
[ 1955.599130] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 1
ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5
[ 1955.599754] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 1 pwr_cal 0xd7
[ 1955.602111] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12
[ 1955.604107] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1:
0x20 -> 0xa0
[ 1955.624511] zd1211rw 5-3.6:1.0: set_channel() channel 2
[ 1955.626068] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[ 1955.626703] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 2
[ 1955.630446] zd1211rw 5-3.6:1.0: update_pwr_int() channel 2 pwr_int 0x5c
[ 1955.631071] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 2
ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5
[ 1955.631694] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 2 pwr_cal 0xd7
[ 1955.634050] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12
[ 1955.636047] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1:
0x20 -> 0xa0
[ 1955.656329] zd1211rw 5-3.6:1.0: set_channel() channel 3
....
[ 1955.969417] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1:
0x20 -> 0xa0
[ 1955.970060] SoftMAC: sent association request!
[ 1955.971791] SoftMAC: associated!

-- 
Jon Smirl
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to