I played around with things for a while and finally got it to associate.

I had to force a manual association
sudo iwconfig wlan1 ap 00:11:95:18:15:31

This doesn't work every time but I don't have any clues as to why it
works sometimes and not others.

This association attempt failed.....
wlan1: Initial auth_alg=0
wlan1: authenticate with AP 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31
wlan1: dropped data frame to not associated station 00:11:95:18:15:31


This one worked......
wlan1: Initial auth_alg=0
wlan1: authenticate with AP 00:11:95:18:15:31
wlan1: RX authentication from 00:11:95:18:15:31 (alg=0 transaction=2 status=0)
wlan1: authenticated
wlan1: associate with AP 00:11:95:18:15:31
wlan1: RX AssocResp from 00:11:95:18:15:31 (capab=0x431 status=0 aid=2)
wlan1: associated
[EMAIL PROTECTED]:~$


More detailed trace from a failure.....
I have two wireless devices plugged in Dlink on wlan0, zd1211 on wlan1.
Not sure why wmaster0 is involved in this trace when I am trying to
associate wlan1.
Could be because wlan0 is hearing the traffic on wlan1.

Jan 23 00:22:05 jonsmirl kernel: wlan1: Initial auth_alg=0
Jan 23 00:22:05 jonsmirl kernel: wlan1: authenticate with AP 00:11:95:18:15:31
Jan 23 00:22:57 jonsmirl kernel: wmaster0: TX to low-level driver
(len=47) FC=0x0040 DUR=0x013a A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=00:11:95:18:15:31
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0: zd_usb_enable_int()
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_usb_enable_int() submit urb ceec02c0
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
Jan 23 00:22:59 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_rf_set_channel() channel: 1
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
update_pwr_int() channel 1 pwr_int 0x54
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
update_ofdm_cal() channel 1 ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
update_pwr_cal() channel 1 pwr_cal 0xd7
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
patch_cck_gain() patching value 12
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
zd_write_mac_addr() mac addr 00:02:72:53:e3:c7
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0: zd_usb_enable_rx()
Jan 23 00:23:00 jonsmirl kernel: zd1211rw_d80211 5-3.2:1.0:
housekeeping_enable()
Jan 23 00:23:00 jonsmirl kernel: wmaster1: Does not support passive
scan, disabled
Jan 23 00:23:13 jonsmirl kernel: wmaster0: TX to low-level driver
(len=68) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=00:0f:b5:6b:8b:50
Jan 23 00:23:14 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:16 jonsmirl kernel: wmaster0: TX to low-level driver
(len=368) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=ff:ff:ff:ff:ff:ff
Jan 23 00:23:17 jonsmirl kernel: wmaster0: TX to low-level driver
(len=368) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=ff:ff:ff:ff:ff:ff
Jan 23 00:23:18 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=80) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:16
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=524) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1509) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:20 jonsmirl kernel: wmaster0: TX to low-level driver
(len=389) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:21 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:21 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:23 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:23 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1509) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:23 jonsmirl kernel: wmaster0: TX to low-level driver
(len=389) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:23 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:23 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:23:27 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:23:28 jonsmirl kernel: wmaster0: TX to low-level driver
(len=80) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:16
Jan 23 00:23:31 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:23:31 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:40 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:23:40 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:23:46 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:55 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:23:58 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:23:59 jonsmirl kernel: wmaster0: TX to low-level driver
(len=47) FC=0x0040 DUR=0x013a A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=00:11:95:18:15:31
Jan 23 00:23:59 jonsmirl kernel: wmaster0: STA 00:11:95:18:15:31
Average rate: 540 (1080/2)
Jan 23 00:24:09 jonsmirl kernel: wmaster0: TX to low-level driver
(len=368) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=ff:ff:ff:ff:ff:ff
Jan 23 00:24:09 jonsmirl kernel: wmaster0: TX to low-level driver
(len=68) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=00:0f:b5:6b:8b:50
Jan 23 00:24:10 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:24:12 jonsmirl kernel: wmaster0: TX to low-level driver
(len=368) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=ff:ff:ff:ff:ff:ff
Jan 23 00:24:12 jonsmirl kernel: wmaster0: Discarded packet with
nonexistent originating device
Jan 23 00:24:13 jonsmirl kernel: wmaster0: TX to low-level driver
(len=368) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=ff:ff:ff:ff:ff:ff
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=80) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:16
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=524) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1501) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:15 jonsmirl kernel: wmaster0: TX to low-level driver
(len=381) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:16 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:16 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:16 jonsmirl kernel: wmaster0: TX to low-level driver
(len=524) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:17 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:17 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:18 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1509) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:18 jonsmirl kernel: wmaster0: TX to low-level driver
(len=389) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:19 jonsmirl kernel: wlan1: dropped data frame to not
associated station 00:11:95:18:15:31
Jan 23 00:24:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=1427) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=464) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:fb
Jan 23 00:24:19 jonsmirl kernel: wmaster0: TX to low-level driver
(len=80) FC=0x4108 DUR=0x002c A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=01:00:5e:00:00:16
Jan 23 00:25:01 jonsmirl kernel: wmaster0: TX to low-level driver
(len=47) FC=0x0040 DUR=0x013a A1=00:11:95:18:15:31
A2=00:15:e9:2d:76:57 A3=00:11:95:18:15:31
Jan 23 00:25:01 jonsmirl kernel: wmaster0: STA 00:11:95:18:15:31
Average rate: 540 (1080/2)





-- 
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