From d04037b432b7c8479e69f584f712d15b8f6bd9ab Mon Sep 17 00:00:00 2001 From: Shibby Date: Thu, 28 Jun 2012 15:01:24 +0200 Subject: [PATCH] Fix 'Interference Mitigation' option --- release/src/router/httpd/tomato.c | 2 +- release/src/router/www/advanced-wireless.asp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/src/router/httpd/tomato.c b/release/src/router/httpd/tomato.c index 9bbe9cb0b7..46b7816b71 100644 --- a/release/src/router/httpd/tomato.c +++ b/release/src/router/httpd/tomato.c @@ -863,7 +863,7 @@ static const nvset_t nvset_list[] = { { "wlx_hpamp", V_01 }, { "wlx_hperx", V_01 }, { "wl_reg_mode", V_LENGTH(1, 3) }, // !!TB - Regulatory: off, h, d - { "wl_mitigation", V_RANGE(0, 3) }, // Interference Mitigation Mode (0|1|2|3) + { "wl_mitigation", V_RANGE(0, 4) }, // Interference Mitigation Mode (0|1|2|3|4) { "wl_nmode_protection", V_WORD, }, // off, auto { "wl_nmcsidx", V_RANGE(-2, 32), }, // -2 - 32 diff --git a/release/src/router/www/advanced-wireless.asp b/release/src/router/www/advanced-wireless.asp index 07069743f1..1cfff8f862 100644 --- a/release/src/router/www/advanced-wireless.asp +++ b/release/src/router/www/advanced-wireless.asp @@ -189,7 +189,7 @@ if (wl_sunit(uidx)<0) { options: [['0','Auto *'],['1000000','1 Mbps'],['2000000','2 Mbps'],['5500000','5.5 Mbps'],['6000000','6 Mbps'],['9000000','9 Mbps'],['11000000','11 Mbps'],['12000000','12 Mbps'],['18000000','18 Mbps'],['24000000','24 Mbps'],['36000000','36 Mbps'],['48000000','48 Mbps'],['54000000','54 Mbps']], value: nvram['wl'+u+'_rate'] }, { title: 'Interference Mitigation', name: 'wl'+u+'_mitigation', type: 'select', - options: [['0','None *'],['1','Non-WLAN'],['2','WLAN Manual'],['3','WLAN Auto'],['4','WLAN Auto with Noice Reduction']], + options: [['0','None *'],['1','Non-WLAN'],['2','WLAN Manual'],['3','WLAN Auto'],['4','WLAN Auto with Noise Reduction']], value: nvram['wl'+u+'_mitigation'] }, { title: 'WMM', name: 'wl'+u+'_wme', type: 'select', options: [['auto','Auto *'],['off','Disable'],['on','Enable']], value: nvram['wl'+u+'_wme'] }, { title: 'No ACK', name: 'wl'+u+'_wme_no_ack', indent: 2, type: 'select', options: [['off','Disable *'],['on','Enable']], -- 2.11.4.GIT