From: Bjørn Mork (bjorn_at_mork.no)
Date: 2002-04-10 21:44:20 UTC
Bjørn Mork <bjorn_at_mork.no> writes:
> Jouni Malinen <jkmaline_at_cc.hut.fi> writes:
>>
>> I have been unable to get this happening in my tests.. The reset code
>> seems to have working fine, but probably there is something that I
>> have been able to duplicate. Does 'iwpriv wlan0 reset 0' or 'iwpriv
>> wlan0 reset 1' reset the card correctly? At least 1 (i.e., COR sreset)
>> should be enough.
>
> Will test that the next time this happens.
Yup, looks like 'iwpriv wlan0 reset 1' is enough. 'iwpriv wlan0 reset 0' failed:
Apr 10 23:35:43 canardo kernel: wlan0: hfa384x_setup_bap - timeout3 Apr 10 23:35:43 canardo kernel: Could not get info frame Apr 10 23:35:43 canardo kernel: prism2: wlan0: resetting card Apr 10 23:35:43 canardo kernel: prism2_cor_sreset: original COR 41 Apr 10 23:35:43 canardo kernel: prism2_hw_config() Apr 10 23:35:43 canardo kernel: prism2: card initialization timed out Apr 10 23:35:43 canardo kernel: prism2: Initialization failed Apr 10 23:35:45 canardo kernel: wlan0: prism2_tx: hw not ready - skipping Apr 10 23:36:27 canardo last message repeated 6 times Apr 10 23:36:37 canardo last message repeated 7 times Apr 10 23:36:44 canardo kernel: wlan0: manual reset request(0) Apr 10 23:36:44 canardo kernel: SWSUPPORT0 write/read failed: 0000 != 8A32 Apr 10 23:36:44 canardo kernel: prism2: Initialization failed Apr 10 23:36:44 canardo kernel: prism2_hw_config() Apr 10 23:36:44 canardo kernel: prism2_hw_config: initialized in 12231 iterations Apr 10 23:37:15 canardo kernel: wlan0: prism2_tx: hw not ready - skipping Apr 10 23:37:17 canardo last message repeated 2 times Apr 10 23:38:00 canardo kernel: wlan0: manual reset request(1) Apr 10 23:38:00 canardo kernel: prism2: wlan0: resetting card Apr 10 23:38:00 canardo kernel: prism2_cor_sreset: original COR 41 Apr 10 23:38:00 canardo kernel: prism2_hw_config() Apr 10 23:38:00 canardo kernel: prism2_hw_config: initialized in 12343 iterations Apr 10 23:38:01 canardo kernel: wlan0: prism2_rx: dropped data frame with no data (type=0x02, subtype=0x04)
Bjørn