binder: Implement Set enterprise network params
Implement all the enterprise network params setter
binder methods.
The eap method setter needs to have a string lookup to ensure
that the device supports the corresponding EAP type.
While there,
Add helper functions to set string/byte array fields in |wpa_ssid|
structure and refactor existing binder calls.
BUG: 1252274
Change-Id: Id669eb7aecda23a3636248ce9c4772b33ab34aa5
TEST: Ran existing tests.
TEST: Adding tests under |wpa_supplicant_binder_test|.
2 files changed