Setting Wi-Fi Security
The wln. object supports two types of Wi-Fi security:
•WEP64 and WEP128 — a weak and old form of Wi-Fi protection.
•WPA-PSK and WPA2-PSK — two modern forms of Wi-Fi security (use WPA2 whenever possible).
WEP and WPA security must be set before associating with the selected network or creating own network.