/* * Generated configuration file, do not edit. * uiGenerator v2.52 * Copyright 2002-2004 Ubicom Inc. . All rights reserved. */ function createDataObjectFromBinaryArray (initial) { if (initial) createDataObject(); var d = data; i = 0; // global, accessed by the s*() functions d.wireless.adaptive_radio=sU(1); d.wireless.auto_channel=sU(1); d.wireless.invisibility=sU(1); d.wireless.phy_mode=sU(1); d.wireless.super_mode=sU(1); d.wireless.tx_rate=sU(1); d.wireless.SSID=sS(32); d.wireless.auth=sU(1); d.wireless.channel=sU(1); d.wireless.keylen=sU(1); d.wireless.radio_control=sU(1); d.wireless.region_id=sU(1); d.wireless.use_key=sU(1); for (var i1=0; i1<4; i1++) { d.wireless.wep_key[i1]=sH(13); } d.wireless.wepon=sU(1); d.wireless.wpa_cipher=sU(1); d.wireless.ieee8021x_reauth_time=sU(2); d.wireless.radius_auth_mac=sU(1); d.wireless.radius_server_address=sX(); d.wireless.radius_server_port=sU(2); d.wireless.radius_shared_secret=sS(64); d.wireless.second_radius_auth_mac=sU(1); d.wireless.second_radius_server_address=sX(); d.wireless.second_radius_server_port=sU(2); d.wireless.second_radius_shared_secret=sS(64); d.wireless.ieee8021x_enabled=sU(1); d.wireless.wpa_enabled=sU(1); d.wireless.wpa_mode=sU(1); d.wireless.wpa_psk=sS(64); d.wireless.wpa_rekey_time=sU(2); } function createBinaryArrayFromDataObject() { byte_array = new Array; // global, accessed by the g*() functions var d = data; gU(d.wireless.adaptive_radio,1); gU(d.wireless.auto_channel,1); gU(d.wireless.invisibility,1); gU(d.wireless.phy_mode,1); gU(d.wireless.super_mode,1); gU(d.wireless.tx_rate,1); gS(d.wireless.SSID,32); gU(d.wireless.auth,1); gU(d.wireless.channel,1); gU(d.wireless.keylen,1); gU(d.wireless.radio_control,1); gU(d.wireless.region_id,1); gU(d.wireless.use_key,1); for (var i1=0; i1<4; i1++) { gH(d.wireless.wep_key[i1],13); } gU(d.wireless.wepon,1); gU(d.wireless.wpa_cipher,1); gU(d.wireless.ieee8021x_reauth_time,2); gU(d.wireless.radius_auth_mac,1); gX(d.wireless.radius_server_address); gU(d.wireless.radius_server_port,2); gS(d.wireless.radius_shared_secret,64); gU(d.wireless.second_radius_auth_mac,1); gX(d.wireless.second_radius_server_address); gU(d.wireless.second_radius_server_port,2); gS(d.wireless.second_radius_shared_secret,64); gU(d.wireless.ieee8021x_enabled,1); gU(d.wireless.wpa_enabled,1); gU(d.wireless.wpa_mode,1); gS(d.wireless.wpa_psk,64); gU(d.wireless.wpa_rekey_time,2); return byte_array; } function naturalizeDataObject() { var d = data; d.wireless.channel=naturalize(d.wireless.channel); d.wireless.region_id=naturalize(d.wireless.region_id); for (var i1=0; i1<4; i1++) { } d.wireless.ieee8021x_reauth_time=naturalize(d.wireless.ieee8021x_reauth_time); d.wireless.radius_server_port=naturalize(d.wireless.radius_server_port); d.wireless.second_radius_server_port=naturalize(d.wireless.second_radius_server_port); d.wireless.wpa_rekey_time=naturalize(d.wireless.wpa_rekey_time); }