Adds a Wi-Fi security protocol (one of "wpa" or "rsn") to the allowed list; only protocols in this list will be used when finding and connecting to the Wi-Fi network specified by this connection.
For example, if the protocol list contains only "wpa" but the access point for the SSID specified by this connection only supports WPA2/RSN, the connection cannot be used with the access point.
this | |
proto |
the protocol to add, one of "wpa" or "rsn" |
true if the protocol was new and was added to the allowed protocol list, or false if it was already in the list |