Initial automatic channel selection implementation
Wed May 25 05:19:06 PDT 2011
On Wed, May 25, 2011 at 12:54 AM, Luis R. Rodriguez <mcgrof at gmail.com> wrote:
> Yes, thanks this is a lot of work already done. Now we just need a
> basic algorithm to parse this, quantify how ideal this channel is and
> then spit out a desired optimal channel.
That's what I've hacked some time ago (in form of the attached _ugly_ shell
script that does auto channel selection with rt2x00, not sure if it works
correct with other drivers as the survey dump differs somehow between
rt2x00, ath5k and ath9k, and it only does channel 1-11):
- Iterate over all channels and stay on each channel for some time
- Store busy time stats for each channel
- Choose the channel with the lowest busy time (and on 2.4Ghz also
check the busy times on adjacent channels)
Btw. is the idea to get the auto channel selection into hostapd/supplicant
or in a new userspace tool?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1385 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20110525/d3de47a8/attachment.sh
More information about the Hostap