luci-mod-status: channel_analysis: detect 160 MHz capable AP 7367/head
authorAleksander Jan Bajkowski <olek2@wp.pl>
Tue, 29 Oct 2024 23:12:52 +0000 (00:12 +0100)
committerAleksander Jan Bajkowski <olek2@wp.pl>
Thu, 7 Nov 2024 22:19:59 +0000 (23:19 +0100)
commitaa79c3f30dfe05ad122dfae125023a9ddab0a951
tree45b05dac1c1a6e7a819013425ebbefc2fe54a47b
parent1de73e16f525a5edc80954afda50db88b3cf96da
luci-mod-status: channel_analysis: detect 160 MHz capable AP

Implement a workaround to detect an 160MHz capable AP. It was introduced
in the mac80211 in 2016 with 802.11ac Wave 2. APs capable of 160 MHz are
detected by the shift of central frequencies. More detailed description
in the link [1]. Every AP I have seen presents support for 160 MHz in this way.

[1] https://github.com/torvalds/linux/commit/23665aaf9170ae6328cc4f68250c529a628af2ab
Fixes: #6262
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js