Search Linux Wireless

Re: Faking powersave for fun and realtime channel muxing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andy Green wrote:
Michael Buesch wrote:
...
And what's it good for to have a monitor device that randomly misses
half of the packets? I mean... rather useless, no?
...
The immediate use for it is a continuous awareness of the kind of stuff going on around you on other channels, as I mentioned it could replace the current beacon "scan" concept with more of an eye of Sauron operated using the existing Monitor semantics.

This is how the background scanning works in the ipw adapters. You configure the sleep intervals and it then hops to other channels with the AP set to queue frames for you. We removed the functionality from being the default in the driver when users complained about ping latency being erratic...

But I can also use it for the penumbra broadcast stuff. If it enables autodetection of other channels with the traffic on and automatic usage of those channels without really affecting the association to the user's AP on another channel, that is a very cool feature.

Having spectrum usage knowledge (even with a low sampling rate) for user space to make intelligent decisions is *very* useful, and something that we completely lack today with Linux. Anyone that has ever been at OLS knows wireless there sucks -- and the #1 reason is because of the AP selection heuristics currently in use... you may have an AP in the corner of the room completely unused at a weaker signal but with the full channel available for use. Having this type of measurement kick in when congestion is detected (and latency would already suck) and then have user space make a decision to pro actively re-associate to a new AP -- and if it succeeds, disassociate with the current -- would be great.


Is there something like firmware constraints or the detail of the powersaving protocol that kill this dead or is it possible to consider?

For software MAC devices this might work. But I think performance would suck.
But it sounds like it's worth an experiment. So if you want to.. :)

Well, about general performance, it can modulate the amount of powersaving time it is willing to use according to the amount of packets coming to and going from the associated interface.

You can almost do it today with iwlwifi and the hardware/uCode assisted scanning.

Currently the driver has that code path inactive due to a bug that keeps it from working at all; but once hooked in you can configure the amount of time to leave the active channel and then the uCode will hop around to other channels in the background.

James
-
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux