On Tue, 2009-12-08 at 22:56 +0100, Gertjan van Wingerde wrote: > Well, this is a test patch, to validate my theory that this is where the problem is. > If that is confirmed, then I can start working out a proper solution. Well but this patch won't help you test that theory, because it'll just disable PS completely if there were packets pending when mac80211 asked you to enable PS, afaict. > How does mac80211 look at these things anyway. How does it expect the driver to handle > the cases where mac80211 asks the driver to go to sleep because of power saving, and > the driver can't because its queues haven't drained yet? mac80211 does expect you to be able to transmit while asleep. Same happens when PS-polling, where it actually expects you to wait for the response frame too. I think. I haven't looked at this in a while. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part