luci-mod-status: improve channel_analysis page
authorAnsuel Smith <ansuelsmth@gmail.com>
Mon, 21 Feb 2022 22:37:24 +0000 (23:37 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 13 Dec 2022 22:30:53 +0000 (23:30 +0100)
commit75dcb097547257d654e9b7f7d58578b9210968e5
tree5f4a42bc2a33387eb91d31c769df215195cc4297
parent14c3a7803f4c88bc19c1a096a56a2e2e65958a1a
luci-mod-status: improve channel_analysis page

Many user complained problem with using pool with wifi scan. This comes
from the limitation that some wifi driver have problems with scanning
nearby wifi and keeping traffic.

Fix this by doing the wifi scan only one time on page load and provide a
button to refresh the channels manually. The original implementation is
preserved as the user can simply reenable the poll referesh from the ui.

While at it also sort the table by channel instead of by signal quality
to better track the most used channels in the table.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js