diff --git a/files/usr/local/bin/wscan b/files/usr/local/bin/wscan index bf20d7f0..92fd073e 100755 --- a/files/usr/local/bin/wscan +++ b/files/usr/local/bin/wscan @@ -142,7 +142,7 @@ $iters = 0; # number of iterations $mychan = `iwinfo $iface info | grep -i channel`; $mychan =~ /Channel:\s+(-*\d+)/; -$mychan = ( ! defined $1 || ! int($1) || ! ($1 >= -2 && $1 <= 185) ) ? 0 : $1; +$mychan = ( ! defined $1 || ! int($1) || ! ($1 >= -4 && $1 <= 185) ) ? 0 : $1; # ch 76 - 99 are 3ghz since no part 15 usage (5ghz board with -2ghz transverter) if ($mychan >= 76 and $mychan <= 99) diff --git a/files/www/cgi-bin/channelmaps.pm b/files/www/cgi-bin/channelmaps.pm index 249f36cf..9a14ab9b 100644 --- a/files/www/cgi-bin/channelmaps.pm +++ b/files/www/cgi-bin/channelmaps.pm @@ -49,6 +49,8 @@ sub rf_channel_map 7 => "(922)", }, '2400' => { + -4 => "-4 (2387)", + -3 => "-3 (2392)", -2 => "-2 (2397)", -1 => "-1 (2402)", 1 => "1 (2412)", diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index 0afb5aac..d817bcf9 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -828,7 +828,7 @@ if ( ${wifi_enable} ) { selopt($rfchannels->{$channelnumber}, $channelnumber, $wifi_channel); } - print "\n"; + print "  \n"; print "Channel Width\n"; print "