On Tue, Jul 15, 2008 at 11:12 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > >> This stuff is very much hardware dependent, I don't deny that, but >> still I would assume that the basic principles are almost the same. We >> just need to come up with a good interface for the drivers. Sure, it's >> more work now, but if we don't do it, PSM support will eventually get >> really messy because all drivers do it somehow differently. > > I agree. > >> > I really don't know what other vendors do and user should not guess >> > this. >> >> Yes, for the user this is too difficult, but I think the driver >> shouldn't be making the decision either. So mac80211 stack would be >> the most logical choice, and it could be make the decisions based on >> user input (or something like that). > > Well, the user may want to make a choice based on the latency. Or, > ideally, we would detect that they're using voice and want lower > latency. Or something like that. We are providing power save user interface reach enough to specify all the above requirements. I think you are both misinterpreting listen interval meaning. Listen interval merely says to AP for how many beacons save direct packets for this STA. It doesn't mean it's can be shorter and it does say it's won't be longer. It's doesn't affect power save dynamics it's just sets upper limit. This value for iwlwifi hw is derived from maximal supported beacon interval and size of the internal HW timers. This value is hard coded in the driver. Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html