Bug 407 - Missing association events with ipw2100-1.0.1
: Missing association events with ipw2100-1.0.1
Status: VERIFIED FIXED
: IPW2100
Wireless Tools
: 1.0.1
: IBM Gentoo
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-11-20 06:59 by
Modified: 2005-10-04 13:09 (History)


Attachments
dmesg output with debug=0x3fff (18.58 KB, text/plain)
2004-12-13 12:52, Henrik Brix Andersen
Details
Sends disassociation event to user space on NIC reset (741 bytes, patch)
2005-01-27 08:34, James Ketrenos
Details | Diff
Properly send disassociation events to user space (1.54 KB, patch)
2005-01-31 12:13, Henrik Brix Andersen
Details | Diff
Keep a 1:1 relation between associations/disassociations (919 bytes, patch)
2005-01-31 12:40, Henrik Brix Andersen
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-11-20 06:59:23
The ipw2100 driver used to generate an association event (iwevent) upon the
radio being re-enabled using SW RF kill and other firmware restarts. These
association events will cause wpa_supplicant to re-authenticate, which is needed
if the firmware has been restarted etc.

This is no longer true with ipw2100-1.0.1. No association event is generated
when re-enabling the radio using '/bin/echo 0 >
/sys/class/net/eth1/device/rf_kill' and no association event is generated upon a
firmware restart caused by a hw_send_command timeout (bug #245).
------- Comment #1 From 2004-12-13 10:13:07 -------
Please run w/ debug level set to 0x3fff and attach the dmesg output that
captures what the driver is trying to do from the point it handles the SW RF
switch being set to 0.
------- Comment #2 From 2004-12-13 12:52:37 -------
Created an attachment (id=166) [details]
dmesg output with debug=0x3fff
------- Comment #3 From 2004-12-13 12:53:26 -------
Ok, dmesg output attached. Reopening.
------- Comment #4 From 2005-01-27 08:34:29 -------
Created an attachment (id=242) [details]
Sends disassociation event to user space on NIC reset

This should correct the problem of not sending a disassociation event when the
firmware is being restarted.
------- Comment #5 From 2005-01-27 08:34:51 -------
Fixed in 1.0.3
------- Comment #6 From 2005-01-31 12:10:27 -------
Reopening since this problem still exists in 1.0.3 (at least with the
ipw2100-1.0.3-hang.patch).
------- Comment #7 From 2005-01-31 12:13:38 -------
Created an attachment (id=247) [details]
Properly send disassociation events to user space

With the help of logics in irc I have prepared a patch which properly sends
disassociation events to user space when either ipw2100_reset_adapter() or
ipw2100_down() is called.
------- Comment #8 From 2005-01-31 12:40:28 -------
Created an attachment (id=248) [details]
Keep a 1:1 relation between associations/disassociations

Updated patch.
------- Comment #9 From 2005-02-02 00:13:54 -------
Fixed in 1.0.4.
------- Comment #10 From 2005-02-02 00:14:15 -------
Verified.