#275: Scan for non-ESSID-broadcasting access point always fails
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mrenzmann
Type: defect | Status: assigned
Priority: minor | Milestone: version 1.0.0 - first
stable release
Component: madwifi: 802.11 stack | Version: trunk
Resolution: | Keywords:
Patch_attached: 1 |
----------------------------------------+-----------------------------------
Comment (by [EMAIL PROTECTED]):
Hmmm. I'd been building it against 2.6.14, and it seemed to work OK in
that kernel.
I'll check to see if there were changed in the wireless extensions (either
in detail
or in structure) between 2.6.10 and 2.6.14 which would have caused this.
My guess is that the ioctl request structure may have been moved to a
different
#include file or is named differently. I'll see what I can find.
Oh - I reviewed scottraynel's updated patch for #228, and I think that his
new patch's timeout logic looks fine. I agree with his conclusion that
the
current net80211 code structure is somewhat prone to race conditions.
Unfortunately I suspect that truly fixing this would require a rather
major reorganization of the code (e.g. moving to a carefully-designed set
of state machines, with callers submitting requests to some sort of queue
and having a central state machine manage all of the state transitions).
Not an easy job.
I'll copy/lift/abstract/mimic/steal scott's timeout code and incorporate
it into the patch I submitted a few weeks ago, and resubmit it. I'll also
see if I can tweak it to work correctly with older versions of the
kernel / wireless extensions, or at least make it harmless when applied
to older kernels.
--
Ticket URL: <http://madwifi.org/ticket/275>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity