Use the new security type added in WifiConfiguration

Migrate to the new WifiConfiguration security type enums & helper
method to set the security params.

Bug: 124071722
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkRequestTest
Test: act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkSuggestionTest
Test: Will send for full regression tests.
Change-Id: Idb8730aae4b59365dc42073853874060b3c8c953
8 files changed