[Prism54-devel] [Bug 101] prism54 driver doesn't work in ad-hoc mode on WG511

bugzilla-daemon at mcgrof.com bugzilla-daemon at mcgrof.com
Mon Jul 26 20:23:32 UTC 2004


http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=101





------- Additional Comments From vda at port.imtp.ilyichevsk.odessa.ua  2004-07-26 20:23 -------
Created an attachment (id=10)
 --> (http://prism54.org/cgi-bin/bugzilla/attachment.cgi?id=10&action=view)
A dirty patch which _maybe_ helps

[I also sent this patch to developers by email.]

Patch does a reset if hw times out. Tested with
prism54 in AP mode.

Patch is not good enough for inclusion because:

1. Hang is detected and reset is triggered
only if islpci_mgt_transaction() is called from
somewhere (iwconfig <iface> will do). In 
pure acx100->prism54 flood test (no prism->acx
traffic at all), islpci_mgt_transaction() is never called
(or at least never times out).
Do we need a watchdog to periodically poll prism54 hw?

2. Busy-waiting is dirty.

Patch in action:

Jul 26 21:36:06 shadow kernel: Tx error occurred (error 0x20)!! (excessive Tx
retries due to either distance too high or unable to Tx or Tx fr
Jul 26 21:36:18 shadow last message repeated 131 times
Jul 26 21:36:22 shadow kernel: ifp: timeout waiting for mgmt response 1000,
triggering device
Jul 26 21:36:23 shadow default.hotplug[4078]: invoke
/usr/app/hotplug-2004_01_05/script/firmware.agent ()
Jul 26 21:36:23 shadow kernel: ifp: timeout waiting for mgmt response
Jul 26 21:36:23 shadow kernel: ifp: scheduling a reset
Jul 26 21:36:23 shadow kernel: ifp: waiting for a reset to happen
Jul 26 21:36:23 shadow kernel: ifp: resetting device...
Jul 26 21:36:23 shadow kernel: ifp: uploading firmware...
Jul 26 21:36:23 shadow firmware.agent[4078]:
/usr/app/hotplug-2004_01_05/firmware/isl3890 found, loading it into
/sys//class/firmware/0000:00:
Jul 26 21:36:23 shadow kernel: ifp: firmware uploaded done, now triggering
reset...
Jul 26 21:36:23 shadow default.hotplug[4093]: invoke
/usr/app/hotplug-2004_01_05/script/firmware.agent ()
Jul 26 21:36:23 shadow kernel: ifp: reset done. Waited: 374 jiffies, 1721392
yields

Good news is that after reset card is happily doing its AP work.
Frankly, I didn't expect it to.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Prism54-devel mailing list