mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Minor: comments + formatting
This commit is contained in:
parent
6a961e09b8
commit
93514a6787
@ -198,7 +198,7 @@ except for the US that allows channel 12 & 13 in low power mode with additional
|
|||||||
Canada allows channel 12 in low power mode. Because it's unsure if low powered mode can be
|
Canada allows channel 12 in low power mode. Because it's unsure if low powered mode can be
|
||||||
supported the channels are not selectable for those countries. Also Uzbekistan and Colombia
|
supported the channels are not selectable for those countries. Also Uzbekistan and Colombia
|
||||||
allow up to channel 11 as maximum channel on the 2.4Ghz WiFi band.
|
allow up to channel 11 as maximum channel on the 2.4Ghz WiFi band.
|
||||||
Source: https://en.wikipedia.org/wiki/List_of_WLAN_channels#Interference_concerns
|
Source: https://en.wikipedia.org/wiki/List_of_WLAN_channels
|
||||||
Additional: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
|
Additional: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
|
||||||
*/
|
*/
|
||||||
function loadChannelSelect() {
|
function loadChannelSelect() {
|
||||||
@ -207,8 +207,7 @@ function loadChannelSelect() {
|
|||||||
var channel_select = $('#cbxchannel');
|
var channel_select = $('#cbxchannel');
|
||||||
var selectablechannels = Array.range(1,14);
|
var selectablechannels = Array.range(1,14);
|
||||||
var countries_2_4Ghz_max11ch = Array('AG', 'BS', 'BB', 'BZ', 'CR', 'CU', 'DM', 'DO', 'SV', 'GD', 'GT',
|
var countries_2_4Ghz_max11ch = Array('AG', 'BS', 'BB', 'BZ', 'CR', 'CU', 'DM', 'DO', 'SV', 'GD', 'GT',
|
||||||
'HT', 'HN', 'JM', 'MX', 'NI', 'PA', 'KN', 'LC', 'VC', 'TT',
|
'HT', 'HN', 'JM', 'MX', 'NI', 'PA', 'KN', 'LC', 'VC', 'TT', 'US', 'CA', 'UZ', 'CO');
|
||||||
'US', 'CA', 'UZ', 'CO');
|
|
||||||
var countries_2_4Ghz_max14ch = Array('JP');
|
var countries_2_4Ghz_max14ch = Array('JP');
|
||||||
var countries_5Ghz_max48ch = Array('US');
|
var countries_5Ghz_max48ch = Array('US');
|
||||||
if (($.inArray(country_code, countries_2_4Ghz_max11ch) !== -1) && (hw_mode !== 'ac') ) {
|
if (($.inArray(country_code, countries_2_4Ghz_max11ch) !== -1) && (hw_mode !== 'ac') ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user