1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<html xmlns:v> 4<head> 5<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> 6<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 7<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> 8<meta HTTP-EQUIV="Expires" CONTENT="-1"> 9<link rel="shortcut icon" href="images/favicon.png"> 10<link rel="icon" href="images/favicon.png"> 11 12<title><#Web_Title#> - <#menu5_1_1#></title> 13<link rel="stylesheet" type="text/css" href="index_style.css"> 14<link rel="stylesheet" type="text/css" href="form_style.css"> 15<link rel="stylesheet" type="text/css" href="usp_style.css"> 16<link href="other.css" rel="stylesheet" type="text/css"> 17<script type="text/javascript" src="/state.js"></script> 18<script type="text/javascript" src="/help.js"></script> 19<script type="text/javascript" src="/general.js"></script> 20<script type="text/javascript" src="/popup.js"></script> 21<script type="text/javascript" src="/md5.js"></script> 22<script type="text/javascript" src="/validator.js"></script> 23<script><% wl_get_parameter(); %> 24 25wl_channel_list_2g = '<% channel_list_2g(); %>'; 26wl_channel_list_5g = '<% channel_list_5g(); %>'; 27var wl_unit_value = '<% nvram_get("wl_unit"); %>'; 28var wl_subunit_value = '<% nvram_get("wl_subunit"); %>'; 29var wlc_band_value = '<% nvram_get("wlc_band"); %>'; 30var cur_control_channel = [<% wl_control_channel(); %>][0]; 31function initial(){ 32 show_menu(); 33 34 if((sw_mode == 2 || sw_mode == 4) && wl_unit_value == wlc_band_value && wl_subunit_value != '1'){ 35 _change_wl_unit(wl_unit_value); 36 } 37 38 if(band5g_support && band5g_11ac_support && document.form.wl_unit[1].selected == true){ 39 document.getElementById('wl_mode_desc').onclick=function(){return openHint(1, 5)}; 40 }else if(band5g_support && document.form.wl_unit[1].selected == true){ 41 document.getElementById('wl_mode_desc').onclick=function(){return openHint(1, 4)}; 42 } 43 44 if(Qcawifi_support) { 45 //left only Auto and Legacy mode 46 document.form.wl_nmode_x.remove(3); //remove "N/AC Mixed" 47 document.form.wl_nmode_x.remove(1); //remove "N Only" 48 } 49 else 50 if(!(band5g_support && band5g_11ac_support && document.form.wl_unit[1].selected == true)) 51 { 52 document.form.wl_nmode_x.remove(3); //remove "N/AC Mixed" for NON-AC router and NOT in 5G 53 } 54 55 // special case after modifing GuestNetwork 56 if(wl_unit_value == "-1" && wl_subunit_value == "-1"){ 57 change_wl_unit(); 58 } 59 60 if('<% nvram_get("wl_nmode_x"); %>' == "2") 61 inputCtrl(document.form.wl_bw, 0); 62 63 if(wl_unit_value == '1') 64 insertExtChannelOption_5g(); 65 else 66 check_channel_2g(); 67 68 limit_auth_method(); 69 wl_auth_mode_change(1); 70 //mbss_display_ctrl(); 71 72 if(optimizeXbox_support){ 73 document.getElementById("wl_optimizexbox_span").style.display = ""; 74 document.form.wl_optimizexbox_ckb.checked = ('<% nvram_get("wl_optimizexbox"); %>' == 1) ? true : false; 75 } 76 77 document.form.wl_ssid.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_ssid"); %>'); 78 document.form.wl_wpa_psk.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_wpa_psk"); %>'); 79 document.form.wl_key1.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_key1"); %>'); 80 document.form.wl_key2.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_key2"); %>'); 81 document.form.wl_key3.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_key3"); %>'); 82 document.form.wl_key4.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_key4"); %>'); 83 document.form.wl_phrase_x.value = decodeURIComponent('<% nvram_char_to_ascii("", "wl_phrase_x"); %>'); 84 document.form.wl_channel.value = document.form.wl_channel_orig.value; 85 86 if(document.form.wl_wpa_psk.value.length <= 0) 87 document.form.wl_wpa_psk.value = "<#wireless_psk_fillin#>"; 88 89 if(document.form.wl_unit[0].selected == true) 90 document.getElementById("wl_gmode_checkbox").style.display = ""; 91 if(document.form.wl_nmode_x.value=='1'){ 92 document.form.wl_gmode_check.checked = false; 93 document.getElementById("wl_gmode_check").disabled = true; 94 } 95 else{ 96 document.form.wl_gmode_check.checked = true; 97 document.getElementById("wl_gmode_check").disabled = false; 98 } 99 if(document.form.wl_gmode_protection.value == "auto") 100 document.form.wl_gmode_check.checked = true; 101 else 102 document.form.wl_gmode_check.checked = false; 103 104 if(!band5g_support) 105 document.getElementById("wl_unit_field").style.display = "none"; 106 107 handle_11ac_80MHz(); 108 109 if(sw_mode == 2 || sw_mode == 4) 110 document.form.wl_subunit.value = (wl_unit_value == wlc_band_value) ? 1 : -1; 111 112 document.getElementById('WPS_hideSSID_hint').innerHTML = "<#WPS_hideSSID_hint#>"; 113 if("<% nvram_get("wl_closed"); %>" == 1){ 114 document.getElementById('WPS_hideSSID_hint').style.display = ""; 115 } 116 117 if(!Rawifi_support && !Qcawifi_support && document.form.wl_channel.value == '0'){ 118 document.getElementById("auto_channel").style.display = ""; 119 document.getElementById("auto_channel").innerHTML = "Current control channel: "+cur_control_channel[wl_unit_value]; 120 } 121} 122 123function check_channel_2g(){ 124 var wmode = document.form.wl_nmode_x.value; 125 var CurrentCh = document.form.wl_channel_orig.value; 126 if(is_high_power && auto_channel == 1){ 127 CurrentCh = document.form.wl_channel_orig.value = 0; 128 } 129 130 wl_channel_list_2g = eval('<% channel_list_2g(); %>'); 131 if(wl_channel_list_2g[0] != "<#Auto#>") 132 wl_channel_list_2g.splice(0,0,"0"); 133 134 var ch_v2 = new Array(); 135 for(var i=0; i<wl_channel_list_2g.length; i++){ 136 ch_v2[i] = wl_channel_list_2g[i]; 137 } 138 139 if(ch_v2[0] == "0") 140 wl_channel_list_2g[0] = "<#Auto#>"; 141 142 add_options_x2(document.form.wl_channel, wl_channel_list_2g, ch_v2, CurrentCh); 143 var option_length = document.form.wl_channel.options.length; 144 if ((wmode == "0"||wmode == "1") && document.form.wl_bw.value != "0"){ 145 inputCtrl(document.form.wl_nctrlsb, 1); 146 var x = document.form.wl_nctrlsb; 147 var length = document.form.wl_nctrlsb.options.length; 148 if (length > 1){ 149 x.selectedIndex = 1; 150 x.remove(x.selectedIndex); 151 } 152 153 if ((CurrentCh >=1) && (CurrentCh <= 4)){ 154 x.options[0].text = "Above"; 155 x.options[0].value = "lower"; 156 } 157 else if ((CurrentCh >= 5) && (CurrentCh <= 7)){ 158 x.options[0].text = "Above"; 159 x.options[0].value = "lower"; 160 add_option(document.form.wl_nctrlsb, "Below", "upper"); 161 if (document.form.wl_nctrlsb_old.value == "upper") 162 document.form.wl_nctrlsb.options.selectedIndex=1; 163 164 if(is_high_power && CurrentCh == 5) // for high power model, Jieming added at 2013/08/19 165 document.form.wl_nctrlsb.remove(1); 166 else if(is_high_power && CurrentCh == 7) 167 document.form.wl_nctrlsb.remove(0); 168 } 169 else if ((CurrentCh >= 8) && (CurrentCh <= 10)){ 170 x.options[0].text = "Below"; 171 x.options[0].value = "upper"; 172 if (option_length >=14){ 173 add_option(document.form.wl_nctrlsb, "Above", "lower"); 174 if (document.form.wl_nctrlsb_old.value == "lower") 175 document.form.wl_nctrlsb.options.selectedIndex=1; 176 } 177 } 178 else if (CurrentCh >= 11){ 179 x.options[0].text = "Below"; 180 x.options[0].value = "upper"; 181 } 182 else{ 183 x.options[0].text = "<#Auto#>"; 184 x.options[0].value = "1"; 185 } 186 } 187 else 188 inputCtrl(document.form.wl_nctrlsb, 0); 189} 190 191function mbss_display_ctrl(){ 192 // generate options 193 if(multissid_support){ 194 for(var i=1; i<multissid_support+1; i++) 195 add_options_value(document.form.wl_subunit, i, wl_subunit_value); 196 } 197 else 198 document.getElementById("wl_subunit_field").style.display = "none"; 199 200 if(document.form.wl_subunit.value != 0){ 201 document.getElementById("wl_bw_field").style.display = "none"; 202 document.getElementById("wl_channel_field").style.display = "none"; 203 document.getElementById("wl_nctrlsb_field").style.display = "none"; 204 } 205 else 206 document.getElementById("wl_bss_enabled_field").style.display = "none"; 207} 208 209function add_options_value(o, arr, orig){ 210 if(orig == arr) 211 add_option(o, "mbss_"+arr, arr, 1); 212 else 213 add_option(o, "mbss_"+arr, arr, 0); 214} 215 216function applyRule(){ 217 var auth_mode = document.form.wl_auth_mode_x.value; 218 219 if(document.form.wl_wpa_psk.value == "<#wireless_psk_fillin#>") 220 document.form.wl_wpa_psk.value = ""; 221 222 if(validForm()){ 223 if(document.form.wl_closed[0].checked && document.form.wps_enable.value == 1){ 224 if(confirm("<#wireless_JS_Hide_SSID#>")){ 225 document.form.wps_enable.value = "0"; 226 } 227 else{ 228 return false; 229 } 230 } 231 232 if(document.form.wps_enable.value == 1){ //disable WPS if choose WEP or WPA/TKIP Encryption 233 if(wps_multiband_support && (document.form.wps_multiband.value == 1 || document.form.wps_band.value == wl_unit_value)){ //Ralink, Qualcomm Atheros 234 if(document.form.wl_auth_mode_x.value == "open" && document.form.wl_wep_x.value == "0"){ 235 if(!confirm("<#wireless_JS_WPS_open#>")) 236 return false; 237 } 238 239 if( document.form.wl_auth_mode_x.value == "shared" 240 || document.form.wl_auth_mode_x.value == "psk" || document.form.wl_auth_mode_x.value == "wpa" 241 || document.form.wl_auth_mode_x.value == "open" && (document.form.wl_wep_x.value == "1" || document.form.wl_wep_x.value == "2")){ //open wep case 242 if(confirm("<#wireless_JS_disable_WPS#>")){ 243 document.form.wps_enable.value = "0"; 244 } 245 else{ 246 return false; 247 } 248 } 249 } 250 else{ //Broadcom 251 if(document.form.wl_auth_mode_x.value == "open" && document.form.wl_wep_x.value == "0"){ 252 if(!confirm("<#wireless_JS_WPS_open#>")) 253 return false; 254 } 255 256 if( document.form.wl_auth_mode_x.value == "shared" 257 || document.form.wl_auth_mode_x.value == "psk" || document.form.wl_auth_mode_x.value == "wpa" 258 || document.form.wl_auth_mode_x.value == "open" && (document.form.wl_wep_x.value == "1" || document.form.wl_wep_x.value == "2")){ //open wep case 259 if(confirm("<#wireless_JS_disable_WPS#>")){ 260 document.form.wps_enable.value = "0"; 261 } 262 else{ 263 return false; 264 } 265 } 266 } 267 } 268 269 showLoading(); 270 document.form.wps_config_state.value = "1"; 271 if((auth_mode == "shared" || auth_mode == "wpa" || auth_mode == "wpa2" || auth_mode == "wpawpa2" || auth_mode == "radius" || 272 ((auth_mode == "open") && !(document.form.wl_wep_x.value == "0"))) 273 && document.form.wps_mode.value == "enabled") 274 document.form.wps_mode.value = "disabled"; 275 276 if(auth_mode == "wpa" || auth_mode == "wpa2" || auth_mode == "wpawpa2" || auth_mode == "radius") 277 document.form.next_page.value = "/Advanced_WSecurity_Content.asp"; 278 279 if(document.form.wl_nmode_x.value == "1" && wl_unit_value == "0") 280 document.form.wl_gmode_protection.value = "off"; 281 282 /* Viz 2012.08.15 seems ineeded 283 inputCtrl(document.form.wl_crypto, 1); 284 inputCtrl(document.form.wl_wpa_psk, 1); 285 inputCtrl(document.form.wl_wep_x, 1); 286 inputCtrl(document.form.wl_key, 1); 287 inputCtrl(document.form.wl_key1, 1); 288 inputCtrl(document.form.wl_key2, 1); 289 inputCtrl(document.form.wl_key3, 1); 290 inputCtrl(document.form.wl_key4, 1); 291 inputCtrl(document.form.wl_phrase_x, 1); 292 inputCtrl(document.form.wl_wpa_gtk_rekey, 1);*/ 293 294 if(sw_mode == 2 || sw_mode == 4) 295 document.form.action_wait.value = "5"; 296 297 document.form.submit(); 298 } 299} 300 301function validForm(){ 302 var auth_mode = document.form.wl_auth_mode_x.value; 303 304 if(!validator.stringSSID(document.form.wl_ssid)) 305 return false; 306 307 if(!check_NOnly_to_GN()){ 308 autoFocus('wl_nmode_x'); 309 return false; 310 } 311 312 if(document.form.wl_wep_x.value != "0") 313 if(!validate_wlphrase('WLANConfig11b', 'wl_phrase_x', document.form.wl_phrase_x)) 314 return false; 315 if(auth_mode == "psk" || auth_mode == "psk2" || auth_mode == "pskpsk2"){ //2008.08.04 lock modified 316 if(is_KR_sku){ 317 if(!validator.psk_KR(document.form.wl_wpa_psk)) 318 return false; 319 } 320 else{ 321 if(!validator.psk(document.form.wl_wpa_psk)) 322 return false; 323 } 324 325 //confirm common string combination #JS_common_passwd# 326 var is_common_string = check_common_string(document.form.wl_wpa_psk.value, "wpa_key"); 327 if(is_common_string){ 328 if(confirm("<#JS_common_passwd#>")){ 329 document.form.wl_wpa_psk.focus(); 330 document.form.wl_wpa_psk.select(); 331 return false; 332 } 333 } 334 335 if(!validator.range(document.form.wl_wpa_gtk_rekey, 0, 2592000)) 336 return false; 337 } 338 else if(auth_mode == "wpa" || auth_mode == "wpa2" || auth_mode == "wpawpa2"){ 339 if(!validator.range(document.form.wl_wpa_gtk_rekey, 0, 2592000)) 340 return false; 341 } 342 else{ 343 var cur_wep_key = eval('document.form.wl_key'+document.form.wl_key.value); 344 if(auth_mode != "radius" && !validator.wlKey(cur_wep_key)) 345 return false; 346 } 347 return true; 348} 349 350function done_validating(action){ 351 refreshpage(); 352} 353 354function validate_wlphrase(s, v, obj){ 355 if(!validator.string(obj)){ 356 is_wlphrase(s, v, obj); 357 return(false); 358 } 359 return true; 360} 361 362function disableAdvFn(){ 363 for(var i=18; i>=3; i--) 364 document.getElementById("WLgeneral").deleteRow(i); 365} 366 367function _change_wl_unit(val){ 368 if((sw_mode == 2 || sw_mode == 4) && val == wlc_band_value) 369 document.form.wl_subunit.value = 1; 370 else 371 document.form.wl_subunit.value = -1; 372 change_wl_unit(); 373} 374 375function clean_input(obj){ 376 if(obj.value == "<#wireless_psk_fillin#>") 377 obj.value = ""; 378} 379 380function check_NOnly_to_GN(){ 381 //var gn_array_2g = [["1", "ASUS_Guest1", "psk", "tkip", "1234567890", "0", "1", "", "", "", "", "0", "off", "0"], ["1", "ASUS_Guest2", "shared", "aes", "", "1", "1", "55555", "", "", "", "0", "off", "0"], ["1", "ASUS_Guest3", "open", "aes", "", "2", "4", "", "", "", "1234567890123", "0", "off", "0"]]; 382 // Y/N mssid auth asyn wpa_psk wl_wep_x wl_key k1 k2 k3 k4 383 //var gn_array_5g = [["1", "ASUS_5G_Guest1", "open", "aes", "", "0", "1", "", "", "", "", "0", "off", "0"], ["0", "ASUS_5G_Guest2", "open", "aes", "", "0", "1", "", "", "", "", "0", "off", ""], ["0", "ASUS_5G_Guest3", "open", "aes", "", "0", "1", "", "", "", "", "0", "off", ""]]; 384 // Viz add 2012.11.05 restriction for 'N Only' mode ( start 385 if(document.form.wl_nmode_x.value == "0" || document.form.wl_nmode_x.value == "1"){ 386 if(wl_unit_value == "1"){ //5G 387 for(var i=0;i<gn_array_5g.length;i++){ 388 if(gn_array_5g[i][0] == "1" && (gn_array_5g[i][3] == "tkip" || gn_array_5g[i][5] == "1" || gn_array_5g[i][5] == "2")){ 389 if(document.form.wl_nmode_x.value == "0") 390 document.getElementById('wl_NOnly_note').innerHTML = '<br>* <#WLANConfig11n_Auto_note#>'; 391 else{ 392 document.getElementById('wl_NOnly_note').innerHTML = '<br>* <#WLANConfig11n_NOnly_note#>'; 393 } 394 395 document.getElementById('wl_NOnly_note').style.display = ""; 396 return false; 397 } 398 } 399 } 400 else if(wl_unit_value == "0"){ //2.4G 401 for(var i=0;i<gn_array_2g.length;i++){ 402 if(gn_array_2g[i][0] == "1" && (gn_array_2g[i][3] == "tkip" || gn_array_2g[i][5] == "1" || gn_array_2g[i][5] == "2")){ 403 if(document.form.wl_nmode_x.value == "0") 404 document.getElementById('wl_NOnly_note').innerHTML = '<br>* <#WLANConfig11n_Auto_note#>'; 405 else 406 document.getElementById('wl_NOnly_note').innerHTML = '<br>* <#WLANConfig11n_NOnly_note#>'; 407 408 document.getElementById('wl_NOnly_note').style.display = ""; 409 return false; 410 } 411 } 412 } 413 } 414 document.getElementById('wl_NOnly_note').style.display = "none"; 415 return true; 416// Viz add 2012.11.05 restriction for 'N Only' mode ) end 417} 418 419function high_power_auto_channel(){ 420 if(is_high_power){ 421 if(document.form.wl_channel.value == 1){ 422 if(confirm("<#WLANConfig11b_Channel_HighPower_desc1#>")){ 423 document.form.wl_channel.value = 2; 424 } 425 else if(!(confirm("<#WLANConfig11b_Channel_HighPower_desc2#>"))){ 426 document.form.wl_channel.value = 2; 427 } 428 } 429 else if(document.form.wl_channel.value == 11){ 430 if(confirm("<#WLANConfig11b_Channel_HighPower_desc3#>")){ 431 document.form.wl_channel.value = 10; 432 } 433 else if(!(confirm("<#WLANConfig11b_Channel_HighPower_desc4#>"))){ 434 document.form.wl_channel.value = 10; 435 } 436 } 437 438 if(document.form.wl_channel.value == 0) 439 document.form.AUTO_CHANNEL.value = 1; 440 else 441 document.form.AUTO_CHANNEL.value = 0; 442 } 443} 444</script> 445</head> 446 447<body onload="initial();" onunLoad="return unload_body();"> 448<div id="TopBanner"></div> 449 450<div id="Loading" class="popup_bg"></div> 451<div id="hiddenMask" class="popup_bg"> 452 <table cellpadding="4" cellspacing="0" id="dr_sweet_advise" class="dr_sweet_advise" align="center"> 453 <tr> 454 <td> 455 <div class="drword" id="drword"><#Main_alert_proceeding_desc4#> <#Main_alert_proceeding_desc1#>... 456 <br/> 457 <div id="disconnect_hint" style="display:none;"><#Main_alert_proceeding_desc2#></div> 458 <br/> 459 </div> 460 <div id="wireless_client_detect" style="margin-left:10px;position:absolute;display:none;width:400px;"> 461 <img src="images/loading.gif"> 462 <div style="margin:-55px 0 0 75px;"><#QKSet_Internet_Setup_fail_method1#></div> 463 </div> 464 <div class="drImg"><img src="images/alertImg.png"></div> 465 <div style="height:100px; "></div> 466 </td> 467 </tr> 468 </table> 469<!--[if lte IE 6.5]><iframe class="hackiframe"></iframe><![endif]--> 470</div> 471 472<iframe name="hidden_frame" id="hidden_frame" width="0" height="0" frameborder="0"></iframe> 473<form method="post" name="form" action="/start_apply2.htm" target="hidden_frame"> 474<input type="hidden" name="productid" value="<% nvram_get("productid"); %>"> 475 476 477<input type="hidden" name="current_page" value="Advanced_Wireless_Content.asp"> 478<input type="hidden" name="next_page" value="Advanced_Wireless_Content.asp"> 479<input type="hidden" name="modified" value="0"> 480<input type="hidden" name="action_mode" value="apply_new"> 481<input type="hidden" name="action_script" value="restart_wireless"> 482<input type="hidden" name="action_wait" value="5"> 483<input type="hidden" name="preferred_lang" id="preferred_lang" value="<% nvram_get("preferred_lang"); %>"> 484<input type="hidden" name="wl_country_code" value="<% nvram_get("wl0_country_code"); %>" disabled> 485<input type="hidden" name="firmver" value="<% nvram_get("firmver"); %>"> 486<input type="hidden" name="wps_mode" value="<% nvram_get("wps_mode"); %>"> 487<input type="hidden" name="wps_config_state" value="<% nvram_get("wps_config_state"); %>"> 488<input type="hidden" name="wl_wpa_psk_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_wpa_psk"); %>"> 489<input type="hidden" name="wl_key1_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_key1"); %>"> 490<input type="hidden" name="wl_key2_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_key2"); %>"> 491<input type="hidden" name="wl_key3_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_key3"); %>"> 492<input type="hidden" name="wl_key4_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_key4"); %>"> 493<input type="hidden" name="wl_phrase_x_org" value="<% nvram_char_to_ascii("WLANConfig11b", "wl_phrase_x"); %>"> 494<input type="hidden" maxlength="15" size="15" name="x_RegulatoryDomain" value="<% nvram_get("x_RegulatoryDomain"); %>" readonly="1"> 495<input type="hidden" name="wl_gmode_protection" value="<% nvram_get("wl_gmode_protection"); %>"> 496<input type="hidden" name="wl_wme" value="<% nvram_get("wl_wme"); %>"> 497<input type="hidden" name="wl_mode_x" value="<% nvram_get("wl_mode_x"); %>"> 498<input type="hidden" name="wl_nmode" value="<% nvram_get("wl_nmode"); %>"> 499<input type="hidden" name="wl_nctrlsb_old" value="<% nvram_get("wl_nctrlsb"); %>"> 500<input type="hidden" name="wl_key_type" value='<% nvram_get("wl_key_type"); %>'> <!--Lock Add 2009.03.10 for ralink platform--> 501<input type="hidden" name="wl_channel_orig" value='<% nvram_get("wl_channel"); %>'> 502<input type="hidden" name="AUTO_CHANNEL" value='<% nvram_get("AUTO_CHANNEL"); %>'> 503<input type="hidden" name="wl_wep_x_orig" value='<% nvram_get("wl_wep_x"); %>'> 504<input type="hidden" name="wl_optimizexbox" value='<% nvram_get("wl_optimizexbox"); %>'> 505<input type="hidden" name="wl_subunit" value='-1'> 506<input type="hidden" name="wps_enable" value="<% nvram_get("wps_enable"); %>"> 507<input type="hidden" name="wps_band" value="<% nvram_get("wps_band"); %>" disabled> 508<input type="hidden" name="wps_multiband" value="<% nvram_get("wps_multiband"); %>" disabled> 509<input type="hidden" name="w_Setting" value="1"> 510 511<table class="content" align="center" cellpadding="0" cellspacing="0"> 512 <tr> 513 <td width="17"> </td> 514 515 <!--=====Beginning of Main Menu=====--> 516 <td valign="top" width="202"> 517 <div id="mainMenu"></div> 518 <div id="subMenu"></div> 519 </td> 520 521 <td valign="top"> 522 <div id="tabMenu" class="submenuBlock"></div> 523 524<!--===================================Beginning of Main Content===========================================--> 525<table width="98%" border="0" align="left" cellpadding="0" cellspacing="0"> 526 <tr> 527 <td align="left" valign="top" > 528 <table width="760px" border="0" cellpadding="4" cellspacing="0" class="FormTitle" id="FormTitle"> 529 <tbody> 530 <tr> 531 <td bgcolor="#4D595D" valign="top"> 532 <div> </div> 533 <div class="formfonttitle"><#menu5_1#> - <#menu5_1_1#></div> 534 <div style="margin-left:5px;margin-top:10px;margin-bottom:10px"><img src="/images/New_ui/export/line_export.png"></div> 535 <div class="formfontdesc"><#adv_wl_desc#></div> 536 537 <table width="99%" border="1" align="center" cellpadding="4" cellspacing="0" id="WLgeneral" class="FormTable"> 538 539 <tr id="wl_unit_field"> 540 <th><#Interface#></th> 541 <td> 542 <select name="wl_unit" class="input_option" onChange="_change_wl_unit(this.value);"> 543 <option class="content_input_fd" value="0" <% nvram_match("wl_unit", "0","selected"); %>>2.4GHz</option> 544 <option class="content_input_fd" value="1" <% nvram_match("wl_unit", "1","selected"); %>>5GHz</option> 545 </select> 546 </td> 547 </tr> 548 549 <!--tr id="wl_subunit_field" style="display:none"> 550 <th>Multiple SSID index</th> 551 <td> 552 <select name="wl_subunit" class="input_option" onChange="change_wl_unit();"> 553 <option class="content_input_fd" value="0" <% nvram_match("wl_subunit", "0","selected"); %>>Primary</option> 554 </select> 555 <select id="wl_bss_enabled_field" name="wl_bss_enabled" class="input_option" onChange="mbss_switch();"> 556 <option class="content_input_fd" value="0" <% nvram_match("wl_bss_enabled", "0","selected"); %>><#WLANConfig11b_WirelessCtrl_buttonname#></option> 557 <option class="content_input_fd" value="1" <% nvram_match("wl_bss_enabled", "1","selected"); %>><#WLANConfig11b_WirelessCtrl_button1name#></option> 558 </select> 559 </td> 560 </tr--> 561 562 <tr> 563 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 1);"><#QIS_finish_wireless_item1#></a></th> 564 <td> 565 <input type="text" maxlength="32" class="input_32_table" id="wl_ssid" name="wl_ssid" value="<% nvram_get("wl_ssid"); %>" onkeypress="return validator.isString(this, event)" autocorrect="off" autocapitalize="off"> 566 </td> 567 </tr> 568 569 <tr> 570 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 2);"><#WLANConfig11b_x_BlockBCSSID_itemname#></a></th> 571 <td> 572 <input type="radio" value="1" name="wl_closed" class="input" onClick="return change_common_radio(this, 'WLANConfig11b', 'wl_closed', '1')" <% nvram_match("wl_closed", "1", "checked"); %>><#checkbox_Yes#> 573 <input type="radio" value="0" name="wl_closed" class="input" onClick="return change_common_radio(this, 'WLANConfig11b', 'wl_closed', '0')" <% nvram_match("wl_closed", "0", "checked"); %>><#checkbox_No#> 574 <span id="WPS_hideSSID_hint" style="display:none;"></span> 575 </td> 576 </tr> 577 578 <tr> 579 <th><a id="wl_mode_desc" class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 4);"><#WLANConfig11b_x_Mode_itemname#></a></th> 580 <td> 581 <select name="wl_nmode_x" class="input_option" onChange="wireless_mode_change(this);"> 582 <option value="0" <% nvram_match("wl_nmode_x", "0","selected"); %>><#Auto#></option> 583 <option value="1" <% nvram_match("wl_nmode_x", "1","selected"); %>>N Only</option> 584 <option value="2" <% nvram_match("wl_nmode_x", "2","selected"); %>>Legacy</option> 585 <option value="8" <% nvram_match("wl_nmode_x", "8","selected"); %>>N/AC Mixed</option> 586 </select> 587 <span id="wl_optimizexbox_span" style="display:none"><input type="checkbox" name="wl_optimizexbox_ckb" id="wl_optimizexbox_ckb" value="<% nvram_get("wl_optimizexbox"); %>" onclick="document.form.wl_optimizexbox.value=(this.checked==true)?1:0;"> <#WLANConfig11b_x_Mode_xbox#></input></span> 588 <span id="wl_gmode_checkbox" style="display:none;"><input type="checkbox" name="wl_gmode_check" id="wl_gmode_check" value="" onClick="wl_gmode_protection_check();"> <#WLANConfig11b_x_Mode_protectbg#></input></span> 589 <span id="wl_nmode_x_hint" style="display:none;"><br><#WLANConfig11n_automode_limition_hint#><br></span> 590 <span id="wl_NOnly_note" style="display:none;"></span> 591 <!-- [N only] is not compatible with current guest network authentication method(TKIP or WEP), Please go to <a id="gn_link" href="/Guest_network.asp?af=wl_NOnly_note" target="_blank" style="color:#FFCC00;font-family:Lucida Console;text-decoration:underline;">guest network</a> and change the authentication method. --> 592 </td> 593 </tr> 594 595 <tr id="wl_bw_field"> 596 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 14);"><#WLANConfig11b_ChannelBW_itemname#></a></th> 597 <td> 598 <select name="wl_bw" class="input_option" onChange="insertExtChannelOption();"> 599 <option class="content_input_fd" value="1" <% nvram_match("wl_bw", "1","selected"); %>>20/40/80 MHz</option> 600 <option class="content_input_fd" value="0" <% nvram_match("wl_bw", "0","selected"); %>>20 MHz</option> 601 <option class="content_input_fd" value="2" <% nvram_match("wl_bw", "2","selected"); %>>40 MHz</option> 602 <option class="content_input_fd" value="3" <% nvram_match("wl_bw", "3","selected"); %>>80 MHz</option> 603 </select> 604 </td> 605 </tr> 606 607 <tr id="wl_channel_field"> 608 <th><a id="wl_channel_select" class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 3);"><#WLANConfig11b_Channel_itemname#></a></th> 609 <td> 610 <select name="wl_channel" class="input_option" onChange="high_power_auto_channel();insertExtChannelOption();"></select> 611 <span id="auto_channel" style="display:none;margin-left:10px;"></span><br> 612 </td> 613 </tr> 614 615 <tr id="wl_nctrlsb_field"> 616 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 15);"><#WLANConfig11b_EChannel_itemname#></a></th> 617 <td> 618 <select name="wl_nctrlsb" class="input_option"> 619 <option value="lower" <% nvram_match("wl_nctrlsb", "lower", "selected"); %>>lower</option> 620 <option value="upper"<% nvram_match("wl_nctrlsb", "upper", "selected"); %>>upper</option> 621 </select> 622 </td> 623 </tr> 624 625 <tr> 626 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 5);"><#WLANConfig11b_AuthenticationMethod_itemname#></a></th> 627 <td> 628 <select name="wl_auth_mode_x" class="input_option" onChange="authentication_method_change(this);"> 629 <option value="open" <% nvram_match("wl_auth_mode_x", "open", "selected"); %>>Open System</option> 630 <option value="shared" <% nvram_match("wl_auth_mode_x", "shared", "selected"); %>>Shared Key</option> 631 <option value="psk" <% nvram_match("wl_auth_mode_x", "psk", "selected"); %>>WPA-Personal</option> 632 <option value="psk2" <% nvram_match("wl_auth_mode_x", "psk2", "selected"); %>>WPA2-Personal</option> 633 <option value="pskpsk2" <% nvram_match("wl_auth_mode_x", "pskpsk2","selected"); %>>WPA-Auto-Personal</option> 634 <option value="wpa" <% nvram_match("wl_auth_mode_x", "wpa", "selected"); %>>WPA-Enterprise</option> 635 <option value="wpa2" <% nvram_match("wl_auth_mode_x", "wpa2", "selected"); %>>WPA2-Enterprise</option> 636 <option value="wpawpa2" <% nvram_match("wl_auth_mode_x", "wpawpa2","selected"); %>>WPA-Auto-Enterprise</option> 637 <option value="radius" <% nvram_match("wl_auth_mode_x", "radius", "selected"); %>>Radius with 802.1x</option> 638 </select> 639 </td> 640 </tr> 641 642 <tr> 643 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 6);"><#WLANConfig11b_WPAType_itemname#></a></th> 644 <td> 645 <select name="wl_crypto" class="input_option"> 646 <option value="aes" <% nvram_match("wl_crypto", "aes", "selected"); %>>AES</option> 647 <option value="tkip+aes" <% nvram_match("wl_crypto", "tkip+aes", "selected"); %>>TKIP+AES</option> 648 </select> 649 </td> 650 </tr> 651 652 <tr> 653 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 7);"><#WLANConfig11b_x_PSKKey_itemname#></a></th> 654 <td> 655 <input type="text" name="wl_wpa_psk" maxlength="64" class="input_32_table" value="<% nvram_get("wl_wpa_psk"); %>" onClick="clean_input(this)" autocorrect="off" autocapitalize="off"> 656 </td> 657 </tr> 658 659 <tr> 660 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 9);"><#WLANConfig11b_WEPType_itemname#></a></th> 661 <td> 662 <select name="wl_wep_x" class="input_option" onChange="wep_encryption_change(this);"> 663 <option value="0" <% nvram_match("wl_wep_x", "0", "selected"); %>><#wl_securitylevel_0#></option> 664 <option value="1" <% nvram_match("wl_wep_x", "1", "selected"); %>>WEP-64bits</option> 665 <option value="2" <% nvram_match("wl_wep_x", "2", "selected"); %>>WEP-128bits</option> 666 </select> 667 <span name="key_des"></span> 668 </td> 669 </tr> 670 671 <tr> 672 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 10);"><#WLANConfig11b_WEPDefaultKey_itemname#></a></th> 673 <td> 674 <select name="wl_key" class="input_option" onChange="wep_key_index_change(this);"> 675 <option value="1" <% nvram_match("wl_key", "1","selected"); %>>1</option> 676 <option value="2" <% nvram_match("wl_key", "2","selected"); %>>2</option> 677 <option value="3" <% nvram_match("wl_key", "3","selected"); %>>3</option> 678 <option value="4" <% nvram_match("wl_key", "4","selected"); %>>4</option> 679 </select> 680 </td> 681 </tr> 682 683 <tr> 684 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 18);"><#WLANConfig11b_WEPKey1_itemname#></th> 685 <td><input type="text" name="wl_key1" id="wl_key1" maxlength="27" class="input_25_table" value="<% nvram_get("wl_key1"); %>" onKeyUp="return change_wlkey(this, 'WLANConfig11b');" autocorrect="off" autocapitalize="off"></td> 686 </tr> 687 688 <tr> 689 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 18);"><#WLANConfig11b_WEPKey2_itemname#></th> 690 <td><input type="text" name="wl_key2" id="wl_key2" maxlength="27" class="input_25_table" value="<% nvram_get("wl_key2"); %>" onKeyUp="return change_wlkey(this, 'WLANConfig11b');" autocorrect="off" autocapitalize="off"></td> 691 </tr> 692 693 <tr> 694 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 18);"><#WLANConfig11b_WEPKey3_itemname#></th> 695 <td><input type="text" name="wl_key3" id="wl_key3" maxlength="27" class="input_25_table" value="<% nvram_get("wl_key3"); %>" onKeyUp="return change_wlkey(this, 'WLANConfig11b');" autocorrect="off" autocapitalize="off"></td> 696 </tr> 697 698 <tr> 699 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 18);"><#WLANConfig11b_WEPKey4_itemname#></th> 700 <td><input type="text" name="wl_key4" id="wl_key4" maxlength="27" class="input_25_table" value="<% nvram_get("wl_key4"); %>" onKeyUp="return change_wlkey(this, 'WLANConfig11b');" autocorrect="off" autocapitalize="off"></td> 701 </tr> 702 703 <tr> 704 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 8);"><#WLANConfig11b_x_Phrase_itemname#></a></th> 705 <td> 706 <input type="text" name="wl_phrase_x" maxlength="64" class="input_32_table" value="<% nvram_get("wl_phrase_x"); %>" onKeyUp="return is_wlphrase('WLANConfig11b', 'wl_phrase_x', this);" autocorrect="off" autocapitalize="off"> 707 </td> 708 </tr> 709 710 <tr> 711 <th><a class="hintstyle" href="javascript:void(0);" onClick="openHint(0, 11);"><#WLANConfig11b_x_Rekey_itemname#></a></th> 712 <td><input type="text" maxlength="7" name="wl_wpa_gtk_rekey" class="input_6_table" value="<% nvram_get("wl_wpa_gtk_rekey"); %>" onKeyPress="return validator.isNumber(this,event);" autocorrect="off" autocapitalize="off"></td> 713 </tr> 714 </table> 715 716 <div class="apply_gen"> 717 <input type="button" id="applyButton" class="button_gen" value="<#CTL_apply#>" onclick="applyRule();"> 718 </div> 719 720 </td> 721 </tr> 722 </tbody> 723 724 </table> 725 </td> 726</form> 727</tr> 728</table> 729<!--===================================Ending of Main Content===========================================--> 730 731 </td> 732 733 <td width="10" align="center" valign="top"></td> 734 </tr> 735</table> 736 737<div id="footer"></div> 738</body> 739</html> 740