summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-07-31 16:36:00 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-09-18 13:40:34 +0200
commit318ef4c83fc4e633f8dbb8b1dd3f4c46c7acc112 (patch)
treea82e640eabb2b1e2e5d774786ca609a6bd235c36 /modules/luci-mod-status/htdocs/luci-static
parent31d7943bcdb4c5054e9ac8fdf030e753bf35fe6d (diff)
luci-mod-status: add support for the 6g band
Enable support for the 6GHz band now that the code supports it. For that it just needs to be added to the "bands" object. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
index 02119451ae..2ce22d5838 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
@@ -144,7 +144,7 @@ return view.extend({
if ((band != 2) && freq_tbl[i+1]) {
var next_channel = freq_tbl[i+1];
- /* Check if we are transitioning to another 5Ghz band range */
+ /* Check if we are transitioning to another 5/6Ghz band range */
if ((next_channel - channel) == 4) {
for (var j=1; j < 4; j++) {
chan_analysis.offset_tbl[channel+j] = curr_offset+step;
@@ -383,6 +383,7 @@ return view.extend({
var bands = {
[2] : { title: '2.4GHz', channels: [] },
[5] : { title: '5GHz', channels: [] },
+ [6] : { title: '6GHz', channels: [] },
};
/* Split FrequencyList in Bands */